VR-Link API Documentation for HLA 1516
Public Member Functions | Protected Types | Protected Attributes
DtVariableGroup Class Reference

Represents a group of variables. More...

+ Inheritance diagram for DtVariableGroup:
+ Collaboration diagram for DtVariableGroup:

List of all members.

Public Member Functions

 DtVariableGroup (DtVariableGroup *parent, const DtString &groupName, const DtString &groupType="", const DtString &aDescription="")
virtual ~DtVariableGroup ()
virtual void addBaseVariable (DtBaseConfigVariable *var)
virtual bool changeOnce () const
 What does this do????
virtual bool isRequired () const
 Get if the group is required.
virtual const DtStringname () const
 Get the group's name.
virtual DtString type () const
 Get the Var's type.
virtual void getCommandLineArg (DtCmdLine::CmdLine &cmdLine)
 Get the command line arguments.
virtual void updateFromCommandLineArg ()
 Update the value by its argument.
virtual void getEnvironmentSchemaType (DtEnvironment env, TypeSet &usedTypes) const
 Get an environment value which represents the XML scheme type.
virtual DtEnvValueSP getEnvironmentValue (DtEnvironment env)
 Get an environment value which represent the value of the var.
virtual void updateFromEnvironment (DtEnvironment env)
 Synchronize the var with an environment.
DtEnvValueSP getGroupValue (DtEnvironment env)

Protected Types

typedef std::list
< DtBaseConfigVariable * > 
VariableList

Protected Attributes

DtString myName
DtString myType
DtVariableGroupmyParent
VariableList myVars

Detailed Description

Represents a group of variables.


Member Typedef Documentation

typedef std::list<DtBaseConfigVariable*> DtVariableGroup::VariableList [protected]

Constructor & Destructor Documentation

DtVariableGroup::DtVariableGroup ( DtVariableGroup parent,
const DtString groupName,
const DtString groupType = "",
const DtString aDescription = "" 
)
virtual DtVariableGroup::~DtVariableGroup ( ) [virtual]

Member Function Documentation

virtual void DtVariableGroup::addBaseVariable ( DtBaseConfigVariable var) [virtual]
virtual bool DtVariableGroup::changeOnce ( ) const [virtual]

What does this do????

Reimplemented in DtApplicationSettings.

virtual void DtVariableGroup::getCommandLineArg ( DtCmdLine::CmdLine cmdLine) [virtual]

Get the command line arguments.

Implements DtBaseConfigVariable.

virtual void DtVariableGroup::getEnvironmentSchemaType ( DtEnvironment  env,
TypeSet usedTypes 
) const [virtual]

Get an environment value which represents the XML scheme type.

Implements DtBaseConfigVariable.

Get an environment value which represent the value of the var.

If the var type does not support environment representation a NULL smart pointer should be returned.

Implements DtBaseConfigVariable.

virtual bool DtVariableGroup::isRequired ( ) const [virtual]

Get if the group is required.

Implements DtBaseConfigVariable.

virtual const DtString& DtVariableGroup::name ( ) const [virtual]

Get the group's name.

Implements DtBaseConfigVariable.

virtual DtString DtVariableGroup::type ( ) const [virtual]

Get the Var's type.

Implements DtBaseConfigVariable.

virtual void DtVariableGroup::updateFromCommandLineArg ( ) [virtual]

Update the value by its argument.

This function will not be called if getArg returns NULL.

Implements DtBaseConfigVariable.

virtual void DtVariableGroup::updateFromEnvironment ( DtEnvironment  env) [virtual]

Synchronize the var with an environment.

This function will not be called if getEnvironmentValue() returns NULL.

Implements DtBaseConfigVariable.


Member Data Documentation


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

Document ID: Generated on Mon May 14 08:06:18 EDT 2012 from SVN revision 114750
Copyright © 2005-2012 VT MÄK Inc. All Rights Reserved (www.mak.com)