Envision
A visual programming IDE for object-oriented languages
|
Public Member Functions | |
Commit () | |
~Commit () | |
void | addFile (QString relativePath, qint64 size, std::unique_ptr< char[], CommitFileContentDeleter > content) |
void | addFile (QString relativePath, qint64 size, std::unique_ptr< char[]> content) |
QList< CommitFile * > | files () const |
bool | getFileContent (QString fileName, const char *&content, int &contentSize, bool exactFileNameMatching) const |
bool | isValidMatch (const char *content, qint64 size, const char *indexOfId, int &start, int &end, bool findChildrenByParentId) const |
CommitMetaData | metaData () const |
QStringList | nodeLinesFromId (Model::NodeIdType id, bool findChildrenByParentId=false) const |
void | setMetaData (CommitMetaData data) |
Private Attributes | |
QHash< QString, CommitFile * > | files_ |
CommitMetaData | information_ |
FilePersistence::Commit::Commit | ( | ) |
FilePersistence::Commit::~Commit | ( | ) |
void FilePersistence::Commit::addFile | ( | QString | relativePath, |
qint64 | size, | ||
std::unique_ptr< char[], CommitFileContentDeleter > | content | ||
) |
void FilePersistence::Commit::addFile | ( | QString | relativePath, |
qint64 | size, | ||
std::unique_ptr< char[]> | content | ||
) |
|
inline |
bool FilePersistence::Commit::getFileContent | ( | QString | fileName, |
const char *& | content, | ||
int & | contentSize, | ||
bool | exactFileNameMatching | ||
) | const |
bool FilePersistence::Commit::isValidMatch | ( | const char * | content, |
qint64 | size, | ||
const char * | indexOfId, | ||
int & | start, | ||
int & | end, | ||
bool | findChildrenByParentId | ||
) | const |
|
inline |
QStringList FilePersistence::Commit::nodeLinesFromId | ( | Model::NodeIdType | id, |
bool | findChildrenByParentId = false |
||
) | const |
|
inline |
|
private |
|
private |