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 <SALOMEDS_StudyPropertiesAttribute.hxx>
17 #include <SALOMEconfig.h>
18 #include CORBA_SERVER_HEADER(SALOMEDS_Attributes)
19 #include "SALOMEDS_GenericAttribute_i.hxx"
21 class SALOMEDS_AttributeStudyProperties_i: public virtual POA_SALOMEDS::AttributeStudyProperties,
22 public virtual SALOMEDS_GenericAttribute_i {
25 SALOMEDS_AttributeStudyProperties_i(const Handle(SALOMEDS_StudyPropertiesAttribute)& theAttr, CORBA::ORB_ptr orb)
27 _myOrb = CORBA::ORB::_duplicate(orb);
30 ~SALOMEDS_AttributeStudyProperties_i() {};
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,
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);
58 void Restore(const char*);