Salome HOME
PR: merge from branch BR_UnitTests tag mergeto_trunk_17oct05
[modules/kernel.git] / src / SALOMEDS / SALOMEDS_AttributeStudyProperties_i.hxx
1 //  File   : SALOMEDS_AttributeStudyProperties_i.hxx
2 //  Author : Sergey RUIN
3 //  Module : SALOME
4
5 #ifndef SALOMEDS_AttributeStudyProperties_i_HeaderFile
6 #define SALOMEDS_AttributeStudyProperties_i_HeaderFile
7
8 // IDL headers
9 #include <SALOMEconfig.h>
10 #include CORBA_SERVER_HEADER(SALOMEDS_Attributes)
11
12 #include "SALOMEDS_GenericAttribute_i.hxx"
13 #include "SALOMEDSImpl_AttributeStudyProperties.hxx"
14
15 class SALOMEDS_AttributeStudyProperties_i: public virtual POA_SALOMEDS::AttributeStudyProperties,
16                                            public virtual SALOMEDS_GenericAttribute_i {
17 public:
18   
19   SALOMEDS_AttributeStudyProperties_i(const Handle(SALOMEDSImpl_AttributeStudyProperties)& theAttr, CORBA::ORB_ptr orb) 
20     :SALOMEDS_GenericAttribute_i(theAttr, orb) {}; 
21
22   ~SALOMEDS_AttributeStudyProperties_i() {};
23
24   virtual void SetUserName(const char* theName);
25   virtual char* GetUserName() ;
26   virtual void SetCreationDate(CORBA::Long theMinute, CORBA::Long theHour, CORBA::Long theDay, CORBA::Long theMonth, CORBA::Long theYear);
27   virtual CORBA::Boolean GetCreationDate(CORBA::Long& theMinute, CORBA::Long& theHour, CORBA::Long& theDay, CORBA::Long& theMonth, CORBA::Long& theYear);
28   virtual void SetCreationMode(const char* theMode);
29   virtual char* GetCreationMode();
30   virtual void SetModified(CORBA::Long theModified);
31   virtual CORBA::Boolean IsModified();
32   virtual CORBA::Long GetModified();
33   virtual void SetLocked(CORBA::Boolean theLocked);
34   virtual CORBA::Boolean IsLocked();
35   virtual void SetModification(const char* theName,
36                                CORBA::Long theMinute,
37                                CORBA::Long theHour,
38                                CORBA::Long theDay,
39                                CORBA::Long theMonth,
40                                CORBA::Long theYear);
41   virtual void GetModificationsList(SALOMEDS::StringSeq_out theNames,
42                                     SALOMEDS::LongSeq_out theMinutes,
43                                     SALOMEDS::LongSeq_out theHours,
44                                     SALOMEDS::LongSeq_out theDays,
45                                     SALOMEDS::LongSeq_out theMonths,
46                                     SALOMEDS::LongSeq_out theYears,
47                                     CORBA::Boolean theWithCreator);
48
49 };
50
51
52 #endif