VR-Forces 4.0.4 Class Documentation
Public Types | Public Member Functions | Static Public Member Functions | Protected Member Functions | Protected Attributes
DtRemoteConfigurationMapEntry Class Reference

This file declares DtRemoteConfigurationMapEntry. More...

Inheritance diagram for DtRemoteConfigurationMapEntry:
Inheritance graph
[legend]

List of all members.

Public Types

enum  AttachByType { UnspecifiedType = 0, ObjectType, EntityIdType, MarkingTextType }
 Attachment Type enumerations, used as a rule to select entities for attachment. More...

Public Member Functions

 DtRemoteConfigurationMapEntry ()
 Default Constructor.
 DtRemoteConfigurationMapEntry (const DtString &name, DtReaderWriterRegistry *parentRegistry=NULL, bool readonly=false)
 Constructor.
 DtRemoteConfigurationMapEntry (const DtSymbolString &name, DtReaderWriterRegistry *parentRegistry=NULL, bool readonly=false)
 Constructor.
 DtRemoteConfigurationMapEntry (const DtRemoteConfigurationMapEntry &orig)
 Copy constructor.
 DtRemoteConfigurationMapEntry (const DtString &name, const DtRemoteConfigurationMapEntry &orig, DtReaderWriterRegistry *parentRegistry=NULL)
 Copy constructor.
 DtRemoteConfigurationMapEntry (const DtSymbolString &name, const DtRemoteConfigurationMapEntry &orig, DtReaderWriterRegistry *parentRegistry=NULL)
 Copy constructor.
virtual ~DtRemoteConfigurationMapEntry ()
 Destructor.
virtual
DtRemoteConfigurationMapEntry
clone () const
 Clone operator.
DtRemoteConfigurationMapEntryoperator= (const DtRemoteConfigurationMapEntry &orig)
 Assignment operator.
DtRemoteConfigurationMapEntry::AttachByType attachByType () const
 Describes the rule by which entities will be identified for attachment.
void setAttachByType (AttachByType atype)
 Describes the rule by which entities will be identified for attachment.
const DtStringconfigurationKeyName () const
 Get/set component configuration filename.
void setConfigurationKeyName (const DtString &keyname)
 Get/set component configuration filename.
const DtEntityIdentifier & entityIdentifier () const
 Used to identify entity by entity type enumeration.
void setEntityIdentifier (const DtEntityIdentifier &eid)
 Used to identify entity by entity type enumeration.
const std::vector< unsigned > & forceFilters () const
 Returns an array of force types to which this entry applies.
virtual void setForceFilters (const std::vector< unsigned > &filters)
 Returns an array of force types to which this entry applies.
const DtStringmarkingText () const
 Used to explicitly identify an entity by marking text.
void setMarkingText (const char *pStr)
 Used to explicitly identify an entity by marking text.
void setMarkingText (const DtString &sStr)
 Used to explicitly identify an entity by marking text.
const DtObjectTypeobjectType () const
 Used to identify entity by entity type enumeration.
virtual void setObjectType (const DtObjectType &otype)
 Used to identify entity by entity type enumeration.

Static Public Member Functions

static
DtRemoteConfigurationMapEntry
create ()

Protected Member Functions

virtual DtlObjPtr getData (DtlObjPtr args, const DtFilename &searchPath, const DtVariableBindingsList &variableBindings)
 Override getData to parse out member fields.
virtual void parseAttachByField (DtlObjPtr dtlObjPtr)
 Parse the "attach-by" data from this form: (attach-by ...) Override to extend the types of attachment that may take place.
virtual void parseForceFilterField (DtlObjPtr dtlObjPtr)
 Parse the "force-filter" data from this form: (force-filter ...)
virtual void putData (FILE *fp, int indentLevel=0)
 Override to write out fields.
virtual void writeAttachBy (FILE *fp, int indentLevel=0)
 Write attach-by information to MTL stream Override to extend the way "attach-by" can be represented.
virtual void writeForceFilter (FILE *fp, int indentLevel=0)
 Write force filter array to MTL stream, if myForceFilters has size.

Protected Attributes

AttachByType myAttachByType
 Qualifier to identify entities to which attachment should be applied.
DtRwString myConfigurationKeyName
 This key name must match one of the remote configuration entry keys in the OPD.
DtEntityIdentifier myEntityIdentifier
 Used to identify explicity entity for attachment.
std::vector< unsigned > myForceFilters
 An array of force types to which this entry applies.
DtString myMarkingText
 Used to explicitly identify an entity by marking text.
DtRwObjectType myObjectType
 Used to identify entity by entity type enumeration.

Detailed Description

This file declares DtRemoteConfigurationMapEntry.

DtRemoteConfigurationMapEntry


Member Enumeration Documentation

Attachment Type enumerations, used as a rule to select entities for attachment.

