Coin Logo Coin3D is Free Software,
published under the BSD 3-clause license.
https://bitbucket.org/Coin3D/
http://www.kongsberg.com/kogt/
dimeUnknownSection Class Reference

The dimeUnknownSection class is used to support unknown sections. More...

#include <dime/sections/UnknownSection.h>

Inheritance diagram for dimeUnknownSection:
dimeSection dimeBase

Public Member Functions

 dimeUnknownSection (const char *const sectionname, dimeMemHandler *memhandler=NULL)
 
virtual ~dimeUnknownSection ()
 
virtual const char * getSectionName () const
 
virtual dimeSectioncopy (dimeModel *const model) const
 
virtual bool read (dimeInput *const file)
 
virtual bool write (dimeOutput *const file)
 
virtual int typeId () const
 
virtual int countRecords () const
 
- Public Member Functions inherited from dimeSection
 dimeSection (dimeMemHandler *const memhandler)
 
virtual ~dimeSection ()
 
virtual bool isOfType (const int thetypeid) const
 
- Public Member Functions inherited from dimeBase
 dimeBase (void)
 
virtual ~dimeBase ()
 
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 dimeSection
static dimeSectioncreateSection (const char *const sectionname, dimeMemHandler *memhandler)
 
- Protected Attributes inherited from dimeSection
dimeMemHandlermemHandler
 

Detailed Description

The dimeUnknownSection class is used to support unknown sections.

Constructor & Destructor Documentation

◆ dimeUnknownSection()

dimeUnknownSection::dimeUnknownSection ( const char *const  sectionname,
dimeMemHandler memhandler = NULL 
)

Constructor which stores the sectioname.

◆ ~dimeUnknownSection()

dimeUnknownSection::~dimeUnknownSection ( )
virtual

Destructor.

Member Function Documentation

◆ typeId()

int dimeUnknownSection::typeId ( ) const
virtual

Must be implemented by all subclasses, and should return an unique id for that class.

Implements dimeSection.

◆ countRecords()

int dimeUnknownSection::countRecords ( ) const
virtual

Returns the number of records in this section.

Implements dimeSection.


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