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

Public Member Functions

 GitPiecewiseLoader (std::shared_ptr< GenericTree > &tree, const GitRepository *repo, QString revision)
 
virtual ~GitPiecewiseLoader () override
 
- Public Member Functions inherited from FilePersistence::PiecewiseLoader
 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) override
 
virtual NodeData loadNodeData (Model::NodeIdType id, bool mayNotExist) override
 

Static Private Member Functions

static bool isPersistenceUnit (const QString &nodeLine)
 
static NodeData parseGrepLine (const QString &line)
 

Private Attributes

std::unique_ptr< const Commitcommit_
 
const GitRepositoryrepo_
 
QString revision_
 
QString workDir_
 

Constructor & Destructor Documentation

◆ GitPiecewiseLoader()

FilePersistence::GitPiecewiseLoader::GitPiecewiseLoader ( std::shared_ptr< GenericTree > &  tree,
const GitRepository repo,
QString  revision 
)

◆ ~GitPiecewiseLoader()

FilePersistence::GitPiecewiseLoader::~GitPiecewiseLoader ( )
overridevirtual

Member Function Documentation

◆ isPersistenceUnit()

bool FilePersistence::GitPiecewiseLoader::isPersistenceUnit ( const QString &  nodeLine)
staticprivate

◆ loadNodeChildrenData()

QList< NodeData > FilePersistence::GitPiecewiseLoader::loadNodeChildrenData ( Model::NodeIdType  id)
overrideprotectedvirtual

◆ loadNodeData()

NodeData FilePersistence::GitPiecewiseLoader::loadNodeData ( Model::NodeIdType  id,
bool  mayNotExist 
)
overrideprotectedvirtual

◆ parseGrepLine()

NodeData FilePersistence::GitPiecewiseLoader::parseGrepLine ( const QString &  line)
staticprivate

Member Data Documentation

◆ commit_

std::unique_ptr<const Commit> FilePersistence::GitPiecewiseLoader::commit_
private

◆ repo_

const GitRepository* FilePersistence::GitPiecewiseLoader::repo_
private

◆ revision_

QString FilePersistence::GitPiecewiseLoader::revision_
private

◆ workDir_

QString FilePersistence::GitPiecewiseLoader::workDir_
private