27 #ifndef _SALOMEDSImpl_AttributeStudyProperties_HeaderFile
28 #define _SALOMEDSImpl_AttributeStudyProperties_HeaderFile
44 static const std::string& GetID();
45 const std::string&
ID()
const;
51 virtual std::string
Save();
52 virtual void Load(
const std::string&);
54 void SetModification(
const std::string& theUserName,
60 void GetModifications(std::vector<std::string>& theUserNames,
61 std::vector<int>& theMinutes,
62 std::vector<int>& theHours,
63 std::vector<int>& theDays,
64 std::vector<int>& theMonths,
65 std::vector<int>& theYears)
const;
67 std::string GetCreatorName()
const;
68 bool GetCreationDate(
int& theMinute,
74 void ChangeCreatorName(
const std::string& theUserName);
76 void SetUnits(
const std::string& theUnits);
77 std::string GetUnits()
const;
79 void SetComment(
const std::string& theComment);
80 std::string GetComment()
const;
82 void SetCreationMode(
const int theMode);
83 int GetCreationMode()
const;
85 void SetModified(
const int theModified);
86 bool IsModified()
const;
87 int GetModified()
const;
89 void SetLocked(
const bool theLocked);
90 bool IsLocked()
const;
91 bool IsLockChanged(
const bool theErase);
93 void SetComponentsVersions(
const std::map< std::string, std::vector<std::string> >& theVersions );
94 void SetComponentVersion(
const std::string& theComponent,
const std::string& theVersion);
95 std::vector<std::string> GetStoredComponents()
const;
97 std::vector<std::string> GetComponentVersions(
const std::string& theComponent)
const;
98 std::map< std::string, std::vector<std::string> > GetComponentsVersions()
const;
#define SALOMEDSIMPL_EXPORT
Definition: SALOMEDSImpl_Defines.hxx:34
Definition: DF_Attribute.hxx:30
virtual void Restore(DF_Attribute *theAttribute)=0
virtual const std::string & ID() const =0
virtual std::string Save()
Definition: DF_Attribute.hxx:47
virtual void Load(const std::string &)
Definition: DF_Attribute.hxx:48
virtual DF_Attribute * NewEmpty() const =0
virtual void Paste(DF_Attribute *theIntoAttribute)=0
Definition: DF_Label.hxx:65
Definition: SALOMEDSImpl_AttributeStudyProperties.hxx:39
std::vector< int > myYear
Definition: SALOMEDSImpl_AttributeStudyProperties.hxx:113
std::vector< int > myMonth
Definition: SALOMEDSImpl_AttributeStudyProperties.hxx:112
std::vector< int > myDay
Definition: SALOMEDSImpl_AttributeStudyProperties.hxx:111
~SALOMEDSImpl_AttributeStudyProperties()
Definition: SALOMEDSImpl_AttributeStudyProperties.hxx:42
std::vector< int > myMinute
Definition: SALOMEDSImpl_AttributeStudyProperties.hxx:109
std::map< std::string, versionList > versionMap
Definition: SALOMEDSImpl_AttributeStudyProperties.hxx:106
std::vector< std::string > versionList
Definition: SALOMEDSImpl_AttributeStudyProperties.hxx:105
int myModified
Definition: SALOMEDSImpl_AttributeStudyProperties.hxx:117
int myMode
Definition: SALOMEDSImpl_AttributeStudyProperties.hxx:116
std::string myUnits
Definition: SALOMEDSImpl_AttributeStudyProperties.hxx:114
std::string myComment
Definition: SALOMEDSImpl_AttributeStudyProperties.hxx:115
bool myLocked
Definition: SALOMEDSImpl_AttributeStudyProperties.hxx:118
versionMap myComponentVersions
Definition: SALOMEDSImpl_AttributeStudyProperties.hxx:120
std::vector< std::string > myUserName
Definition: SALOMEDSImpl_AttributeStudyProperties.hxx:108
bool myLockChanged
Definition: SALOMEDSImpl_AttributeStudyProperties.hxx:119
std::vector< int > myHour
Definition: SALOMEDSImpl_AttributeStudyProperties.hxx:110
Definition: SALOMEDSImpl_GenericAttribute.hxx:39
def Init()
Definition: salome_ComponentGUI.py:84
def GetComponentVersion(theComponent, all_versions=False)
Definition: salome_study.py:232