Version: 8.3.0
DF_Document Class Reference

#include <DF_Document.hxx>

Public Member Functions

 DF_Document (const std::string &theDocumentType)
 
 ~DF_Document ()
 
DF_ApplicationGetApplication ()
 
DF_Label Main ()
 
DF_Label Root ()
 
int GetDocumentID () const
 
std::string GetDocumentType ()
 
void Clear ()
 
bool IsEmpty ()
 
bool IsModified ()
 
void SetModified (bool isModified)
 
virtual void Load (const std::string &theData)
 
virtual std::string Save ()
 

Private Attributes

DF_Label _main
 
DF_Label _root
 
std::string _type
 
int _id
 
bool _modified
 
DF_Application_appli
 

Friends

class DF_Application
 

Constructor & Destructor Documentation

DF_Document::DF_Document ( const std::string &  theDocumentType)

References _id, _modified, and _type.

DF_Document::~DF_Document ( )

References Clear().

Member Function Documentation

DF_Application * DF_Document::GetApplication ( )

References _appli.

Referenced by SALOMEDSImpl_Study::Close().

int DF_Document::GetDocumentID ( ) const

References _id.

Referenced by DF_Application::Close(), and getGenObjRegister().

std::string DF_Document::GetDocumentType ( )

References _type.

bool DF_Document::IsModified ( )

References _modified.

Referenced by SALOMEDSImpl_Study::IsModified().

void DF_Document::Load ( const std::string &  theData)
virtual
std::string DF_Document::Save ( )
virtual

Friends And Related Function Documentation

friend class DF_Application
friend

Field Documentation

DF_Application* DF_Document::_appli
private
int DF_Document::_id
private
DF_Label DF_Document::_main
private

Referenced by Main().

bool DF_Document::_modified
private
DF_Label DF_Document::_root
private

Referenced by Clear(), IsEmpty(), Main(), and Root().

std::string DF_Document::_type
private

Referenced by DF_Document(), and GetDocumentType().