hecl
High-Level Extensible Combiner Language and Resource Database
Public Member Functions | List of all members
HECL::ProjectRootPath Class Reference

Special ProjectRootPath subclass for opening HECLDatabase::IProject instances. More...

#include <HECL.hpp>

Inheritance diagram for HECL::ProjectRootPath:
Inheritance graph
Collaboration diagram for HECL::ProjectRootPath:
Collaboration graph

Public Member Functions

 ProjectRootPath (const SystemString &path)
 
- Public Member Functions inherited from HECL::ProjectPath
 ProjectPath (const ProjectRootPath &rootPath, const SystemString &path)
 Construct a project subpath representation. More...
 
bool isRoot () const
 Determine if ProjectPath represents project root directory. More...
 
const SystemString & getAbsolutePath () const
 Access fully-canonicalized absolute path. More...
 
const SystemString & getRelativePath () const
 Access fully-canonicalized project-relative path. More...
 
const std::string & getAbsolutePathUTF8 () const
 Access fully-canonicalized absolute path in UTF-8. More...
 
const std::string & getRelativePathUTF8 () const
 
PathType getPathType () const
 Get type of path based on syntax and filesystem queries. More...
 
Time getModtime () const
 Get time of last modification with special behaviors for directories and glob-paths. More...
 
void getGlobResults (std::vector< SystemString > &outPaths) const
 Insert glob matches into existing vector. More...
 
size_t hash () const
 C++11 compatible runtime hash (NOT USED IN PACKAGES!!) More...
 
bool operator== (const ProjectPath &other) const
 
bool operator!= (const ProjectPath &other) const
 

Additional Inherited Members

- Public Types inherited from HECL::ProjectPath
enum  PathType { PT_NONE, PT_FILE, PT_DIRECTORY, PT_GLOB }
 Type of path. More...
 
- Protected Member Functions inherited from HECL::ProjectPath
bool _canonAbsPath (const SystemString &path)
 
- Protected Attributes inherited from HECL::ProjectPath
SystemString m_absPath
 
SystemString m_relPath
 
size_t m_hash = 0
 

Detailed Description

Special ProjectRootPath subclass for opening HECLDatabase::IProject instances.

Constructing a ProjectPath requires supplying a ProjectRootPath to consistently resolve canonicalized relative paths.


The documentation for this class was generated from the following file: