VR-Forces 4.3 Class Documentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
List of all members | Classes | Public Member Functions | Static Public Member Functions
makVrf::DtSubMenuPath Class Reference
Inheritance diagram for makVrf::DtSubMenuPath:
Inheritance graph
[legend]

Classes

struct  SubMenuPathBuilder

Public Member Functions

 DtSubMenuPath (const makVrv::DtMenuPath &p)
 DtSubMenuPath (const std::string &p)
DtSubMenuPathoperator= (const DtSubMenuPath &rhs)
DtSubMenuPathoperator= (const SubMenuPathBuilder &rhs)
DtSubMenuPathoperator= (const std::string &rhs)
const std::string & path () const
void strip (const std::string &str1, const std::string &str2)
- Public Member Functions inherited from makVrv::DtMenuPath
 DtMenuPath (const MenuPathBuilder &builder)
 DtMenuPath (const DtMenuPath &copy)
 Copy CTOR.
DtMenuPath menuPart () const
 Get the menu path part of this path.
DtMenuPath parentMenu () const
 Get the path to the parent of this path.
DtMenuPath rootParentMenu () const
 Get the root parent of this path.
std::string name () const
 Get the name of the this menu path, this is either the item name or the menu name.
bool isEmpty () const
 Is the path empty.
bool isAbsolutePath () const
 Is this path rooted off a main menu.
bool isMainMenu () const
 Is this item a main menu path.
bool isPopupPath () const
 Is this item a popup menu path.
bool isMenu () const
 Is the path a menu (not an item)?
bool isItem () const
 Is the path an item?
bool isChildOf (const DtMenuPath &parent) const
 Is this path it's direct parent.
bool isDescendant (const DtMenuPath &ancestor) const
 Is this path under the given path.
bool isSiblingOf (const DtMenuPath &sibling) const
 Does this path have the same parent as the given path.
bool isSeparator () const
 Is this path for a separator.
bool operator== (const DtMenuPath &other) const
bool operator< (const DtMenuPath &other) const
bool operator!= (const DtMenuPath &other) const

Static Public Member Functions

static SubMenuPathBuilder path (const makVrv::DtMenuPath &p)
static SubMenuPathBuilder path (const std::string &p)
- Static Public Member Functions inherited from makVrv::DtMenuPath
static DtMenuPath empty ()
static DtMenuPath root ()
static DtMenuPath popup ()
static MenuPathBuilder mainMenu (const std::string &name)
static MenuPathBuilder popupMenu (const std::string &name)
static MenuPathBuilder menu (const std::string &name)

Additional Inherited Members

- Protected Member Functions inherited from makVrv::DtMenuPath
 DtMenuPath (const std::string &path)
 Protected CTOR, use the static MenuMenu function to start a path.
- Protected Attributes inherited from makVrv::DtMenuPath
std::string myPath
 Internal path.

Constructor & Destructor Documentation

makVrf::DtSubMenuPath::DtSubMenuPath ( const makVrv::DtMenuPath p)
inline
makVrf::DtSubMenuPath::DtSubMenuPath ( const std::string &  p)
inline

Member Function Documentation

DtSubMenuPath& makVrf::DtSubMenuPath::operator= ( const DtSubMenuPath rhs)
inline
DtSubMenuPath& makVrf::DtSubMenuPath::operator= ( const SubMenuPathBuilder rhs)
inline
DtSubMenuPath& makVrf::DtSubMenuPath::operator= ( const std::string &  rhs)
inline
const std::string& makVrf::DtSubMenuPath::path ( ) const
inline

Reimplemented from makVrv::DtMenuPath.

References makVrv::DtMenuPath::path().

static SubMenuPathBuilder makVrf::DtSubMenuPath::path ( const makVrv::DtMenuPath p)
inlinestatic
static SubMenuPathBuilder makVrf::DtSubMenuPath::path ( const std::string &  p)
inlinestatic
void makVrf::DtSubMenuPath::strip ( const std::string &  str1,
const std::string &  str2 
)
inline

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

Document ID: Generated on Wed Mar 11 21:20:57 EDT 2015 from SVN revision 150940
Copyright © 2005-2014 VT MÄK. All Rights Reserved (www.mak.com)