Salome HOME
Join modifications from BR_Dev_For_4_0 tag V4_1_1.
[modules/kernel.git] / src / SALOMEDS / SALOMEDS_AttributeStudyProperties_i.hxx
1 // Copyright (C) 2005  OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
2 // CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS
3 // 
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.
8 // 
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.
13 //
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
17 //
18 // See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
19 //
20 //  File   : SALOMEDS_AttributeStudyProperties_i.hxx
21 //  Author : Sergey RUIN
22 //  Module : SALOME
23
24 #ifndef SALOMEDS_AttributeStudyProperties_i_HeaderFile
25 #define SALOMEDS_AttributeStudyProperties_i_HeaderFile
26
27 // IDL headers
28 #include <SALOMEconfig.h>
29 #include CORBA_SERVER_HEADER(SALOMEDS_Attributes)
30
31 #include "SALOMEDS_GenericAttribute_i.hxx"
32 #include "SALOMEDSImpl_AttributeStudyProperties.hxx"
33
34 class SALOMEDS_AttributeStudyProperties_i: public virtual POA_SALOMEDS::AttributeStudyProperties,
35                                            public virtual SALOMEDS_GenericAttribute_i {
36 public:
37   
38   SALOMEDS_AttributeStudyProperties_i(SALOMEDSImpl_AttributeStudyProperties* theAttr, CORBA::ORB_ptr orb) 
39     :SALOMEDS_GenericAttribute_i(theAttr, orb) {}; 
40
41   ~SALOMEDS_AttributeStudyProperties_i() {};
42
43   virtual void SetUserName(const char* theName);
44   virtual char* GetUserName() ;
45   virtual void SetCreationDate(CORBA::Long theMinute, CORBA::Long theHour, CORBA::Long theDay, CORBA::Long theMonth, CORBA::Long theYear);
46   virtual CORBA::Boolean GetCreationDate(CORBA::Long& theMinute, CORBA::Long& theHour, CORBA::Long& theDay, CORBA::Long& theMonth, CORBA::Long& theYear);
47   virtual void SetCreationMode(const char* theMode);
48   virtual char* GetCreationMode();
49   virtual void SetModified(CORBA::Long theModified);
50   virtual CORBA::Boolean IsModified();
51   virtual CORBA::Long GetModified();
52   virtual void SetLocked(CORBA::Boolean theLocked);
53   virtual CORBA::Boolean IsLocked();
54   virtual void SetModification(const char* theName,
55                                CORBA::Long theMinute,
56                                CORBA::Long theHour,
57                                CORBA::Long theDay,
58                                CORBA::Long theMonth,
59                                CORBA::Long theYear);
60   virtual void GetModificationsList(SALOMEDS::StringSeq_out theNames,
61                                     SALOMEDS::LongSeq_out theMinutes,
62                                     SALOMEDS::LongSeq_out theHours,
63                                     SALOMEDS::LongSeq_out theDays,
64                                     SALOMEDS::LongSeq_out theMonths,
65                                     SALOMEDS::LongSeq_out theYears,
66                                     CORBA::Boolean theWithCreator);
67
68 };
69
70
71 #endif