1 // Copyright (C) 2005 OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
2 // CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS
4 // This library is free software; you can redistribute it and/or
5 // modify it under the terms of the GNU Lesser General Public
6 // License as published by the Free Software Foundation; either
7 // version 2.1 of the License.
9 // This library is distributed in the hope that it will be useful
10 // but WITHOUT ANY WARRANTY; without even the implied warranty of
11 // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
12 // Lesser General Public License for more details.
14 // You should have received a copy of the GNU Lesser General Public
15 // License along with this library; if not, write to the Free Software
16 // Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
18 // See http://www.salome-platform.org/
20 // File : SALOMEDS_AttributeStudyProperties_i.hxx
21 // Author : Sergey RUIN
24 #ifndef SALOMEDS_AttributeStudyProperties_i_HeaderFile
25 #define SALOMEDS_AttributeStudyProperties_i_HeaderFile
28 #include <SALOMEconfig.h>
29 #include CORBA_SERVER_HEADER(SALOMEDS_Attributes)
31 #include "SALOMEDS_GenericAttribute_i.hxx"
32 #include "SALOMEDSImpl_AttributeStudyProperties.hxx"
34 class SALOMEDS_AttributeStudyProperties_i: public virtual POA_SALOMEDS::AttributeStudyProperties,
35 public virtual SALOMEDS_GenericAttribute_i {
38 SALOMEDS_AttributeStudyProperties_i(const Handle(SALOMEDSImpl_AttributeStudyProperties)& theAttr, CORBA::ORB_ptr orb)
39 :SALOMEDS_GenericAttribute_i(theAttr, orb) {};
41 ~SALOMEDS_AttributeStudyProperties_i() {};
43 virtual void SetUserName(const char* theName);
44 virtual char* GetUserName() ;
45 virtual void SetCreationDate(CORBA::Long theMinute, CORBA::Long theHour, CORBA::Long theDay, CORBA::Long theMonth, CORBA::Long theYear);
46 virtual CORBA::Boolean GetCreationDate(CORBA::Long& theMinute, CORBA::Long& theHour, CORBA::Long& theDay, CORBA::Long& theMonth, CORBA::Long& theYear);
47 virtual void SetCreationMode(const char* theMode);
48 virtual char* GetCreationMode();
49 virtual void SetModified(CORBA::Long theModified);
50 virtual CORBA::Boolean IsModified();
51 virtual CORBA::Long GetModified();
52 virtual void SetLocked(CORBA::Boolean theLocked);
53 virtual CORBA::Boolean IsLocked();
54 virtual void SetModification(const char* theName,
55 CORBA::Long theMinute,
60 virtual void GetModificationsList(SALOMEDS::StringSeq_out theNames,
61 SALOMEDS::LongSeq_out theMinutes,
62 SALOMEDS::LongSeq_out theHours,
63 SALOMEDS::LongSeq_out theDays,
64 SALOMEDS::LongSeq_out theMonths,
65 SALOMEDS::LongSeq_out theYears,
66 CORBA::Boolean theWithCreator);