Salome HOME
NRI : Merge from V1_2.
[modules/yacs.git] / src / SALOMEDS / SALOMEDS_AttributeStudyProperties_i.hxx
1 //  SALOME SALOMEDS : data structure of SALOME and sources of Salome data server 
2 //
3 //  Copyright (C) 2003  CEA/DEN, EDF R&D
4 //
5 //
6 //
7 //  File   : SALOMEDS_AttributeStudyProperties_i.hxx
8 //  Author : Yves FRICAUD
9 //  Module : SALOME
10 //  $Header$
11
12 #ifndef SALOMEDS_AttributeStudyProperties_i_HeaderFile
13 #define SALOMEDS_AttributeStudyProperties_i_HeaderFile
14
15 // IDL headers
16 #include <SALOMEDS_StudyPropertiesAttribute.hxx>
17 #include <SALOMEconfig.h>
18 #include CORBA_SERVER_HEADER(SALOMEDS_Attributes)
19 #include "SALOMEDS_GenericAttribute_i.hxx"
20
21 class SALOMEDS_AttributeStudyProperties_i: public virtual POA_SALOMEDS::AttributeStudyProperties,
22                                            public virtual SALOMEDS_GenericAttribute_i {
23 public:
24   
25   SALOMEDS_AttributeStudyProperties_i(const Handle(SALOMEDS_StudyPropertiesAttribute)& theAttr, CORBA::ORB_ptr orb) 
26   {
27     _myOrb = CORBA::ORB::_duplicate(orb);
28     _myAttr = theAttr;
29   };
30   ~SALOMEDS_AttributeStudyProperties_i() {};
31
32   virtual void SetUserName(const char* theName);
33   virtual char* GetUserName() ;
34   virtual void SetCreationDate(CORBA::Long theMinute, CORBA::Long theHour, CORBA::Long theDay, CORBA::Long theMonth, CORBA::Long theYear);
35   virtual CORBA::Boolean GetCreationDate(CORBA::Long& theMinute, CORBA::Long& theHour, CORBA::Long& theDay, CORBA::Long& theMonth, CORBA::Long& theYear);
36   virtual void SetCreationMode(const char* theMode);
37   virtual char* GetCreationMode();
38   virtual void SetModified(CORBA::Long theModified);
39   virtual CORBA::Boolean IsModified();
40   virtual CORBA::Long GetModified();
41   virtual void SetLocked(CORBA::Boolean theLocked);
42   virtual CORBA::Boolean IsLocked();
43   virtual void SetModification(const char* theName,
44                                CORBA::Long theMinute,
45                                CORBA::Long theHour,
46                                CORBA::Long theDay,
47                                CORBA::Long theMonth,
48                                CORBA::Long theYear);
49   virtual void GetModificationsList(SALOMEDS::StringSeq_out theNames,
50                                     SALOMEDS::LongSeq_out theMinutes,
51                                     SALOMEDS::LongSeq_out theHours,
52                                     SALOMEDS::LongSeq_out theDays,
53                                     SALOMEDS::LongSeq_out theMonths,
54                                     SALOMEDS::LongSeq_out theYears,
55                                     CORBA::Boolean theWithCreator);
56 };
57
58
59 #endif