VR-Link API Documentation for HLA Evolved
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:

List of all members.

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.

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.

Protected Member Functions

 DtEnvNamedList (const DtString &name, const DtString &value)
virtual DtEnvValueclone () const
 Create a deep copy.

Friends

class DtEnvironment

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

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 [protected, virtual]

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]

Reimplemented from DtEnvList.

Reimplemented in DtEnvObject.


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)