1 // File: SALOMEDS_AttributeStudyProperties_i.hxx
2 // Created: Tue Oct 8 10:13:30 2002
3 // Author: Yves FRICAUD
7 // Copyright : Open CASCADE 2002
11 #ifndef SALOMEDS_AttributeStudyProperties_i_HeaderFile
12 #define SALOMEDS_AttributeStudyProperties_i_HeaderFile
15 #include <SALOMEDS_StudyPropertiesAttribute.hxx>
16 #include <SALOMEconfig.h>
17 #include CORBA_SERVER_HEADER(SALOMEDS_Attributes)
18 #include "SALOMEDS_GenericAttribute_i.hxx"
20 class SALOMEDS_AttributeStudyProperties_i: public virtual POA_SALOMEDS::AttributeStudyProperties,
21 public virtual SALOMEDS_GenericAttribute_i {
24 SALOMEDS_AttributeStudyProperties_i(const Handle(SALOMEDS_StudyPropertiesAttribute)& theAttr, CORBA::ORB_ptr orb)
26 _myOrb = CORBA::ORB::_duplicate(orb);
29 ~SALOMEDS_AttributeStudyProperties_i() {};
31 virtual void SetUserName(const char* theName);
32 virtual char* GetUserName() ;
33 virtual void SetCreationDate(CORBA::Long theMinute, CORBA::Long theHour, CORBA::Long theDay, CORBA::Long theMonth, CORBA::Long theYear);
34 virtual CORBA::Boolean GetCreationDate(CORBA::Long& theMinute, CORBA::Long& theHour, CORBA::Long& theDay, CORBA::Long& theMonth, CORBA::Long& theYear);
35 virtual void SetCreationMode(const char* theMode);
36 virtual char* GetCreationMode();
37 virtual void SetModified(CORBA::Long theModified);
38 virtual CORBA::Boolean IsModified();
39 virtual CORBA::Long GetModified();
40 virtual void SetLocked(CORBA::Boolean theLocked);
41 virtual CORBA::Boolean IsLocked();
42 virtual void SetModification(const char* theName,
43 CORBA::Long theMinute,
48 virtual void GetModificationsList(SALOMEDS::StringSeq_out theNames,
49 SALOMEDS::LongSeq_out theMinutes,
50 SALOMEDS::LongSeq_out theHours,
51 SALOMEDS::LongSeq_out theDays,
52 SALOMEDS::LongSeq_out theMonths,
53 SALOMEDS::LongSeq_out theYears,
54 CORBA::Boolean theWithCreator);