VR-Forces 4.0.4 Class Documentation
Public Member Functions
DtRwIntegerAttribute Class Reference

class DtRwIntegerAttribute: More...

Inheritance diagram for DtRwIntegerAttribute:
Inheritance graph
[legend]

List of all members.

Public Member Functions

 DtRwIntegerAttribute (const DtString &name=DtString::nullString(), DtReaderWriterRegistry *const parentRegistry=NULL)
 real constructors - Set up to perform reader/writer operations correctly.
 DtRwIntegerAttribute (const DtSymbolString &name, DtReaderWriterRegistry *const parentRegistry=NULL)
 DtRwIntegerAttribute (const DtString &name, const DtString &key, const int &data, DtReaderWriterRegistry *const parentRegistry=NULL)
 DtRwIntegerAttribute (const DtSymbolString &name, const DtString &key, const int &data, DtReaderWriterRegistry *const parentRegistry=NULL)
virtual ~DtRwIntegerAttribute ()
 destructor
 DtRwIntegerAttribute (const DtRwIntegerAttribute &orig, const DtString &name=DtString::nullString(), DtReaderWriterRegistry *parentRegistry=NULL)
 copy constructor
 DtRwIntegerAttribute (const DtRwIntegerAttribute &orig, const DtSymbolString &name, DtReaderWriterRegistry *parentRegistry=NULL)
DtRwIntegerAttributeoperator= (const DtRwIntegerAttribute &orig)
 assignment operator:
DtIntegerAttributeoperator= (const DtIntegerAttribute &integerAttribute)
 assignment from a DtIntegerAttribute.
virtual void putData (FILE *fp, int indentlLevel=0)
 Overridden to write and read the new field (as local data) from/to file.
virtual DtlObjPtr getData (DtlObjPtr args, const DtFilename &searchPath, const DtVariableBindingsList &variableBindings)
virtual const char * readerWriterType () const
 Used to supply a string type that this reader writer type is.

Detailed Description

class DtRwIntegerAttribute:

Instances of DtRwIntegerAttribute are readable/writeable DtIntegerAttributes.


Constructor & Destructor Documentation

DtRwIntegerAttribute::DtRwIntegerAttribute ( const DtString name = DtString::nullString(),
DtReaderWriterRegistry *const  parentRegistry = NULL 
)

real constructors - Set up to perform reader/writer operations correctly.

DtRwIntegerAttribute::DtRwIntegerAttribute ( const DtSymbolString name,
DtReaderWriterRegistry *const  parentRegistry = NULL 
)
DtRwIntegerAttribute::DtRwIntegerAttribute ( const DtString name,
const DtString key,
const int &  data,
DtReaderWriterRegistry *const  parentRegistry = NULL 
)
DtRwIntegerAttribute::DtRwIntegerAttribute ( const DtSymbolString name,
const DtString key,
const int &  data,
DtReaderWriterRegistry *const  parentRegistry = NULL 
)

destructor

DtRwIntegerAttribute::DtRwIntegerAttribute ( const DtRwIntegerAttribute orig,
const DtString name = DtString::nullString(),
DtReaderWriterRegistry parentRegistry = NULL 
)

copy constructor

DtRwIntegerAttribute::DtRwIntegerAttribute ( const DtRwIntegerAttribute orig,
const DtSymbolString name,
DtReaderWriterRegistry parentRegistry = NULL 
)

Member Function Documentation

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

assignment operator:

DtIntegerAttribute& DtRwIntegerAttribute::operator= ( const DtIntegerAttribute integerAttribute)

assignment from a DtIntegerAttribute.

Reimplemented from DtIntegerAttribute.

virtual void DtRwIntegerAttribute::putData ( FILE *  fp,
int  indentlLevel = 0 
) [virtual]

Overridden to write and read the new field (as local data) from/to file.

Format for the type is as follows: ("name" <key> <data>)

Reimplemented from DtReaderWriter.

virtual DtlObjPtr DtRwIntegerAttribute::getData ( DtlObjPtr  args,
const DtFilename &  searchPath,
const DtVariableBindingsList variableBindings 
) [virtual]
virtual const char* DtRwIntegerAttribute::readerWriterType ( ) const [virtual]

Used to supply a string type that this reader writer type is.

This can be used in place of dynamic-casting. Also used by the opd editor to determine which type of control to create

Reimplemented from DtReaderWriter.


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)