Version: 8.3.0
DF_Application Class Reference

#include <DF_Application.hxx>

Public Member Functions

 DF_Application ()
 
 ~DF_Application ()
 
DF_DocumentNewDocument (const std::string &theDocumentType)
 
void Close (const DF_Document *theDocument)
 
DF_DocumentGetDocument (int theDocumentID)
 
std::vector< int > GetDocumentIDs ()
 
int NbDocuments ()
 
virtual DF_DocumentOpen (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
 

Constructor & Destructor Documentation

DF_Application::DF_Application ( )

References _currentID.

DF_Application::~DF_Application ( )

References _documents.

Member Function Documentation

DF_Document * DF_Application::GetDocument ( int  theDocumentID)
std::vector< int > DF_Application::GetDocumentIDs ( )
int DF_Application::NbDocuments ( )
DF_Document * DF_Application::Open ( const std::string &  theFileName)
virtual
void DF_Application::SaveAs ( const DF_Document theDocument,
const std::string &  theFileName 
)
virtual

Field Documentation

int DF_Application::_currentID
private

Referenced by DF_Application(), and NewDocument().

std::map<int, DF_Document*> DF_Application::_documents
private