#include <DF_Document.hxx>
DF_Document::DF_Document |
( |
const std::string & |
theDocumentType | ) |
|
DF_Document::~DF_Document |
( |
| ) |
|
void DF_Document::Clear |
( |
| ) |
|
int DF_Document::GetDocumentID |
( |
| ) |
const |
std::string DF_Document::GetDocumentType |
( |
| ) |
|
bool DF_Document::IsEmpty |
( |
| ) |
|
bool DF_Document::IsModified |
( |
| ) |
|
void DF_Document::Load |
( |
const std::string & |
theData | ) |
|
|
virtual |
References DF_LabelNode::_document, _main, DF_Label::_node, _root, DF_Label::FindChild(), and DF_Label::IsNull().
Referenced by SALOMEDSImpl_StudyBuilder::Addreference(), SALOMEDSImpl_UseCaseBuilder::AddUseCase(), SALOMEDSImpl_StudyManager::CanPaste(), SALOMEDSImpl_StudyManager::Copy(), SALOMEDSImpl_Study::CreateObjectID(), SALOMEDSImpl_Study::FindObjectByPath(), SALOMEDSImpl_Study::FindObjectID(), SALOMEDSImpl_Study::GetComponentNames(), SALOMEDSImpl_StudyManager::GetOpenStudies(), SALOMEDSImpl_Study::GetProperties(), SALOMEDSImpl_Study::GetSComponent(), SALOMEDSImpl_Study::GetSObject(), SALOMEDSImpl_UseCaseBuilder::GetUseCaseIterator(), SALOMEDSImpl_UseCaseBuilder::IsUseCase(), DF_Label::Label(), SALOMEDSImpl_StudyBuilder::LoadWith(), main(), SALOMEDSImpl_StudyBuilder::NewComponent(), SALOMEDSImpl_StudyManager::Open(), SALOMEDSImpl_StudyManager::Paste(), DF_Label::Root(), SALOMEDSImpl_SComponentIterator::SALOMEDSImpl_SComponentIterator(), SALOMEDSImpl_Study::SALOMEDSImpl_Study(), SALOMEDSImpl_UseCaseBuilder::SALOMEDSImpl_UseCaseBuilder(), SALOMEDSImpl_Study::SetTransientReference(), and SALOMEDSImpl_Study::UpdateIORLabelMap().
std::string DF_Document::Save |
( |
| ) |
|
|
virtual |
void DF_Document::SetModified |
( |
bool |
isModified | ) |
|
References _modified.
Referenced by SALOMEDSImpl_StudyBuilder::AddDirectory(), SALOMEDSImpl_StudyBuilder::CommitCommand(), SALOMEDSImpl_StudyBuilder::FindOrCreateAttribute(), SALOMEDSImpl_Study::IsSaved(), SALOMEDSImpl_Study::Modify(), SALOMEDSImpl_StudyBuilder::NewComponent(), SALOMEDSImpl_StudyBuilder::NewObject(), SALOMEDSImpl_StudyBuilder::NewObjectToTag(), SALOMEDSImpl_StudyBuilder::Redo(), SALOMEDSImpl_StudyBuilder::RemoveAttribute(), SALOMEDSImpl_StudyBuilder::RemoveObject(), SALOMEDSImpl_StudyBuilder::RemoveObjectWithChildren(), SALOMEDSImpl_StudyBuilder::RemoveReference(), SALOMEDSImpl_StudyBuilder::SetComment(), SALOMEDSImpl_StudyBuilder::SetGUID(), SALOMEDSImpl_StudyBuilder::SetIOR(), SALOMEDSImpl_StudyBuilder::SetName(), and SALOMEDSImpl_StudyBuilder::Undo().
bool DF_Document::_modified |
|
private |
std::string DF_Document::_type |
|
private |