![]() |
VR-Forces 4.8 Class Documentation
|
A page path is the location of a page based upon it's parents. More...

Classes | |
| struct | InformationPagePathBuilder |
Public Member Functions | |
| DtInformationPagePath (const std::string &path) | |
| CTOR to use for custom format. More... | |
| DtInformationPagePath () | |
| DtInformationPagePath Needed for serialization. More... | |
| DtInformationPagePath (const InformationPagePathBuilder &builder) | |
| CTOR. More... | |
| DtInformationPagePath (const DtInformationPagePath ©) | |
| Copy CTOR. More... | |
| DtInformationPagePath (const DtPagePath ©) | |
| Copy CTOR. More... | |
| bool | isInformationItem () const |
| bool | isPage () const |
| bool | isSection () const |
| void | variables (std::set< std::string > &) const |
| std::string | name () const |
| virtual bool | isChildOf (const DtInformationPagePath &parent) const |
| DtInformationPagePath | parentPath () const |
| Get the path to the parent of this path. More... | |
| DtInformationPagePath | collectionPart () const |
Public Member Functions inherited from makVrv::DtPagePath | |
| DtPagePath () | |
| Default CTOR. More... | |
| DtPagePath (const PagePathBuilder &builder) | |
| CTOR. More... | |
| DtPagePath (const DtPagePath ©) | |
| Copy CTOR. More... | |
| const std::string & | path () const |
| Get the current path. More... | |
| DtPagePath | collectionPart () const |
| Get the path to the parent of this path. More... | |
| std::string | name () const |
| Calculate the name of the this menu path. More... | |
| bool | isEmpty () const |
| Is the path empty? More... | |
| bool | isCollection () const |
| Is this item a main menu path? More... | |
| bool | isPage () const |
| Is the path a menu (not an item)? More... | |
| bool | isChildOf (const DtPagePath &parent) const |
| Is this path its direct parent? More... | |
| bool | isSiblingOf (const DtPagePath &sibling) const |
| Does this path have the same parent as the given path? More... | |
| bool | operator== (const DtPagePath &other) const |
| Equal comparison operator. More... | |
| bool | operator< (const DtPagePath &other) const |
| Less than comparison operator. More... | |
| bool | operator!= (const DtPagePath &other) const |
| Not equal comparison operator. More... | |
Static Public Member Functions | |
| static InformationPagePathBuilder | collection (const std::string &name) |
| static InformationPagePathBuilder | page (const std::string &name) |
| static InformationPagePathBuilder | section (const std::string &name) |
Static Public Member Functions inherited from makVrv::DtPagePath | |
| static DtPagePath | empty () |
| Create an empty menu path. More... | |
| static DtPagePath | root () |
| Create an empty root menu path. More... | |
| static PagePathBuilder | collection (const std::string &name) |
| Start a main menu. More... | |
Additional Inherited Members | |
Protected Member Functions inherited from makVrv::DtPagePath | |
| template<class Archive > | |
| void | _serialize (Archive &ar, const unsigned int version) |
| Serialize this class. More... | |
| DtPagePath (const std::string &path) | |
| Protected CTOR. More... | |
Protected Attributes inherited from makVrv::DtPagePath | |
| std::string | myPath |
| Internal path. More... | |
A page path is the location of a page based upon it's parents.
A page path usually only consists of a Collection class name and a Page class name. Information collections can also contain items that are placed on the page. This could be in addition to other data items that might be placed on the page by default
| makVrf::DtInformationPagePath::DtInformationPagePath | ( | const std::string & | path | ) |
CTOR to use for custom format.
| makVrf::DtInformationPagePath::DtInformationPagePath | ( | ) |
DtInformationPagePath Needed for serialization.
| makVrf::DtInformationPagePath::DtInformationPagePath | ( | const InformationPagePathBuilder & | builder | ) |
CTOR.
| makVrf::DtInformationPagePath::DtInformationPagePath | ( | const DtInformationPagePath & | copy | ) |
Copy CTOR.
| makVrf::DtInformationPagePath::DtInformationPagePath | ( | const DtPagePath & | copy | ) |
Copy CTOR.
|
static |
|
static |
|
static |
| bool makVrf::DtInformationPagePath::isInformationItem | ( | ) | const |
| bool makVrf::DtInformationPagePath::isPage | ( | ) | const |
| bool makVrf::DtInformationPagePath::isSection | ( | ) | const |
| void makVrf::DtInformationPagePath::variables | ( | std::set< std::string > & | ) | const |
| std::string makVrf::DtInformationPagePath::name | ( | ) | const |
|
virtual |
| DtInformationPagePath makVrf::DtInformationPagePath::parentPath | ( | ) | const |
Get the path to the parent of this path.
If this path is the top level an empty path is returned.
| DtInformationPagePath makVrf::DtInformationPagePath::collectionPart | ( | ) | const |