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

This class will write a page configuration to the given XML node. More...

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

Public Member Functions

 DtVrfPageConfigurationWriter (const DtInformationPageConfiguration &)
 CTOR.
virtual ~DtVrfPageConfigurationWriter ()
 DTOR.
virtual void writeTo (DtEnvironment *env, DtEnvValueSP root) const
- Public Member Functions inherited from makVrf::DtInformationPageConfiguration
 DtInformationPageConfiguration ()
 CTOR.
 DtInformationPageConfiguration (const makVrv::DtPageConfiguration &)
 DtInformationPageConfiguration (const DtInformationPageConfiguration &)
 ~DtInformationPageConfiguration ()
 DTOR.
void addPagePath (const DtInformationPagePath &path, int weight=-1)
void addPagePathBefore (const DtInformationPagePath &path, const DtInformationPagePath &relativeTo)
void addPagePathAfter (const DtInformationPagePath &path, const DtInformationPagePath &relativeTo)
virtual void addPageItemToSection (const std::string &collectionName, const std::string &section, const std::string &pageItemName, int row, int col, int rowSpan=1, int colSpan=1, int width=-1, int height=-1)
virtual void addInformationItemToSection (const std::string &collectionName, const std::string &section, const std::string &informationItemName, int row, int col, int rowSpan=1, int colSpan=1, int width=-1, int height=-1)
virtual void removePageItemFromSection (const std::string &collectionName, const std::string &section, const std::string &pageItemName)
virtual void removeInformationItemFromSection (const std::string &collectionName, const std::string &section, const std::string &informationItemName)
virtual std::string pageForInformationItem (const std::string &item) const
 Given an information dialog item, find a page that has that item.
virtual void getChildren (const DtInformationPagePath &path, PagePathList &children) const
- Public Member Functions inherited from makVrv::DtPageConfiguration
 DtPageConfiguration ()
 CTOR.
 ~DtPageConfiguration ()
 DTOR.
DtPageConfigurationoperator= (const DtPageConfiguration &rhs)
 Assignment operator.
void addPageCollection (const std::string &collectionClassName, const DtUnicode &pageTitle, PageCollectionLocation location, bool visible, const std::string &pageClassToShow, bool closable=true, bool floatable=true, bool movable=true)
 Add a new page collection to the configuration.
void removePageCollection (const std::string &collectionClassName)
 Remove a page collection.
const PageCollectionStatefindPageCollectionState (const std::string &collectionClassName) const
 Find a page collection state.
PageCollectionStatefindPageCollectionState (const std::string &collectionClassName)
const bool isPageVisible (const std::string &pageName) const
 Check whether a page (specified by name) is visible in this configuration.
const DtUnicodefindPageCollectionTitle (const std::string &collectionClassName) const
 Find a page collection title.
DtUnicodefindPageCollectionTitle (const std::string &collectionClassName)
void addPagePath (const DtPagePath &, int weight=-1)
 Adds the menu path (as well as its entire family).
void addPagePathAfter (const DtPagePath &newPath, const DtPagePath &relativeTo)
 Adds the menu path after a relative (they must share the same parent).
void addPagePathBefore (const DtPagePath &newPath, const DtPagePath &relativeTo)
 Adds the menu path before a relative (they must share the same parent).
void addConfiguration (const DtPageConfiguration &subConfiguration)
 Merges from an external configurations into this configuration.
void removePagePath (const DtPagePath &)
 Remove the page path.
void getRootPaths (PagePathList &children) const
 Get all paths which have no parents (aka top level paths).
void getChildren (const DtPagePath &path, PagePathList &children) const
 Get a list of children (first generation only) for a given path.
void sortChildren (PagePathList &children) const
 Sort the list of children.
virtual PagePathList filterForAbsoluteChildren (const PagePathList &children) const
 Filter a list of only the page paths with absolute positions.
virtual PagePathList filterForRelativeChildren (const PagePathList &children) const
 Filter a list of only the page paths with relative positions.
int getNewWeight ()
 Get new weight.
void merge (const DtPageConfiguration &rhs)
 Merges in contents of supplied configuration, adding new paths.
void copyValuesFrom (const DtPageConfiguration &source)
 Uses the location, geometry, order, etc.
bool hasPagePath (const DtPagePath &p) const
 Returns true if has the menu path.
const PageCollectionStatesMapstates () const
 Returns the map of page collection states.
const PageCollectionTitlesMaptitles () const
 Returns the map of page collection titles.
- Public Member Functions inherited from makVrv::DtConfiguration
 DtConfiguration (const std::string &name="")
 CTOR.
 DtConfiguration (const DtConfiguration &)
 Copy CTOR.
DtConfigurationoperator= (const DtConfiguration &)
 Assignment OP.
virtual ~DtConfiguration ()
 DTOR.
virtual const std::string & name () const
 Get the configuration name.
virtual void setName (const std::string &name)
 Set the configuration name.
virtual const std::string * findOptionalParameter (const std::string &name) const
 Find an optional parameters.
virtual void setOptionalParameter (const std::string &name, const std::string &value)
 Set an optional parameter.
virtual void setOptionalParameters (const ParameterMap &)
 Set an optional parameters.
virtual void removeOptionalParameter (const std::string &name)
 Remove an optional parameter.
const ParameterMapoptionalParameters () const
 Get the optional parameters.

Protected Member Functions

virtual void writePagePath (DtEnvironment *env, DtEnvValueSP root, const DtInformationPagePath &menuPath) const

Additional Inherited Members

- Public Types inherited from makVrv::DtPageConfiguration
enum  PageCollectionLocation {
  DockLeft = 0, DockRight = 1, DockTop = 2, DockBottom = 3,
  FloatLeft = DockLeft | 4, FloatRight = DockRight | 4, FloatTop = DockTop | 4, FloatBottom = DockBottom | 4,
  Dialog, Location_End
}
typedef std::list< DtPagePathPagePathList
typedef std::set< DtPagePathPagePathSet
typedef std::map< std::string,
PageCollectionState
PageCollectionStatesMap
typedef std::map< std::string,
DtUnicode
PageCollectionTitlesMap
- Protected Types inherited from makVrv::DtPageConfiguration
typedef std::map< DtPagePath,
OrderParameters
PagePathOrderMap
- Protected Attributes inherited from makVrv::DtPageConfiguration
PagePathSet myPagePaths
PagePathOrderMap myPageOrder
PageCollectionStatesMap myCollections
PageCollectionTitlesMap myPageCollectionTitles
int myCurrentWeight

Detailed Description

This class will write a page configuration to the given XML node.

Constructor & Destructor Documentation

makVrf::DtVrfPageConfigurationWriter::DtVrfPageConfigurationWriter ( const DtInformationPageConfiguration )

CTOR.

virtual makVrf::DtVrfPageConfigurationWriter::~DtVrfPageConfigurationWriter ( )
virtual

DTOR.

Member Function Documentation

virtual void makVrf::DtVrfPageConfigurationWriter::writeTo ( DtEnvironment *  env,
DtEnvValueSP  root 
) const
virtual
virtual void makVrf::DtVrfPageConfigurationWriter::writePagePath ( DtEnvironment *  env,
DtEnvValueSP  root,
const DtInformationPagePath menuPath 
) const
protectedvirtual

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)