| Wt examples
    3.3.0
    | 
Used to uniquely locate a folder within the folder hierarchy. More...
| Public Member Functions | |
| Tree (int parentId, int index, const Git::ObjectId &object, int rowCount) | |
| Constructor. | |
| int | parentId () const | 
| Returns the parent id. | |
| int | index () const | 
| Returns the child index within the parent folder. | |
| const Git::ObjectId & | treeObject () const | 
| Returns the SHA1 id for the git tree object. | |
| int | rowCount () const | 
| Returns the (cached) row count. | |
| Private Attributes | |
| ChildIndex | index_ | 
| Git::ObjectId | treeObject_ | 
| int | rowCount_ | 
Used to uniquely locate a folder within the folder hierarchy.
Definition at line 131 of file GitModel.h.
| GitModel::Tree::Tree | ( | int | parentId, | 
| int | index, | ||
| const Git::ObjectId & | object, | ||
| int | rowCount | ||
| ) |  [inline] | 
Constructor.
Definition at line 135 of file GitModel.h.
| int GitModel::Tree::index | ( | ) | const  [inline] | 
Returns the child index within the parent folder.
Index of this folder within the file list of the parent folder.
Definition at line 152 of file GitModel.h.
{ return index_.index; }
| int GitModel::Tree::parentId | ( | ) | const  [inline] | 
Returns the parent id.
Index of the parent folder within the treeData_ vector.
Definition at line 146 of file GitModel.h.
{ return index_.parentId; }
| int GitModel::Tree::rowCount | ( | ) | const  [inline] | 
| const Git::ObjectId& GitModel::Tree::treeObject | ( | ) | const  [inline] | 
Returns the SHA1 id for the git tree object.
Definition at line 156 of file GitModel.h.
{ return treeObject_; }
| ChildIndex GitModel::Tree::index_  [private] | 
Definition at line 163 of file GitModel.h.
| int GitModel::Tree::rowCount_  [private] | 
Definition at line 165 of file GitModel.h.
| Git::ObjectId GitModel::Tree::treeObject_  [private] | 
Definition at line 164 of file GitModel.h.
 1.7.5.1
 1.7.5.1