Logo Search packages:      
Sourcecode: bppphyview version File versions  Download package

Public Member Functions | Private Attributes

TreeDocument Class Reference

#include <TreeDocument.h>

List of all members.

Public Member Functions

void addView (DocumentView *viewer)
const string & getFileFormat () const
const string & getFilePath () const
const std::string & getName () const
TreeTemplate< Node > * getTree ()
const TreeTemplate< Node > * getTree () const
QUndoStack & getUndoStack ()
bool modified () const
void modified (bool yn)
void setFile (const string &filePath, const string &fileFormat)
void setTree (const Tree &tree)
void updateAllViews ()

Private Attributes

std::string currentFileFormat_
std::string currentFilePath_
std::string documentName_
bool modified_
TreeTemplate< Node > * tree_
QUndoStack undoStack_
vector< DocumentView * > viewers_

Detailed Description

Contains a tree and all associated data, if any. Also contains a path where to write, and a format, which are use for actions like "save", "save as", "save a copy".

Definition at line 75 of file TreeDocument.h.

The documentation for this class was generated from the following file:

Generated by  Doxygen 1.6.0   Back to index