1 // Copyright (C) 2005 OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
2 // CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS
4 // This library is free software; you can redistribute it and/or
5 // modify it under the terms of the GNU Lesser General Public
6 // License as published by the Free Software Foundation; either
7 // version 2.1 of the License.
9 // This library is distributed in the hope that it will be useful
10 // but WITHOUT ANY WARRANTY; without even the implied warranty of
11 // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
12 // Lesser General Public License for more details.
14 // You should have received a copy of the GNU Lesser General Public
15 // License along with this library; if not, write to the Free Software
16 // Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
18 // See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
20 // File : SALOMEDS_AttributeFlags_i.hxx
21 // Author : Sergey RUIN
25 #ifndef SALOMEDS_AttributeGraphic_i_HeaderFile
26 #define SALOMEDS_AttributeGraphic_i_HeaderFile
31 #include <SALOMEconfig.h>
32 #include CORBA_SERVER_HEADER(SALOMEDS_Attributes)
34 #include "SALOMEDS_GenericAttribute_i.hxx"
35 #include "SALOMEDSImpl_AttributeGraphic.hxx"
38 Class : SALOMEDS_AttributeGraphic_i
39 Description : This class is intended for storing information about
40 graphic representation of objects in dirrent views
43 class SALOMEDS_AttributeGraphic_i: public virtual POA_SALOMEDS::AttributeGraphic,
44 public virtual SALOMEDS_GenericAttribute_i
48 SALOMEDS_AttributeGraphic_i( const Handle(SALOMEDSImpl_AttributeGraphic)& theAttr, CORBA::ORB_ptr orb )
49 :SALOMEDS_GenericAttribute_i(theAttr, orb) {};
51 virtual ~SALOMEDS_AttributeGraphic_i() {};
53 void SetVisibility( CORBA::Long theViewId,
54 CORBA::Boolean theValue );
55 CORBA::Boolean GetVisibility( CORBA::Long theViewId );