Public Member Functions | List of all members
dimeFloatRecord Class Reference

The dimeFloatRecord class is a container class for float records. More...

#include <dime/records/FloatRecord.h>

Inheritance diagram for dimeFloatRecord:
dimeRecord dimeBase

Public Member Functions

 dimeFloatRecord (const int group_code=10, const float val=0.0f)
virtual dimeRecordcopy (dimeMemHandler *const mh) const
virtual void setValue (const dimeParam &param, dimeMemHandler *const memhandler=NULL)
virtual void getValue (dimeParam &param) const
float getValue () const
void setValue (const float val)
int typeId () const
bool read (dimeInput *const in)
bool write (dimeOutput *const out)
- Public Member Functions inherited from dimeRecord
 dimeRecord (const int group_code)
virtual ~dimeRecord ()
void setGroupCode (const int group_code)
int getGroupCode () const
virtual bool isEndOfSectionRecord () const
virtual bool isEndOfFileRecord () const
virtual void print () const
- Public Member Functions inherited from dimeBase
 dimeBase (void)
virtual ~dimeBase ()
virtual bool isOfType (const int thetypeid) const
void * operator new (size_t size, dimeMemHandler *memhandler=NULL, const int alignment=4)
void operator delete (void *ptr)

Additional Inherited Members

- Public Types inherited from dimeBase
enum  {
  dimeBaseType = 1, dimeRecordType, dimeStringRecordType, dimeFloatRecordType,
  dimeDoubleRecordType, dimeInt8RecordType, dimeInt16RecordType, dimeInt32RecordType,
  dimeHexRecordType, dimeRecordHolderType, dimeClassType, dimeUnknownClassType,
  dimeObjectType, dimeUnknownObjectType, dimeEntityType, dimeUnknownEntityType,
  dimePolylineType, dimeVertexType, dimeFaceEntityType, dimeExtrusionEntityType,
  dime3DFaceType, dimeSolidType, dimeTraceType, dimeLineType,
  dimePointType, dimeBlockType, dimeInsertType, dimeCircleType,
  dimeArcType, dimeLWPolylineType, dimeEllipseType, dimeSplineType,
  dimeSectionType, dimeUnknownSectionType, dimeEntitiesSectionType, dimeBlocksSectionType,
  dimeTablesSectionType, dimeHeaderSectionType, dimeClassesSectionType, dimeObjectsSectionType,
  dimeTableType, dimeTableEntryType, dimeUnknownTableType, dimeUCSTableType,
  dimeLayerTableType, dimeLastTypeTag
}
- Static Public Member Functions inherited from dimeRecord
static bool readRecordData (dimeInput *const in, const int group_code, dimeParam &param)
static dimeRecordreadRecord (dimeInput *const in)
static dimeRecordcreateRecord (const int group_code, dimeMemHandler *const memhandler)
static dimeRecordcreateRecord (const int group_code, const dimeParam &param, dimeMemHandler *const memhandler)
static int getRecordType (const int group_code)
- Protected Attributes inherited from dimeRecord
int groupCode

Detailed Description

The dimeFloatRecord class is a container class for float records.

Constructor & Destructor Documentation

dimeFloatRecord::dimeFloatRecord ( const int  group_code = 10,
const float  val = 0.0f 
)

Constructor

References setValue().

Referenced by copy().

Member Function Documentation

dimeRecord * dimeFloatRecord::copy ( dimeMemHandler *const  memhandler) const
virtual

Returns a copy of this record.

Implements dimeRecord.

References dimeFloatRecord().

void dimeFloatRecord::getValue ( dimeParam param) const
virtual

Returns the value of this record.

Implements dimeRecord.

References getValue().

Referenced by getValue().

bool dimeFloatRecord::read ( dimeInput *const  in)
virtual

This function will read the record from the dimeInput file.

Implements dimeRecord.

References dimeInput::readFloat().

void dimeFloatRecord::setValue ( const dimeParam param,
dimeMemHandler *const  memhandler = NULL 
)
virtual

Sets the value of this record. The memory handler is needed by dimeStringRecord.

Implements dimeRecord.

Referenced by dimeFloatRecord().

void dimeFloatRecord::setValue ( const float  val)

Sets the float value.

int dimeFloatRecord::typeId ( ) const
virtual

This virtual function will return the type of the record.

Implements dimeRecord.

bool dimeFloatRecord::write ( dimeOutput *const  out)
virtual

This function will write the record to the dimeOutput file.

Reimplemented from dimeRecord.

References dimeRecord::write(), and dimeOutput::writeFloat().


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

Copyright © 1998-1999, Systems In Motion <sales@sim.no>. All rights reserved.
System documentation was generated using doxygen.