VR-Forces 4.0.4 Class Documentation
Public Types | Public Member Functions
DtRwRailSegment Class Reference
Inheritance diagram for DtRwRailSegment:
Inheritance graph
[legend]

List of all members.

Public Types

enum  DtMovementDirection { DtForward = 0, DtReverse }

Public Member Functions

 DtRwRailSegment (const DtString &name=DtString::nullString(), DtReaderWriterRegistry *parentRegistry=NULL)
 real constructor
 DtRwRailSegment (const DtSymbolString &name, DtReaderWriterRegistry *parentRegistry=NULL)
 DtRwRailSegment (const DtVector &start, const DtVector &end, const DtString &name=DtString::nullString(), DtReaderWriterRegistry *parentRegistry=NULL)
 Real constructor from 2 points.
 DtRwRailSegment (const DtVector &start, const DtVector &end, const DtSymbolString &name, DtReaderWriterRegistry *parentRegistry=NULL)
 DtRwRailSegment (const DtRailSegment &fromRail, const DtString &name, DtReaderWriterRegistry *parentRegistry=NULL)
 DtRwRailSegment (const DtRailSegment &fromRail, const DtSymbolString &name, DtReaderWriterRegistry *parentRegistry=NULL)
 DtRwRailSegment (const DtRwRailSegment &orig, DtReaderWriterRegistry *parentRegistry=NULL)
 copy constructor
DtRwRailSegmentoperator= (const DtRwRailSegment &orig)
 Assign to DtRwRailSegment. Assigns value only.
DtRwRailSegmentoperator= (const DtRailSegment &orig)
virtual ~DtRwRailSegment ()
virtual void putSelf (FILE *fp, int indentLevel=0, bool writeUnspecified=false, const DtFilename &path=DtFilename::nullFilename())
 Top level call to write itself to file.
virtual void getSelf (DtlObjPtr args, const DtFilename &searchPath=DtFilename::nullFilename(), const DtVariableBindingsList &variableBindings=nullVariableReference())
virtual const char * readerWriterType () const
 Used to supply a string type that this reader writer type is.

Member Enumeration Documentation

Enumerator:
DtForward 
DtReverse 

Constructor & Destructor Documentation

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

real constructor

DtRwRailSegment::DtRwRailSegment ( const DtSymbolString name,
DtReaderWriterRegistry parentRegistry = NULL 
)
DtRwRailSegment::DtRwRailSegment ( const DtVector start,
const DtVector end,
const DtString name = DtString::nullString(),
DtReaderWriterRegistry parentRegistry = NULL 
)

Real constructor from 2 points.

DtRwRailSegment::DtRwRailSegment ( const DtVector start,
const DtVector end,
const DtSymbolString name,
DtReaderWriterRegistry parentRegistry = NULL 
)
DtRwRailSegment::DtRwRailSegment ( const DtRailSegment fromRail,
const DtString name,
DtReaderWriterRegistry parentRegistry = NULL 
)
DtRwRailSegment::DtRwRailSegment ( const DtRailSegment fromRail,
const DtSymbolString name,
DtReaderWriterRegistry parentRegistry = NULL 
)
DtRwRailSegment::DtRwRailSegment ( const DtRwRailSegment orig,
DtReaderWriterRegistry parentRegistry = NULL 
)

copy constructor

virtual DtRwRailSegment::~DtRwRailSegment ( ) [virtual]

Member Function Documentation

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

Assign to DtRwRailSegment. Assigns value only.

DtRwRailSegment& DtRwRailSegment::operator= ( const DtRailSegment orig)

Reimplemented from DtRailSegment.

virtual void DtRwRailSegment::putSelf ( FILE *  fp,
int  indentLevel = 0,
bool  writeUnspecified = false,
const DtFilename &  path = DtFilename::nullFilename() 
) [virtual]

Top level call to write itself to file.

If write unspecified is true, will write entries that are unspecified, in the format (name <use-default>). Path is passed down to all DtReaderWriter members in its DtReaderWriterRegistry (collection of child DtReaderWriter nodes). If a given member in the registry is of type DtReaderWriterFile, and the path is specified with a non-NULL string, then the path prepended to the filename before writing the entry to file.

Reimplemented from DtReaderWriter.

virtual void DtRwRailSegment::getSelf ( DtlObjPtr  args,
const DtFilename &  searchPath = DtFilename::nullFilename(),
const DtVariableBindingsList variableBindings = nullVariableReference() 
) [virtual]
virtual const char* DtRwRailSegment::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)