Coin Logo http://www.sim.no
http://www.coin3d.org

dimeDoubleRecord Class Reference

The dimeDoubleRecord class is a container class for double records. More...

#include <dime/records/DoubleRecord.h>

Inheritance diagram for dimeDoubleRecord:

dimeRecord dimeBase List of all members.

Public Member Functions

 dimeDoubleRecord (const int group_code=10, const dxfdouble 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
dxfdouble getValue () const
void setValue (const dxfdouble val)
int typeId () const
bool read (dimeInput *const in)
bool write (dimeOutput *const out)

Detailed Description

The dimeDoubleRecord class is a container class for double records.


Constructor & Destructor Documentation

dimeDoubleRecord::dimeDoubleRecord ( const int  group_code = 10,
const dxfdouble  val = 0.0f 
)

Constructor.


Member Function Documentation

dimeRecord * dimeDoubleRecord::copy ( dimeMemHandler *const   mh  )  const [virtual]

Returns a copy of this record.

Implements dimeRecord.

dxfdouble dimeDoubleRecord::getValue (  )  const

Returns the floating point value of this record.

void dimeDoubleRecord::getValue ( dimeParam param  )  const [virtual]

Returns the value of this record.

Implements dimeRecord.

bool dimeDoubleRecord::read ( dimeInput *const   in  )  [virtual]

This function will read the record from the dimeInput file.

Implements dimeRecord.

void dimeDoubleRecord::setValue ( const dxfdouble  val  ) 

Sets the floating point value.

void dimeDoubleRecord::setValue ( const dimeParam param,
dimeMemHandler *const   memhandler = NULL 
) [virtual]

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

Implements dimeRecord.

int dimeDoubleRecord::typeId (  )  const [virtual]

This virtual function will return the type of the record.

Implements dimeRecord.

bool dimeDoubleRecord::write ( dimeOutput *const   out  )  [virtual]

This function will write the record to the dimeOutput file.

Reimplemented from dimeRecord.


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

Copyright © 1998-2005 by Systems in Motion AS. All rights reserved.

Generated on Tue Dec 2 23:27:14 2008 for DIME by Doxygen. 1.4.7