#include <DF_Application.hxx>
Public Member Functions | |
DF_Application () | |
~DF_Application () | |
DF_Document * | NewDocument (const std::string &theDocumentType) |
void | Close (const DF_Document *theDocument) |
DF_Document * | GetDocument (int theDocumentID) |
std::vector< int > | GetDocumentIDs () |
int | NbDocuments () |
virtual DF_Document * | Open (const std::string &theFileName) |
virtual void | SaveAs (const DF_Document *theDocument, const std::string &theFileName) |
Private Attributes | |
int | _currentID |
std::map< int, DF_Document * > | _documents |
DF_Application::DF_Application | ( | ) |
References _currentID.
DF_Application::~DF_Application | ( | ) |
References _documents.
void DF_Application::Close | ( | const DF_Document * | theDocument | ) |
DF_Document * DF_Application::GetDocument | ( | int | theDocumentID | ) |
References _documents.
Referenced by SALOMEDSImpl_StudyManager::GetOpenStudies().
std::vector< int > DF_Application::GetDocumentIDs | ( | ) |
References _documents.
Referenced by SALOMEDSImpl_StudyManager::GetOpenStudies().
int DF_Application::NbDocuments | ( | ) |
References _documents.
Referenced by SALOMEDSImpl_StudyManager::GetOpenStudies(), and SALOMEDSImpl_StudyManager::GetStudyByID().
DF_Document * DF_Application::NewDocument | ( | const std::string & | theDocumentType | ) |
|
virtual |
|
virtual |
|
private |
Referenced by DF_Application(), and NewDocument().
|
private |
Referenced by Close(), GetDocument(), GetDocumentIDs(), NbDocuments(), NewDocument(), and ~DF_Application().