Salome HOME
Moved some functionality to VTKViewer_Utilities.h
[modules/kernel.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 <SALOMEconfig.h>
17 #include CORBA_SERVER_HEADER(SALOMEDS_Attributes)
18
19 #include "SALOMEDS_StudyPropertiesAttribute.hxx"
20 #include "SALOMEDS_GenericAttribute_i.hxx"
21
22 DEFINE_DERIVED_ATTR(AttributeStudyProperties,SALOMEDS_StudyPropertiesAttribute,false);
23
24 class SALOMEDS_AttributeStudyProperties_i: 
25   public virtual POA_SALOMEDS::AttributeStudyProperties,
26   public virtual SALOMEDS_TAttributeStudyProperties_i 
27 {
28   DEFINE_DERIVED_ATTR_METH_DEFAULT(AttributeStudyProperties,SALOMEDS_StudyPropertiesAttribute);
29 public:
30   virtual void SetUserName(const char* theName);
31   virtual char* GetUserName() ;
32   virtual void SetCreationDate(CORBA::Long theMinute, CORBA::Long theHour, CORBA::Long theDay, CORBA::Long theMonth, CORBA::Long theYear);
33   virtual CORBA::Boolean GetCreationDate(CORBA::Long& theMinute, CORBA::Long& theHour, CORBA::Long& theDay, CORBA::Long& theMonth, CORBA::Long& theYear);
34   virtual void SetCreationMode(const char* theMode);
35   virtual char* GetCreationMode();
36   virtual void SetModified(CORBA::Long theModified);
37   virtual CORBA::Boolean IsModified();
38   virtual CORBA::Long GetModified();
39   virtual void SetLocked(CORBA::Boolean theLocked);
40   virtual CORBA::Boolean IsLocked();
41   virtual void SetModification(const char* theName,
42                                CORBA::Long theMinute,
43                                CORBA::Long theHour,
44                                CORBA::Long theDay,
45                                CORBA::Long theMonth,
46                                CORBA::Long theYear);
47   virtual void GetModificationsList(SALOMEDS::StringSeq_out theNames,
48                                     SALOMEDS::LongSeq_out theMinutes,
49                                     SALOMEDS::LongSeq_out theHours,
50                                     SALOMEDS::LongSeq_out theDays,
51                                     SALOMEDS::LongSeq_out theMonths,
52                                     SALOMEDS::LongSeq_out theYears,
53                                     CORBA::Boolean theWithCreator);
54
55   char* Store();
56   void Restore(const char*);
57
58 };
59
60
61 #endif