VR-Forces 4.0.4 Class Documentation
Public Member Functions | Protected Attributes
DtRwBoolean Class Reference

Description: Readable, Writable bool. More...

Inheritance diagram for DtRwBoolean:
Inheritance graph
[legend]

List of all members.

Public Member Functions

 DtRwBoolean (const DtString &name=DtString::nullString(), DtReaderWriterRegistry *parentRegistry=NULL)
 DtRwBoolean (const DtSymbolString &name, DtReaderWriterRegistry *parentRegistry=NULL)
 DtRwBoolean (const char *name, DtReaderWriterRegistry *parentRegistry=NULL)
 DtRwBoolean (bool value, const DtString &name=DtString::nullString(), DtReaderWriterRegistry *parentRegistry=NULL)
 Constructor from bool.
 DtRwBoolean (const DtRwBoolean &orig, DtReaderWriterRegistry *const parentRegistry=NULL)
 copy constructor
DtRwBooleanoperator= (const DtRwBoolean &orig)
 Assign to bool. Assigns value only.
virtual ~DtRwBoolean ()
virtual operator const bool () const
 Additional operator overrides.
bool operator= (const bool orig)
 Assign from bool.
virtual int operator== (const bool rhs) const
virtual int operator!= (const bool rhs) const
virtual int operator&& (const bool rhs) const
virtual int operator|| (const bool rhs) const
virtual int operator! () const
virtual bool value () const
virtual void setValue (bool value)
virtual void putData (FILE *fp, int indentLevel=0)
 Deriving class overrides these to get/put class specific data.
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.

Protected Attributes

bool myValue

Detailed Description

Description: Readable, Writable bool.


Constructor & Destructor Documentation

DtRwBoolean::DtRwBoolean ( const DtString name = DtString::nullString(),
DtReaderWriterRegistry parentRegistry = NULL 
)
DtRwBoolean::DtRwBoolean ( const DtSymbolString name,
DtReaderWriterRegistry parentRegistry = NULL 
)
DtRwBoolean::DtRwBoolean ( const char *  name,
DtReaderWriterRegistry parentRegistry = NULL 
)
DtRwBoolean::DtRwBoolean ( bool  value,
const DtString name = DtString::nullString(),
DtReaderWriterRegistry parentRegistry = NULL 
)

Constructor from bool.

DtRwBoolean::DtRwBoolean ( const DtRwBoolean orig,
DtReaderWriterRegistry *const  parentRegistry = NULL 
)

copy constructor

virtual DtRwBoolean::~DtRwBoolean ( ) [virtual]

Member Function Documentation

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

Assign to bool. Assigns value only.

virtual DtRwBoolean::operator const bool ( ) const [virtual]

Additional operator overrides.

Conversion to bool operator.

bool DtRwBoolean::operator= ( const bool  orig)

Assign from bool.

virtual int DtRwBoolean::operator== ( const bool  rhs) const [virtual]
virtual int DtRwBoolean::operator!= ( const bool  rhs) const [virtual]
virtual int DtRwBoolean::operator&& ( const bool  rhs) const [virtual]
virtual int DtRwBoolean::operator|| ( const bool  rhs) const [virtual]
virtual int DtRwBoolean::operator! ( ) const [virtual]
virtual bool DtRwBoolean::value ( ) const [virtual]
virtual void DtRwBoolean::setValue ( bool  value) [virtual]
virtual void DtRwBoolean::putData ( FILE *  fp,
int  indentLevel = 0 
) [virtual]

Deriving class overrides these to get/put class specific data.

Reimplemented from DtReaderWriter.

virtual DtlObjPtr DtRwBoolean::getData ( DtlObjPtr  args,
const DtFilename &  searchPath,
const DtVariableBindingsList variableBindings 
) [virtual]
virtual const char* DtRwBoolean::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.


Member Data Documentation


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)