Envision
A visual programming IDE for object-oriented languages
List of all members | Public Member Functions | Private Attributes
FilePersistence::CommitGraph Class Reference

Public Member Functions

 CommitGraph (QString start, QString end)
 
void add (QString fromCommitSHA1, QString toCommitSHA1)
 
const CommitGraphItemend () const
 
const CommitGraphItemfind (QString commit) const
 
const CommitGraphItemstart () const
 

Private Attributes

CommitGraphItemend_ {}
 
QHash< QString, CommitGraphItemitems_
 
CommitGraphItemstart_ {}
 

Constructor & Destructor Documentation

◆ CommitGraph()

FilePersistence::CommitGraph::CommitGraph ( QString  start,
QString  end 
)

Member Function Documentation

◆ add()

void FilePersistence::CommitGraph::add ( QString  fromCommitSHA1,
QString  toCommitSHA1 
)

◆ end()

const CommitGraphItem & FilePersistence::CommitGraph::end ( ) const
inline

◆ find()

const CommitGraphItem * FilePersistence::CommitGraph::find ( QString  commit) const

◆ start()

const CommitGraphItem & FilePersistence::CommitGraph::start ( ) const
inline

Member Data Documentation

◆ end_

CommitGraphItem* FilePersistence::CommitGraph::end_ {}
private

◆ items_

QHash<QString, CommitGraphItem> FilePersistence::CommitGraph::items_
private

◆ start_

CommitGraphItem* FilePersistence::CommitGraph::start_ {}
private