Enumerator:
UnspecifiedType 
ObjectType 
EntityIdType 
MarkingTextType 

Constructor & Destructor Documentation

Default Constructor.

DtRemoteConfigurationMapEntry::DtRemoteConfigurationMapEntry ( const DtString name,
DtReaderWriterRegistry parentRegistry = NULL,
bool  readonly = false 
)

Constructor.

DtRemoteConfigurationMapEntry::DtRemoteConfigurationMapEntry ( const DtSymbolString name,
DtReaderWriterRegistry parentRegistry = NULL,
bool  readonly = false 
)

Constructor.

Copy constructor.

Copy constructor.

Copy constructor.

Destructor.


Member Function Documentation

Clone operator.

DtRemoteConfigurationMapEntry& DtRemoteConfigurationMapEntry::operator= ( const DtRemoteConfigurationMapEntry orig)

Assignment operator.

Describes the rule by which entities will be identified for attachment.

References myAttachByType.

Describes the rule by which entities will be identified for attachment.

References myAttachByType.

Get/set component configuration filename.

References myConfigurationKeyName.

Get/set component configuration filename.

References myConfigurationKeyName.

const DtEntityIdentifier & DtRemoteConfigurationMapEntry::entityIdentifier ( ) const [inline]

Used to identify entity by entity type enumeration.

References myEntityIdentifier.

void DtRemoteConfigurationMapEntry::setEntityIdentifier ( const DtEntityIdentifier &  eid) [inline]

Used to identify entity by entity type enumeration.

References myEntityIdentifier.

const std::vector< unsigned > & DtRemoteConfigurationMapEntry::forceFilters ( ) const [inline]

Returns an array of force types to which this entry applies.

References myForceFilters.

virtual void DtRemoteConfigurationMapEntry::setForceFilters ( const std::vector< unsigned > &  filters) [virtual]

Returns an array of force types to which this entry applies.

Used to explicitly identify an entity by marking text.

References myMarkingText.

void DtRemoteConfigurationMapEntry::setMarkingText ( const char *  pStr) [inline]

Used to explicitly identify an entity by marking text.

References myMarkingText.

Used to explicitly identify an entity by marking text.

References myMarkingText.

Used to identify entity by entity type enumeration.

References myObjectType.

virtual void DtRemoteConfigurationMapEntry::setObjectType ( const DtObjectType otype) [virtual]

Used to identify entity by entity type enumeration.

virtual DtlObjPtr DtRemoteConfigurationMapEntry::getData ( DtlObjPtr  args,
const DtFilename &  searchPath,
const DtVariableBindingsList variableBindings 
) [protected, virtual]

Override getData to parse out member fields.

virtual void DtRemoteConfigurationMapEntry::parseAttachByField ( DtlObjPtr  dtlObjPtr) [protected, virtual]

Parse the "attach-by" data from this form: (attach-by ...) Override to extend the types of attachment that may take place.

virtual void DtRemoteConfigurationMapEntry::parseForceFilterField ( DtlObjPtr  dtlObjPtr) [protected, virtual]

Parse the "force-filter" data from this form: (force-filter ...)

virtual void DtRemoteConfigurationMapEntry::putData ( FILE *  fp,
int  indentLevel = 0 
) [protected, virtual]

Override to write out fields.

Reimplemented from DtReaderWriter.

virtual void DtRemoteConfigurationMapEntry::writeAttachBy ( FILE *  fp,
int  indentLevel = 0 
) [protected, virtual]

Write attach-by information to MTL stream Override to extend the way "attach-by" can be represented.

Base class handles "object-type" "marking-text" and "entity-id".

virtual void DtRemoteConfigurationMapEntry::writeForceFilter ( FILE *  fp,
int  indentLevel = 0 
) [protected, virtual]

Write force filter array to MTL stream, if myForceFilters has size.


Member Data Documentation

Qualifier to identify entities to which attachment should be applied.

Referenced by attachByType(), and setAttachByType().

This key name must match one of the remote configuration entry keys in the OPD.

Referenced by configurationKeyName(), and setConfigurationKeyName().

DtEntityIdentifier DtRemoteConfigurationMapEntry::myEntityIdentifier [protected]

Used to identify explicity entity for attachment.

Referenced by entityIdentifier(), and setEntityIdentifier().

std::vector<unsigned> DtRemoteConfigurationMapEntry::myForceFilters [protected]

An array of force types to which this entry applies.

Referenced by forceFilters().

Used to explicitly identify an entity by marking text.

Referenced by markingText(), and setMarkingText().

Used to identify entity by entity type enumeration.

Referenced by objectType().


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

Document ID: Generated on Fri Jun 29 16:33:32 EDT 2012 from SVN revision 116588
Copyright © 2005-2012 VT MÄK Inc. All Rights Reserved (www.mak.com)