#include <SALOMEDSImpl_AttributeStudyProperties.hxx>
Public Member Functions | |
SALOMEDSImpl_AttributeStudyProperties () | |
~SALOMEDSImpl_AttributeStudyProperties () | |
const std::string & | ID () const |
void | Init () |
virtual std::string | Save () |
virtual void | Load (const std::string &) |
void | SetModification (const std::string &theUserName, const int theMinute, const int theHour, const int theDay, const int theMonth, const int theYear) |
void | GetModifications (std::vector< std::string > &theUserNames, std::vector< int > &theMinutes, std::vector< int > &theHours, std::vector< int > &theDays, std::vector< int > &theMonths, std::vector< int > &theYears) const |
std::string | GetCreatorName () const |
bool | GetCreationDate (int &theMinute, int &theHour, int &theDay, int &theMonth, int &theYear) const |
void | ChangeCreatorName (const std::string &theUserName) |
void | SetUnits (const std::string &theUnits) |
std::string | GetUnits () const |
void | SetComment (const std::string &theComment) |
std::string | GetComment () const |
void | SetCreationMode (const int theMode) |
int | GetCreationMode () const |
void | SetModified (const int theModified) |
bool | IsModified () const |
int | GetModified () const |
void | SetLocked (const bool theLocked) |
bool | IsLocked () const |
bool | IsLockChanged (const bool theErase) |
void | SetComponentsVersions (const std::map< std::string, std::vector< std::string > > &theVersions) |
void | SetComponentVersion (const std::string &theComponent, const std::string &theVersion) |
std::vector< std::string > | GetStoredComponents () const |
std::string | GetComponentVersion (const std::string &theComponent) const |
std::vector< std::string > | GetComponentVersions (const std::string &theComponent) const |
std::map< std::string, std::vector< std::string > > | GetComponentsVersions () const |
void | Restore (DF_Attribute *with) |
DF_Attribute * | NewEmpty () const |
void | Paste (DF_Attribute *into) |
virtual std::string | Type () |
virtual void | CheckLocked () |
std::string | GetClassType () |
SALOMEDSImpl_SObject | GetSObject () |
void | SetModifyFlag (int reason=0) |
Set modification flag of the Attribute. More... | |
DF_Label | Label () const |
DF_Attribute * | FindAttribute (const std::string &theID) const |
virtual void | AfterAddition () |
virtual void | BeforeForget () |
Static Public Member Functions | |
static const std::string & | GetID () |
static SALOMEDSImpl_AttributeStudyProperties * | Set (const DF_Label &label) |
static std::string | Impl_GetType (DF_Attribute *theAttr) |
static std::string | Impl_GetClassType (DF_Attribute *theAttr) |
static void | Impl_CheckLocked (DF_Attribute *theAttr) |
Protected Member Functions | |
void | Backup () |
Protected Attributes | |
std::string | _type |
DF_LabelNode * | _node |
Private Types | |
typedef std::vector< std::string > | versionList |
typedef std::map< std::string, versionList > | versionMap |
Private Attributes | |
std::vector< std::string > | myUserName |
std::vector< int > | myMinute |
std::vector< int > | myHour |
std::vector< int > | myDay |
std::vector< int > | myMonth |
std::vector< int > | myYear |
std::string | myUnits |
std::string | myComment |
int | myMode |
int | myModified |
bool | myLocked |
bool | myLockChanged |
versionMap | myComponentVersions |
|
private |
|
private |
SALOMEDSImpl_AttributeStudyProperties::SALOMEDSImpl_AttributeStudyProperties | ( | ) |
References Init(), myLockChanged, myLocked, and myModified.
Referenced by NewEmpty(), and Set().
SALOMEDSImpl_AttributeStudyProperties::~SALOMEDSImpl_AttributeStudyProperties | ( | ) |
|
virtualinherited |
Reimplemented in SALOMEDSImpl_AttributeTreeNode.
Referenced by DF_Label::AddAttribute().
|
protectedinherited |
Referenced by SALOMEDSImpl_AttributeTarget::Add(), SALOMEDSImpl_AttributeSequenceOfInteger::Add(), SALOMEDSImpl_AttributeSequenceOfReal::Add(), SALOMEDSImpl_AttributeSequenceOfInteger::Assign(), SALOMEDSImpl_AttributeSequenceOfReal::Assign(), SALOMEDSImpl_AttributeTextColor::ChangeArray(), SALOMEDSImpl_AttributeTextHighlightColor::ChangeArray(), ChangeCreatorName(), SALOMEDSImpl_AttributeSequenceOfInteger::ChangeValue(), SALOMEDSImpl_AttributeSequenceOfReal::ChangeValue(), SALOMEDSImpl_AttributeParameter::Clear(), SALOMEDSImpl_AttributeTableOfString::Load(), SALOMEDSImpl_AttributeTableOfReal::Load(), SALOMEDSImpl_AttributeTableOfInteger::Load(), SALOMEDSImpl_AttributeParameter::Load(), SALOMEDSImpl_AttributeTarget::Remove(), SALOMEDSImpl_AttributeSequenceOfInteger::Remove(), SALOMEDSImpl_AttributeSequenceOfReal::Remove(), SALOMEDSImpl_AttributeParameter::RemoveID(), SALOMEDSImpl_AttributeReference::Set(), SALOMEDSImpl_AttributeFlags::Set(), SALOMEDSImpl_AttributeParameter::SetBool(), SALOMEDSImpl_AttributeTableOfString::SetColumnData(), SALOMEDSImpl_AttributeTableOfReal::SetColumnData(), SALOMEDSImpl_AttributeTableOfInteger::SetColumnData(), SALOMEDSImpl_AttributeTableOfString::SetColumnTitle(), SALOMEDSImpl_AttributeTableOfReal::SetColumnTitle(), SALOMEDSImpl_AttributeTableOfInteger::SetColumnTitle(), SetComment(), SetComponentVersion(), SetCreationMode(), SALOMEDSImpl_AttributeDrawable::SetDrawable(), SALOMEDSImpl_AttributeExpandable::SetExpandable(), SALOMEDSImpl_AttributeTreeNode::SetFather(), SALOMEDSImpl_AttributeTreeNode::SetFirst(), SALOMEDSImpl_AttributeParameter::SetInt(), SALOMEDSImpl_AttributeParameter::SetIntArray(), SetModification(), SALOMEDSImpl_AttributeTableOfString::SetNbColumns(), SALOMEDSImpl_AttributeTableOfReal::SetNbColumns(), SALOMEDSImpl_AttributeTableOfInteger::SetNbColumns(), SALOMEDSImpl_AttributeTreeNode::SetNext(), SALOMEDSImpl_AttributePythonObject::SetObject(), SALOMEDSImpl_AttributeOpened::SetOpened(), SALOMEDSImpl_AttributePixMap::SetPixMap(), SALOMEDSImpl_AttributeTreeNode::SetPrevious(), SALOMEDSImpl_AttributeParameter::SetReal(), SALOMEDSImpl_AttributeParameter::SetRealArray(), SALOMEDSImpl_AttributeTarget::SetRelation(), SALOMEDSImpl_AttributeTableOfString::SetRowData(), SALOMEDSImpl_AttributeTableOfReal::SetRowData(), SALOMEDSImpl_AttributeTableOfInteger::SetRowData(), SALOMEDSImpl_AttributeTableOfString::SetRowTitle(), SALOMEDSImpl_AttributeTableOfReal::SetRowTitle(), SALOMEDSImpl_AttributeTableOfInteger::SetRowTitle(), SALOMEDSImpl_AttributeTableOfString::SetRowUnit(), SALOMEDSImpl_AttributeTableOfReal::SetRowUnit(), SALOMEDSImpl_AttributeTableOfInteger::SetRowUnit(), SALOMEDSImpl_AttributeSelectable::SetSelectable(), SALOMEDSImpl_AttributeParameter::SetStrArray(), SALOMEDSImpl_AttributeParameter::SetString(), SALOMEDSImpl_AttributeTextColor::SetTextColor(), SALOMEDSImpl_AttributeTextHighlightColor::SetTextHighlightColor(), SALOMEDSImpl_AttributeTableOfString::SetTitle(), SALOMEDSImpl_AttributeTableOfReal::SetTitle(), SALOMEDSImpl_AttributeTableOfInteger::SetTitle(), SetUnits(), SALOMEDSImpl_AttributeExternalFileDef::SetValue(), SALOMEDSImpl_AttributeFileType::SetValue(), SALOMEDSImpl_AttributeInteger::SetValue(), SALOMEDSImpl_AttributeReal::SetValue(), SALOMEDSImpl_AttributeString::SetValue(), SALOMEDSImpl_AttributeLocalID::SetValue(), SALOMEDSImpl_AttributeUserID::SetValue(), SALOMEDSImpl_AttributeName::SetValue(), SALOMEDSImpl_AttributeComment::SetValue(), SALOMEDSImpl_AttributeIOR::SetValue(), SALOMEDSImpl_AttributePersistentRef::SetValue(), and SALOMEDSImpl_AttributeGraphic::SetVisibility().
|
virtualinherited |
Reimplemented in SALOMEDSImpl_AttributeTreeNode.
Referenced by DF_Label::ForgetAttribute().
void SALOMEDSImpl_AttributeStudyProperties::ChangeCreatorName | ( | const std::string & | theUserName | ) |
References DF_Attribute::Backup(), SALOMEDSImpl_GenericAttribute::CheckLocked(), and myUserName.
Referenced by SALOMEDS_AttributeStudyProperties::SetUserName().
|
virtualinherited |
References SALOMEDSImpl_Study::_errorCode, SALOMEDSImpl_Study::GetStudy(), SALOMEDSImpl_Study::IsLocked(), DF_Label::IsNull(), and DF_Attribute::Label().
Referenced by SALOMEDSImpl_AttributeSequenceOfInteger::Add(), SALOMEDSImpl_AttributeSequenceOfReal::Add(), SALOMEDSImpl_AttributeTreeNode::Append(), SALOMEDSImpl_AttributeSequenceOfInteger::Assign(), SALOMEDSImpl_AttributeSequenceOfReal::Assign(), ChangeCreatorName(), SALOMEDSImpl_AttributeSequenceOfInteger::ChangeValue(), SALOMEDSImpl_AttributeSequenceOfReal::ChangeValue(), SALOMEDS_GenericAttribute::CheckLocked(), SALOMEDSImpl_GenericAttribute::Impl_CheckLocked(), SALOMEDSImpl_AttributeTreeNode::InsertAfter(), SALOMEDSImpl_AttributeTreeNode::InsertBefore(), SALOMEDSImpl_AttributeTreeNode::Prepend(), SALOMEDSImpl_AttributeTableOfString::PutValue(), SALOMEDSImpl_AttributeTableOfReal::PutValue(), SALOMEDSImpl_AttributeTableOfInteger::PutValue(), SALOMEDSImpl_AttributeTreeNode::Remove(), SALOMEDSImpl_AttributeSequenceOfInteger::Remove(), SALOMEDSImpl_AttributeSequenceOfReal::Remove(), SALOMEDSImpl_AttributeTableOfString::RemoveValue(), SALOMEDSImpl_AttributeTableOfReal::RemoveValue(), SALOMEDSImpl_AttributeTableOfInteger::RemoveValue(), SALOMEDSImpl_AttributeReference::Set(), SALOMEDSImpl_AttributeParameter::SetBool(), SALOMEDSImpl_AttributeTableOfString::SetColumnData(), SALOMEDSImpl_AttributeTableOfReal::SetColumnData(), SALOMEDSImpl_AttributeTableOfInteger::SetColumnData(), SALOMEDSImpl_AttributeTableOfString::SetColumnTitle(), SALOMEDSImpl_AttributeTableOfReal::SetColumnTitle(), SALOMEDSImpl_AttributeTableOfInteger::SetColumnTitle(), SetComment(), SetComponentVersion(), SetCreationMode(), SALOMEDSImpl_AttributeDrawable::SetDrawable(), SALOMEDSImpl_AttributeExpandable::SetExpandable(), SALOMEDSImpl_AttributeTreeNode::SetFather(), SALOMEDSImpl_AttributeTreeNode::SetFirst(), SALOMEDSImpl_AttributeParameter::SetInt(), SALOMEDSImpl_AttributeParameter::SetIntArray(), SetModification(), SALOMEDSImpl_AttributeTableOfString::SetNbColumns(), SALOMEDSImpl_AttributeTableOfReal::SetNbColumns(), SALOMEDSImpl_AttributeTableOfInteger::SetNbColumns(), SALOMEDSImpl_AttributeTreeNode::SetNext(), SALOMEDSImpl_AttributePythonObject::SetObject(), SALOMEDSImpl_AttributePixMap::SetPixMap(), SALOMEDSImpl_AttributeTreeNode::SetPrevious(), SALOMEDSImpl_AttributeParameter::SetReal(), SALOMEDSImpl_AttributeParameter::SetRealArray(), SALOMEDSImpl_AttributeTarget::SetRelation(), SALOMEDSImpl_AttributeTableOfString::SetRowData(), SALOMEDSImpl_AttributeTableOfReal::SetRowData(), SALOMEDSImpl_AttributeTableOfInteger::SetRowData(), SALOMEDSImpl_AttributeTableOfString::SetRowTitle(), SALOMEDSImpl_AttributeTableOfReal::SetRowTitle(), SALOMEDSImpl_AttributeTableOfInteger::SetRowTitle(), SALOMEDSImpl_AttributeTableOfString::SetRowUnit(), SALOMEDSImpl_AttributeTableOfReal::SetRowUnit(), SALOMEDSImpl_AttributeTableOfInteger::SetRowUnit(), SALOMEDSImpl_AttributeParameter::SetStrArray(), SALOMEDSImpl_AttributeParameter::SetString(), SALOMEDSImpl_AttributeTextColor::SetTextColor(), SALOMEDSImpl_AttributeTextHighlightColor::SetTextHighlightColor(), SALOMEDSImpl_AttributeTableOfString::SetTitle(), SALOMEDSImpl_AttributeTableOfReal::SetTitle(), SALOMEDSImpl_AttributeTableOfInteger::SetTitle(), SetUnits(), SALOMEDSImpl_AttributeFileType::SetValue(), SALOMEDSImpl_AttributeExternalFileDef::SetValue(), SALOMEDSImpl_AttributeReal::SetValue(), SALOMEDSImpl_AttributeString::SetValue(), SALOMEDSImpl_AttributeName::SetValue(), SALOMEDSImpl_AttributeUserID::SetValue(), SALOMEDSImpl_AttributeLocalID::SetValue(), SALOMEDSImpl_AttributeComment::SetValue(), SALOMEDSImpl_AttributeIOR::SetValue(), SALOMEDSImpl_AttributePersistentRef::SetValue(), SALOMEDSImpl_AttributeTableOfString::SortByColumn(), SALOMEDSImpl_AttributeTableOfReal::SortByColumn(), SALOMEDSImpl_AttributeTableOfInteger::SortByColumn(), SALOMEDSImpl_AttributeTableOfString::SortByRow(), SALOMEDSImpl_AttributeTableOfReal::SortByRow(), SALOMEDSImpl_AttributeTableOfInteger::SortByRow(), SALOMEDSImpl_AttributeTableOfString::SortColumn(), SALOMEDSImpl_AttributeTableOfReal::SortColumn(), SALOMEDSImpl_AttributeTableOfInteger::SortColumn(), SALOMEDSImpl_AttributeTableOfString::SortRow(), SALOMEDSImpl_AttributeTableOfReal::SortRow(), SALOMEDSImpl_AttributeTableOfInteger::SortRow(), SALOMEDSImpl_AttributeTableOfString::SwapCells(), SALOMEDSImpl_AttributeTableOfReal::SwapCells(), SALOMEDSImpl_AttributeTableOfInteger::SwapCells(), SALOMEDSImpl_AttributeTableOfString::SwapColumns(), SALOMEDSImpl_AttributeTableOfReal::SwapColumns(), SALOMEDSImpl_AttributeTableOfInteger::SwapColumns(), SALOMEDSImpl_AttributeTableOfString::SwapRows(), SALOMEDSImpl_AttributeTableOfReal::SwapRows(), and SALOMEDSImpl_AttributeTableOfInteger::SwapRows().
|
inherited |
References DF_Attribute::_node, DF_Label::FindAttribute(), and DF_Attribute::Label().
Referenced by SALOMEDSImpl_UseCaseBuilder::AddUseCase(), SALOMEDSImpl_UseCaseBuilder::Append(), SALOMEDSImpl_UseCaseBuilder::GetCurrentObject(), SALOMEDSImpl_Study::GetModuleParameters(), SALOMEDSImpl_UseCaseBuilder::GetName(), SALOMEDSImpl_UseCaseBuilder::Remove(), SALOMEDSImpl_UseCaseBuilder::SALOMEDSImpl_UseCaseBuilder(), SALOMEDSImpl_UseCaseBuilder::SetCurrentObject(), SALOMEDSImpl_UseCaseBuilder::SetName(), and SALOMEDSImpl_UseCaseBuilder::SetRootCurrent().
|
inherited |
std::string SALOMEDSImpl_AttributeStudyProperties::GetComment | ( | ) | const |
References myComment.
Referenced by SALOMEDSImpl_StudyManager::Impl_SaveProperties(), and Save().
std::map< std::string, std::vector< std::string > > SALOMEDSImpl_AttributeStudyProperties::GetComponentsVersions | ( | ) | const |
References myComponentVersions.
Referenced by SALOMEDSImpl_StudyManager::Impl_SaveProperties(), and Restore().
std::string SALOMEDSImpl_AttributeStudyProperties::GetComponentVersion | ( | const std::string & | theComponent | ) | const |
References GetComponentVersions().
std::vector< std::string > SALOMEDSImpl_AttributeStudyProperties::GetComponentVersions | ( | const std::string & | theComponent | ) | const |
References myComponentVersions.
Referenced by GetComponentVersion(), and SALOMEDSImpl_StudyManager::Open().
bool SALOMEDSImpl_AttributeStudyProperties::GetCreationDate | ( | int & | theMinute, |
int & | theHour, | ||
int & | theDay, | ||
int & | theMonth, | ||
int & | theYear | ||
) | const |
int SALOMEDSImpl_AttributeStudyProperties::GetCreationMode | ( | ) | const |
References myMode.
Referenced by SALOMEDSImpl_StudyManager::Impl_SaveProperties(), Restore(), and Save().
std::string SALOMEDSImpl_AttributeStudyProperties::GetCreatorName | ( | ) | const |
References myUserName.
|
static |
void SALOMEDSImpl_AttributeStudyProperties::GetModifications | ( | std::vector< std::string > & | theUserNames, |
std::vector< int > & | theMinutes, | ||
std::vector< int > & | theHours, | ||
std::vector< int > & | theDays, | ||
std::vector< int > & | theMonths, | ||
std::vector< int > & | theYears | ||
) | const |
int SALOMEDSImpl_AttributeStudyProperties::GetModified | ( | ) | const |
References myModified.
Referenced by SALOMEDSImpl_StudyBuilder::CommitCommand(), SALOMEDSImpl_StudyBuilder::Redo(), and SALOMEDSImpl_StudyBuilder::Undo().
|
inherited |
std::vector< std::string > SALOMEDSImpl_AttributeStudyProperties::GetStoredComponents | ( | ) | const |
References myComponentVersions.
std::string SALOMEDSImpl_AttributeStudyProperties::GetUnits | ( | ) | const |
References myUnits.
Referenced by SALOMEDSImpl_StudyManager::Impl_SaveProperties(), and Save().
|
virtual |
Implements DF_Attribute.
References GetID().
|
staticinherited |
References SALOMEDSImpl_GenericAttribute::CheckLocked().
Referenced by SALOMEDS_GenericAttribute_i::CheckLocked().
|
staticinherited |
References SALOMEDSImpl_GenericAttribute::GetClassType().
Referenced by SALOMEDS_GenericAttribute_i::GetClassType().
|
staticinherited |
References SALOMEDSImpl_GenericAttribute::Type().
Referenced by SALOMEDSImpl_StudyManager::CopyLabel(), SaveAttributes(), and SALOMEDS_GenericAttribute_i::Type().
void SALOMEDSImpl_AttributeStudyProperties::Init | ( | ) |
References myComponentVersions, myDay, myHour, myMinute, myMode, myMonth, myUserName, and myYear.
Referenced by Paste(), Restore(), and SALOMEDSImpl_AttributeStudyProperties().
References myLockChanged.
Referenced by SALOMEDSImpl_StudyBuilder::CommitCommand(), and SALOMEDSImpl_StudyBuilder::NewCommand().
bool SALOMEDSImpl_AttributeStudyProperties::IsLocked | ( | ) | const |
References myLocked.
Referenced by SALOMEDSImpl_StudyBuilder::CheckLocked(), SALOMEDSImpl_StudyBuilder::CommitCommand(), SALOMEDSImpl_StudyManager::Impl_SaveProperties(), SALOMEDSImpl_Study::IsLocked(), SALOMEDSImpl_StudyBuilder::LoadWith(), SALOMEDSImpl_StudyManager::Paste(), SALOMEDSImpl_StudyBuilder::Redo(), Save(), SALOMEDSImpl_Study::SetTransientReference(), and SALOMEDSImpl_StudyBuilder::Undo().
bool SALOMEDSImpl_AttributeStudyProperties::IsModified | ( | ) | const |
References myModified.
|
inherited |
References DF_Attribute::_node, and DF_Attribute::DF_Label.
Referenced by SALOMEDS_AttributeTarget_i::Add(), SALOMEDSImpl_AttributeTreeNode::Append(), SALOMEDSImpl_UseCaseBuilder::Append(), SALOMEDSImpl_GenericAttribute::CheckLocked(), DF_Attribute::FindAttribute(), SALOMEDSImpl_UseCaseBuilder::GetCurrentObject(), SALOMEDSImpl_AttributeParameter::GetFather(), GetNode(), SALOMEDSImpl_GenericAttribute::GetSObject(), SALOMEDS_GenericAttribute_i::GetSObject(), SALOMEDSImpl_UseCaseBuilder::GetSObject(), SALOMEDSImpl_UseCaseBuilder::HasChildren(), SALOMEDSImpl_AttributeParameter::HasFather(), SALOMEDSImpl_AttributeTreeNode::InsertAfter(), SALOMEDSImpl_AttributeTreeNode::InsertBefore(), SALOMEDSImpl_Study::IORUpdated(), SALOMEDSImpl_UseCaseBuilder::IsUseCaseNode(), SALOMEDS_AttributeTreeNode::Label(), SALOMEDS_AttributeTreeNode_i::Label(), SALOMEDSImpl_AttributeReference::Load(), SALOMEDSImpl_AttributeTreeNode::Load(), SALOMEDSImpl_AttributeTreeNode::Prepend(), SALOMEDS_AttributeTarget_i::Remove(), SALOMEDSImpl_UseCaseBuilder::Remove(), SALOMEDSImpl_UseCaseBuilder::SALOMEDSImpl_UseCaseBuilder(), SALOMEDSImpl_AttributeTreeNode::Save(), SALOMEDSImpl_UseCaseBuilder::SetCurrentObject(), SALOMEDSImpl_GenericAttribute::SetModifyFlag(), SALOMEDSImpl_UseCaseBuilder::SetName(), SALOMEDSImpl_UseCaseBuilder::SetRootCurrent(), SALOMEDSImpl_AttributeIOR::SetValue(), SALOMEDSImpl_UseCaseBuilder::SortChildren(), Translate_persistentID_to_IOR(), SALOMEDSImpl_UseCaseIterator::Value(), and SALOMEDSImpl_AttributeIOR::~SALOMEDSImpl_AttributeIOR().
|
virtual |
Reimplemented from DF_Attribute.
References SetComment(), SetComponentVersion(), SetCreationMode(), SetLocked(), SetModification(), SetModified(), and SetUnits().
|
virtual |
Implements DF_Attribute.
References SALOMEDSImpl_AttributeStudyProperties().
|
virtual |
Implements DF_Attribute.
References Init(), myComponentVersions, myDay, myHour, myMinute, myMode, myMonth, myUserName, myYear, SetComponentsVersions(), SetCreationMode(), and SetModification().
|
virtual |
Implements DF_Attribute.
References GetComponentsVersions(), GetCreationMode(), GetModifications(), Init(), myComponentVersions, myDay, myHour, myMinute, myMode, myMonth, myUserName, and myYear.
|
virtual |
Reimplemented from DF_Attribute.
References GetComment(), GetCreationMode(), GetModifications(), GetUnits(), IsLocked(), and myComponentVersions.
|
static |
References DF_Label::AddAttribute(), DF_Label::FindAttribute(), GetID(), and SALOMEDSImpl_AttributeStudyProperties().
Referenced by SALOMEDSImpl_Study::GetProperties().
void SALOMEDSImpl_AttributeStudyProperties::SetComment | ( | const std::string & | theComment | ) |
References DF_Attribute::Backup(), SALOMEDSImpl_GenericAttribute::CheckLocked(), and myComment.
Referenced by Load(), and SALOMEDS_AttributeStudyProperties::SetComment().
void SALOMEDSImpl_AttributeStudyProperties::SetComponentsVersions | ( | const std::map< std::string, std::vector< std::string > > & | theVersions | ) |
References myComponentVersions.
Referenced by Paste().
void SALOMEDSImpl_AttributeStudyProperties::SetComponentVersion | ( | const std::string & | theComponent, |
const std::string & | theVersion | ||
) |
References DF_Attribute::Backup(), SALOMEDSImpl_GenericAttribute::CheckLocked(), and myComponentVersions.
Referenced by SALOMEDSImpl_StudyManager::Impl_SaveAs(), Load(), and SALOMEDSImpl_StudyManager::Open().
void SALOMEDSImpl_AttributeStudyProperties::SetCreationMode | ( | const int | theMode | ) |
References DF_Attribute::Backup(), SALOMEDSImpl_GenericAttribute::CheckLocked(), and myMode.
Referenced by Load(), SALOMEDSImpl_StudyManager::NewStudy(), Paste(), and SALOMEDS_AttributeStudyProperties_i::SetCreationMode().
void SALOMEDSImpl_AttributeStudyProperties::SetLocked | ( | const bool | theLocked | ) |
References myLockChanged, and myLocked.
Referenced by Load(), SALOMEDSImpl_StudyBuilder::LoadWith(), and SALOMEDSImpl_Study::SetTransientReference().
void SALOMEDSImpl_AttributeStudyProperties::SetModification | ( | const std::string & | theUserName, |
const int | theMinute, | ||
const int | theHour, | ||
const int | theDay, | ||
const int | theMonth, | ||
const int | theYear | ||
) |
References DF_Attribute::Backup(), SALOMEDSImpl_GenericAttribute::CheckLocked(), myDay, myHour, myMinute, myMonth, myUserName, and myYear.
Referenced by SALOMEDSImpl_StudyManager::Impl_SaveProperties(), Load(), SALOMEDSImpl_StudyManager::NewStudy(), Paste(), SALOMEDS_AttributeStudyProperties_i::SetCreationDate(), SALOMEDS_AttributeStudyProperties::SetCreationDate(), SALOMEDS_AttributeStudyProperties_i::SetModification(), and SALOMEDS_AttributeStudyProperties::SetModification().
void SALOMEDSImpl_AttributeStudyProperties::SetModified | ( | const int | theModified | ) |
|
inherited |
Set modification flag of the Attribute.
param reason reason of the modification (by default equal to 0)
References SALOMEDSImpl_GenericAttribute::GetSObject(), SALOMEDSImpl_Study::GetStudy(), DF_Label::IsNull(), DF_Attribute::Label(), SALOMEDSImpl_Study::Modify(), and SALOMEDSImpl_Study::modifySO_Notification().
Referenced by SALOMEDSImpl_AttributeTarget::Add(), SALOMEDSImpl_AttributeSequenceOfInteger::Add(), SALOMEDSImpl_AttributeSequenceOfReal::Add(), SALOMEDSImpl_AttributeTreeNode::Append(), SALOMEDSImpl_AttributeSequenceOfInteger::Assign(), SALOMEDSImpl_AttributeSequenceOfReal::Assign(), SALOMEDSImpl_AttributeTextColor::ChangeArray(), SALOMEDSImpl_AttributeTextHighlightColor::ChangeArray(), SALOMEDSImpl_AttributeSequenceOfInteger::ChangeValue(), SALOMEDSImpl_AttributeSequenceOfReal::ChangeValue(), SALOMEDSImpl_AttributeParameter::Clear(), SALOMEDSImpl_AttributeTreeNode::InsertAfter(), SALOMEDSImpl_AttributeTreeNode::InsertBefore(), SALOMEDSImpl_AttributeTreeNode::Prepend(), SALOMEDSImpl_AttributeTableOfString::PutValue(), SALOMEDSImpl_AttributeTableOfReal::PutValue(), SALOMEDSImpl_AttributeTableOfInteger::PutValue(), SALOMEDSImpl_AttributeTarget::Remove(), SALOMEDSImpl_AttributeTreeNode::Remove(), SALOMEDSImpl_AttributeSequenceOfInteger::Remove(), SALOMEDSImpl_AttributeSequenceOfReal::Remove(), SALOMEDSImpl_AttributeParameter::RemoveID(), SALOMEDSImpl_AttributeTableOfString::RemoveValue(), SALOMEDSImpl_AttributeTableOfReal::RemoveValue(), SALOMEDSImpl_AttributeTableOfInteger::RemoveValue(), SALOMEDSImpl_AttributeReference::Set(), SALOMEDSImpl_AttributeParameter::SetBool(), SALOMEDSImpl_AttributeTableOfString::SetColumnData(), SALOMEDSImpl_AttributeTableOfReal::SetColumnData(), SALOMEDSImpl_AttributeTableOfInteger::SetColumnData(), SALOMEDSImpl_AttributeTableOfString::SetColumnTitle(), SALOMEDSImpl_AttributeTableOfReal::SetColumnTitle(), SALOMEDSImpl_AttributeTableOfInteger::SetColumnTitle(), SALOMEDSImpl_AttributeTableOfString::SetColumnTitles(), SALOMEDSImpl_AttributeTableOfReal::SetColumnTitles(), SALOMEDSImpl_AttributeTableOfInteger::SetColumnTitles(), SALOMEDSImpl_AttributeDrawable::SetDrawable(), SALOMEDSImpl_AttributeExpandable::SetExpandable(), SALOMEDSImpl_AttributeTreeNode::SetFather(), SALOMEDSImpl_AttributeTreeNode::SetFirst(), SALOMEDSImpl_AttributeParameter::SetInt(), SALOMEDSImpl_AttributeParameter::SetIntArray(), SALOMEDSImpl_AttributeTableOfString::SetNbColumns(), SALOMEDSImpl_AttributeTableOfReal::SetNbColumns(), SALOMEDSImpl_AttributeTableOfInteger::SetNbColumns(), SALOMEDSImpl_AttributeTreeNode::SetNext(), SALOMEDSImpl_AttributePythonObject::SetObject(), SALOMEDSImpl_AttributePixMap::SetPixMap(), SALOMEDSImpl_AttributeTreeNode::SetPrevious(), SALOMEDSImpl_AttributeParameter::SetReal(), SALOMEDSImpl_AttributeParameter::SetRealArray(), SALOMEDSImpl_AttributeTarget::SetRelation(), SALOMEDSImpl_AttributeTableOfString::SetRowData(), SALOMEDSImpl_AttributeTableOfReal::SetRowData(), SALOMEDSImpl_AttributeTableOfInteger::SetRowData(), SALOMEDSImpl_AttributeTableOfString::SetRowTitle(), SALOMEDSImpl_AttributeTableOfReal::SetRowTitle(), SALOMEDSImpl_AttributeTableOfInteger::SetRowTitle(), SALOMEDSImpl_AttributeTableOfString::SetRowTitles(), SALOMEDSImpl_AttributeTableOfReal::SetRowTitles(), SALOMEDSImpl_AttributeTableOfInteger::SetRowTitles(), SALOMEDSImpl_AttributeTableOfString::SetRowUnit(), SALOMEDSImpl_AttributeTableOfReal::SetRowUnit(), SALOMEDSImpl_AttributeTableOfInteger::SetRowUnit(), SALOMEDSImpl_AttributeTableOfReal::SetRowUnits(), SALOMEDSImpl_AttributeTableOfInteger::SetRowUnits(), SALOMEDSImpl_AttributeParameter::SetStrArray(), SALOMEDSImpl_AttributeParameter::SetString(), SALOMEDSImpl_AttributeTextColor::SetTextColor(), SALOMEDSImpl_AttributeTextHighlightColor::SetTextHighlightColor(), SALOMEDSImpl_AttributeTableOfString::SetTitle(), SALOMEDSImpl_AttributeTableOfReal::SetTitle(), SALOMEDSImpl_AttributeTableOfInteger::SetTitle(), SALOMEDSImpl_AttributeTreeNode::SetTreeID(), SALOMEDSImpl_AttributeExternalFileDef::SetValue(), SALOMEDSImpl_AttributeFileType::SetValue(), SALOMEDSImpl_AttributeInteger::SetValue(), SALOMEDSImpl_AttributeReal::SetValue(), SALOMEDSImpl_AttributeUserID::SetValue(), SALOMEDSImpl_AttributeLocalID::SetValue(), SALOMEDSImpl_AttributeString::SetValue(), SALOMEDSImpl_AttributeName::SetValue(), SALOMEDSImpl_AttributeComment::SetValue(), SALOMEDSImpl_AttributeIOR::SetValue(), SALOMEDSImpl_AttributePersistentRef::SetValue(), SALOMEDSImpl_AttributeTableOfString::SwapCells(), SALOMEDSImpl_AttributeTableOfReal::SwapCells(), and SALOMEDSImpl_AttributeTableOfInteger::SwapCells().
void SALOMEDSImpl_AttributeStudyProperties::SetUnits | ( | const std::string & | theUnits | ) |
References DF_Attribute::Backup(), SALOMEDSImpl_GenericAttribute::CheckLocked(), and myUnits.
Referenced by Load(), and SALOMEDS_AttributeStudyProperties::SetUnits().
|
virtualinherited |
Reimplemented in SALOMEDSImpl_AttributeTreeNode, and SALOMEDSImpl_AttributeUserID.
References SALOMEDSImpl_GenericAttribute::_type.
Referenced by SALOMEDSImpl_SObject::GetAllAttributes(), SALOMEDSImpl_GenericAttribute::Impl_GetType(), main(), and SALOMEDS_GenericAttribute::Type().
|
protectedinherited |
|
protectedinherited |
Referenced by SALOMEDSImpl_GenericAttribute::Type().
|
private |
Referenced by GetComment(), and SetComment().
|
private |
Referenced by GetComponentsVersions(), GetComponentVersions(), GetStoredComponents(), Init(), Paste(), Restore(), Save(), SetComponentsVersions(), and SetComponentVersion().
|
private |
Referenced by Init(), Paste(), Restore(), and SetModification().
|
private |
Referenced by Init(), Paste(), Restore(), and SetModification().
|
private |
Referenced by IsLockChanged(), SALOMEDSImpl_AttributeStudyProperties(), and SetLocked().
|
private |
Referenced by IsLocked(), SALOMEDSImpl_AttributeStudyProperties(), and SetLocked().
|
private |
Referenced by Init(), Paste(), Restore(), and SetModification().
|
private |
Referenced by GetCreationMode(), Init(), Paste(), Restore(), and SetCreationMode().
|
private |
Referenced by GetModified(), IsModified(), SALOMEDSImpl_AttributeStudyProperties(), and SetModified().
|
private |
Referenced by Init(), Paste(), Restore(), and SetModification().
|
private |
Referenced by GetUnits(), and SetUnits().
|
private |
Referenced by ChangeCreatorName(), GetCreatorName(), Init(), Paste(), Restore(), and SetModification().
|
private |
Referenced by Init(), Paste(), Restore(), and SetModification().