| http://www.coin3d.org/ http://www.kongsberg.com/kogt/

Public Member Functions | List of all members
dimeInt32Record Class Reference

The dimeInt32Record class is a container class for 32-bit integer records. More...

`#include <dime/records/Int32Record.h>`

Inheritance diagram for dimeInt32Record:

## Public Member Functions

| dimeInt32Record (const int group_code=90, const int32 val=0)
virtual dimeRecord * | copy (dimeMemHandler *const mh) const
virtual void | setValue (const dimeParam &param, dimeMemHandler *const memhandler=NULL)
virtual void | getValue (dimeParam &param) const
int32 | getValue () const
void | setValue (const int32 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,
dimeTextType, 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 dimeRecord * | readRecord (dimeInput *const in)
static dimeRecord * | createRecord (const int group_code, dimeMemHandler *const memhandler)
static dimeRecord * | createRecord (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 dimeInt32Record class is a container class for 32-bit integer records.

## Constructor & Destructor Documentation

## ◆ dimeInt32Record()

dimeInt32Record::dimeInt32Record | ( | const int | group_code = `90`,
|  | const int32 | val = `0`
| ) |  |

Constructor

References setValue().

Referenced by copy().

## Member Function Documentation

## ◆ copy()

dimeRecord * dimeInt32Record::copy | ( | dimeMemHandler *const | memhandler | ) | const

virtual

Returns a copy of this record.

Implements dimeRecord.

References dimeInt32Record().

## ◆ getValue() [1/2]

void dimeInt32Record::getValue | ( | dimeParam & | param | ) | const

virtual

Returns the value of this record.

Implements dimeRecord.

## ◆ getValue() [2/2]

int32 dimeInt32Record::getValue | ( |  | ) | const

Returns the int32 value.

## ◆ read()

bool dimeInt32Record::read | ( | dimeInput *const | in | ) |

virtual

This function will read the record from the dimeInput file.

Implements dimeRecord.

References dimeInput::readInt32().

## ◆ setValue() [1/2]

void dimeInt32Record::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 dimeInt32Record().

## ◆ setValue() [2/2]

void dimeInt32Record::setValue | ( | const int32 | val | ) |

Sets the int32 value to val.

## ◆ typeId()

int dimeInt32Record::typeId | ( |  | ) | const

virtual

This virtual function will return the type of the record.

Implements dimeRecord.

## ◆ write()

bool dimeInt32Record::write | ( | dimeOutput *const | out | ) |

virtual

This function will write the record to the dimeOutput file.

Reimplemented from dimeRecord.

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

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

- Int32Record.h
- Int32Record.cpp

Copyright © by Kongsberg Oil & Gas Technologies. All rights reserved.