Envision
A visual programming IDE for object-oriented languages
List of all members | Public Member Functions | Protected Member Functions | Private Member Functions | Private Attributes
FilePersistence::PiecewiseLoader Class Referenceabstract
Inheritance diagram for FilePersistence::PiecewiseLoader:
FilePersistence::GitPiecewiseLoader

Public Member Functions

 PiecewiseLoader (std::shared_ptr< GenericTree > &tree)
 
virtual ~PiecewiseLoader ()
 
GenericNodeloadAndLinkNode (Model::NodeIdType id, bool mayNotExist)
 
void loadAndLinkNodeChildren (Model::NodeIdType id)
 

Protected Member Functions

virtual QList< NodeDataloadNodeChildrenData (Model::NodeIdType id)=0
 
virtual NodeData loadNodeData (Model::NodeIdType id, bool mayNotExist)=0
 

Private Member Functions

GenericNodeloadNewNode (const NodeData &nodeData)
 

Private Attributes

std::shared_ptr< GenericTreetree_ {}
 

Constructor & Destructor Documentation

◆ PiecewiseLoader()

FilePersistence::PiecewiseLoader::PiecewiseLoader ( std::shared_ptr< GenericTree > &  tree)

◆ ~PiecewiseLoader()

FilePersistence::PiecewiseLoader::~PiecewiseLoader ( )
virtual

Member Function Documentation

◆ loadAndLinkNode()

GenericNode * FilePersistence::PiecewiseLoader::loadAndLinkNode ( Model::NodeIdType  id,
bool  mayNotExist 
)

◆ loadAndLinkNodeChildren()

void FilePersistence::PiecewiseLoader::loadAndLinkNodeChildren ( Model::NodeIdType  id)

◆ loadNewNode()

GenericNode * FilePersistence::PiecewiseLoader::loadNewNode ( const NodeData nodeData)
private

◆ loadNodeChildrenData()

virtual QList<NodeData> FilePersistence::PiecewiseLoader::loadNodeChildrenData ( Model::NodeIdType  id)
protectedpure virtual

◆ loadNodeData()

virtual NodeData FilePersistence::PiecewiseLoader::loadNodeData ( Model::NodeIdType  id,
bool  mayNotExist 
)
protectedpure virtual

Member Data Documentation

◆ tree_

std::shared_ptr<GenericTree> FilePersistence::PiecewiseLoader::tree_ {}
private