Member Enumeration Documentation
- Enumerator:
| CategoryFolderOnly |
|
| AddAllEnvironmentals |
Place all items in a single force folder vs.
individual force folders. Note that if under a category there is only one force then all items will be placed directly under the category without a force folder
|
| AddAllForces |
Adds all environmentals regardless of whether or not they are favorites.
If not specified will only add favorite environmentals. Environmentals will be added under force specific menus, unless only one force present, in which case that will be the assumed menu
|
| AddAll |
Adds all forces regardless of whether or not they are favorites.
|
Constructor & Destructor Documentation
| makVrf::DtCreateMenuBuilder::DtCreateMenuBuilder |
( |
| ) |
|
|
private |
| makVrf::DtCreateMenuBuilder::DtCreateMenuBuilder |
( |
makVrv::DtDe & |
, |
|
|
const DtModelSet * |
modelSet |
|
) |
| |
| virtual makVrf::DtCreateMenuBuilder::~DtCreateMenuBuilder |
( |
| ) |
|
|
virtual |
Member Function Documentation
| virtual void makVrf::DtCreateMenuBuilder::setIndividualMenuItems |
( |
const std::vector< DtEntityMapperKey > & |
| ) |
|
|
virtual |
If set before createMenu() is called, places these items not in a sub-menu, but, at the end of the menu as flat items.
The force type selected will be DtForceNeutral if DtForceAny is specified. If specific forces are specified, then it will be created with the first force in the list
| virtual DtMenu* makVrf::DtCreateMenuBuilder::createMenu |
( |
Flags |
| ) |
const |
|
virtual |
Creates a menu from the loaded structure and returns a pointer to it (which must be deleted by the caller).
The structure will be category-><all force="" types="" under="" category>="">-><object for="" each="" force="" type>=""> The menu will never be more than two levels deep
| virtual bool makVrf::DtCreateMenuBuilder::isIndividualMenuItem |
( |
const DtModelSetEntry * |
| ) |
const |
|
protectedvirtual |
| virtual std::map<DtString, int> makVrf::DtCreateMenuBuilder::categoriesWithOnlyOneForce |
( |
const DtModelSet * |
| ) |
const |
|
protectedvirtual |
Returns a mapped list of categories that only have a single force.
When creating then menu, these items will be flattened out. The value of the map is that force type
Member Data Documentation
| makVrv::DtDe& makVrf::DtCreateMenuBuilder::myDe |
|
protected |
| const DtModelSet* makVrf::DtCreateMenuBuilder::myModelSet |
|
protected |
The documentation for this class was generated from the following file: