VR-Link API Documentation for HLA 1.3
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
List of all members | Public Member Functions | Static Public Member Functions | Protected Member Functions | Friends

A specialization of a list which assigns the first value as a name. More...

+ Inheritance diagram for DtEnvNamedList:
+ Collaboration diagram for DtEnvNamedList:

Public Member Functions

virtual ~DtEnvNamedList ()
 DTOR.
virtual DtString name () const
 Get the name of the list.
virtual void setName (const DtString &name)
 Set the name of the list.
virtual DtEnvValueSP first () const
 Get the first child in the list.
- Public Member Functions inherited from DtEnvList
virtual DtEnvValueSP last () const
 Get the last value in the list.
virtual DtEnvValueSP next (DtEnvValueSP) const
 Get the next value after the value passed in.
- Public Member Functions inherited from DtEnvValue
 DtEnvValue (const DtString &value)
virtual ~DtEnvValue ()
virtual DtString value () const
 Get the object's value.
virtual DtString unmodifiedValue () const
 Get the object's value without environmental expansion.
virtual void setValue (const DtString &value)
 Sets the object's value.
virtual DtEnvValueSP parent () const
 Get the parent of the object.
virtual void setParent (DtEnvValueSP parent)
 Set the parent of the object.
DtEnvValueFormat format () const
 Get the format of the object.

Static Public Member Functions

static bool isNamedList (DtEnvValueSP)
 Check whether a value is a named list.
static DtEnvNamedListcastToNamedList (DtEnvValueSP value)
 Cast the value to a named list.
- Static Public Member Functions inherited from DtEnvList
static bool isList (const DtEnvValueSP &)
 Check to see if a value is a list.
static DtEnvListcastToList (const DtEnvValueSP &value)
 Cast a value to a list.

Protected Member Functions

 DtEnvNamedList (const DtString &name, const DtString &value)
virtual DtEnvValueclone () const
 Create a deep copy.
- Protected Member Functions inherited from DtEnvList
 DtEnvList (const DtString &value)
 CTOR.
virtual void cloneChildren (DtEnvList *list) const
 Duplicate children in object.
virtual void append (DtEnvValueSP)
 Append a child into the list.
virtual void remove (DtEnvValueSP)
 Remove a child from the list.
- Protected Member Functions inherited from DtEnvValue
virtual void valueChanged ()
virtual void childChanged (DtEnvValue *)
void addFormat (DtEnvValueFormat format)
 DtEnvValue (const DtString &value, DtEnvValueFormat format)

Friends

class DtEnvironment

Additional Inherited Members

- Public Types inherited from DtEnvValue
enum  DtEnvValueFormat {
  Value = 0, Listed = 1, Named = RESERVED_VALUE(1), Typed = RESERVED_VALUE(2),
  Native = RESERVED_VALUE(3), NamedListed = Named | Listed, NamedTypedListed = Named | Typed | Listed
}
- Protected Attributes inherited from DtEnvList
DtEnvValueList myValues
 The list of values.

Detailed Description

A specialization of a list which assigns the first value as a name.

Constructor & Destructor Documentation

virtual DtEnvNamedList::~DtEnvNamedList ( )
virtual

DTOR.

DtEnvNamedList::DtEnvNamedList ( const DtString name,
const DtString value 
)
protected

Member Function Documentation

static DtEnvNamedList* DtEnvNamedList::castToNamedList ( DtEnvValueSP  value)
static

Cast the value to a named list.

Returns
Returns a null pointer if the value is not a named list.
virtual DtEnvValue* DtEnvNamedList::clone ( ) const
protectedvirtual

Create a deep copy.

Reimplemented from DtEnvList.

Reimplemented in DtEnvObject.

virtual DtEnvValueSP DtEnvNamedList::first ( ) const
virtual

Get the first child in the list.

Reimplemented from DtEnvList.

Reimplemented in DtEnvObject.

static bool DtEnvNamedList::isNamedList ( DtEnvValueSP  )
static

Check whether a value is a named list.

virtual DtString DtEnvNamedList::name ( ) const
virtual

Get the name of the list.

Reimplemented in DtEnvObject.

virtual void DtEnvNamedList::setName ( const DtString name)
virtual

Set the name of the list.

Reimplemented in DtEnvObject.

Friends And Related Function Documentation

friend class DtEnvironment
friend

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

Document ID: Generated on Tue Mar 1 02:56:17 EST 2016 from SVN revision 162687
Copyright © 2005-2014 VT MÄK. All Rights Reserved (www.mak.com)