VR-Forces 4.8 Class Documentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
List of all members | Classes | Public Member Functions | Static Public Member Functions
makVrf::DtInformationPagePath Class Reference

A page path is the location of a page based upon it's parents. More...

Inheritance diagram for makVrf::DtInformationPagePath:
Inheritance graph
[legend]

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)
 Copy CTOR. More...
 
 DtInformationPagePath (const DtPagePath &copy)
 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)
 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...
 

Detailed Description

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

Constructor & Destructor Documentation

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.

Member Function Documentation

static InformationPagePathBuilder makVrf::DtInformationPagePath::collection ( const std::string &  name)
static
static InformationPagePathBuilder makVrf::DtInformationPagePath::page ( const std::string &  name)
static
static InformationPagePathBuilder makVrf::DtInformationPagePath::section ( const std::string &  name)
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 bool makVrf::DtInformationPagePath::isChildOf ( const DtInformationPagePath parent) 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

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

Document ID: Generated on Thu Aug 27 10:56:05 EDT 2020 from SVN revision 217100
Copyright © 2005-2020 MAK Technologies. All Rights Reserved (www.mak.com)