| Iterator () Null iterator contructor (ok() is false) |
| Iterator (const Error &pError) Error iterator constructor (ok() is false, error message provided) |
| Iterator (const std::shared_ptr< PItem > &pItem) |
| bool | ok () const True if the iterator points to a valid location in the project. |
| void | setError (const Error &pError) Set an error state in the Iterator. Will make it invalid (!ok()) |
| const Error & | getError () const Return the error state of an invalid iterator. An null iteration might not have an error state. |
| bool | operator== (const Iterator &pObj) const True if the two iterators point to the same target. |
| bool | operator!= (const Iterator &pObj) const |
| PItemType | getType () const Return the project item type as a PItemType enum. |
| std::string | getTypeAsString () const Return the project item type as a string. |
| std::string | getSubclass () const Return name of the subclass (if any) for the item. |
| std::string | getName () const Name of the project item (might differ from URL filename) |
| Error | rename (const std::string &pName) Rename the project item. |
| Path | getPath () const Return the item full Path in the project. |
| Iterator | getParent () const Return the iterator to the parent folder. |
| Iterator | getParentOfType (const std::string &pType) const Go up in the chain of parent and search for matching getTypeAsString() |
| Iterator | getParentOfSubclass (const std::string &pSubclass) const Go up in the chain of parent and search for matching getSubclass() |
| void | accept (Visitor &pVisitor) |
| int | getProjectId () const Return the unique project ID for this iterator. |
| bool | isReadOnly () const Indicates if the target project or location is read-only. |
| Metadata & | getMeta () Returns the Metadata for this project item. |
| const Metadata & | getMeta () const Returns a constant reference to the Metadata for this project item. |
| Metadata & | getRuntimeMeta () Returns a reference to the runtime Metadata. |
| const Metadata & | getRuntimeMeta () const Constant version of getRuntimeMeta() |
| std::vector< Iterator > | find (const Query &pQuery, bool pFollowSymlink=false) const Execute a Query onto the current Iterator. |
| bool | isFile () const True if the -valid- pointed object is a File. |
| bool | isLink () const True if the -valid- pointed object is a Link. |
| bool | isFolder () const True if the -valid- pointed object is a Folder. |
| bool | isPropertyTree () const |
| PItem * | asItem () const |
| Iterator | newFolder (const std::string &pName) Creates a new project-only folder at this location in the project. |
| Iterator | newFolder (const std::string &pName, const URL &pURL) Creates a new folder associated with disk storage. |
| Iterator | newFile (const std::string &pName) Creates a new project-only file at this location in the project. |
| Iterator | newFile (const std::string &pName, const URL &pURL, bool pImport=false) Creates a new file associated with disk storage. |
| Iterator | newLink (const std::string &pName, const Iterator &pTarget) Create a project-level symbolic link. |
| Iterator | newPropertyTree (const std::string &pName) |
| Iterator | getChild (const std::string &pName) const Folder - return child item by specified name. |
| Iterator | get (const Path &pName) const Folder - return child sub-item at specified Path. |
| Iterator | getByURL (const URL &pRelativeURL) const Folder - check if a child points to the specified URL. |
| std::vector< std::string > | getChildNames () const Folder - return list of children names. |
| std::vector< Iterator > | getChildList () const Folder - return list of children Iterator. |
| std::vector< Iterator > | getChildListOfSubclass (std::string pSubclass) const Folder - return list of children Iterator of matching subclass. |
| std::vector< std::string > | getFolderOtherURLSubItems (bool pFolders) const Folder - return list of files in the folder URL, unknown by the project. |
| Error | removeItem (const std::string &pName, bool pFlagRecursive=false) Folder - remove an item from the folder. Not erased from storage. |
| Error | moveTo (Iterator pTargetFolder) Iterator - move from current folder to a target folder. |
| void | setURL (const URL &pURL) File/Folder - set the URL pointed by this item. |
| URL | getURL () const File/Folder - returns the URL pointed by this item. |
| URL | getURLFromRoot () const File/Folder - returns the relative URL as computed from the root of the project. |
| URL | getFullURL () const File/Folder - returns the absolute, including the project location - if suitable. |
| bool | urlExists () const File/Folder - indicates if the item URL points to a valid/accessible file/folder. |
| bool | isURLEditable () const Indicates if the URL is ok to be modified by the user. |
| void | clearChecksum () Clear the stored checksum value for the pointed file. |
| Error | computeChecksum (std::string &pChecksum, bool pFlagStore) Compute a checksum for the stored file. |
| Error | getStoredChecksum (std::string &pChecksum) const Get the stored checksum for the file, can be used to compare with the current computeChecksum() |
| Iterator | getTarget () const Link - Return the Iterator of the link target. |
| std::string | getTargetStr () const |
| void | setTarget (const Iterator &pIter) Link - Change the Iterator of the link target. |
| bool | isSubProject () const Link - Indicates if this is a link to a subproject. |
| bool | operator< (const Iterator &pObj) const |