1 // SALOME SALOMEDS : data structure of SALOME and sources of Salome data server
3 // Copyright (C) 2003 CEA/DEN, EDF R&D
7 // File : SALOMEDS_AttributeStudyProperties_i.hxx
8 // Author : Yves FRICAUD
12 #ifndef SALOMEDS_AttributeStudyProperties_i_HeaderFile
13 #define SALOMEDS_AttributeStudyProperties_i_HeaderFile
16 #include <SALOMEconfig.h>
17 #include CORBA_SERVER_HEADER(SALOMEDS_Attributes)
19 #include "SALOMEDS_StudyPropertiesAttribute.hxx"
20 #include "SALOMEDS_GenericAttribute_i.hxx"
22 DEFINE_DERIVED_ATTR(AttributeStudyProperties,SALOMEDS_StudyPropertiesAttribute,false);
24 class SALOMEDS_AttributeStudyProperties_i:
25 public virtual POA_SALOMEDS::AttributeStudyProperties,
26 public virtual SALOMEDS_TAttributeStudyProperties_i
28 DEFINE_DERIVED_ATTR_METH_DEFAULT(AttributeStudyProperties,SALOMEDS_StudyPropertiesAttribute);
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,
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);
56 void Restore(const char*);