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;
96 std::string GetComponentVersion(
const std::string& theComponent)
const;
97 std::vector<std::string> GetComponentVersions(
const std::string& theComponent)
const;
98 std::map< std::string, std::vector<std::string> > GetComponentsVersions()
const;