Class hierarchy Compound list Header files Member list
dimeEntitiesSection Class Reference
The dimeEntitiesSection class handles an ENTITIES section. More...
#include <EntitiesSection.h>
Inherits dimeSection.
List of all members.
Public Members
Detailed Description
The dimeEntitiesSection class handles an ENTITIES section.
Member Function Documentation
dimeEntitiesSection::dimeEntitiesSection(dimeMemHandler * const memhandler)
Constructor.
dimeEntitiesSection::~dimeEntitiesSection() [virtual]
Destructor.
const char* dimeEntitiesSection::getSectionName() const [virtual]
Reimplemented from dimeSection.
dimeSection* dimeEntitiesSection::copy(dimeModel * const model) const [virtual]
Reimplemented from dimeSection.
bool dimeEntitiesSection::read(dimeInput * const file) [virtual]
Reimplemented from dimeSection.
bool dimeEntitiesSection::write(dimeOutput * const file) [virtual]
Reimplemented from dimeSection.
int dimeEntitiesSection::typeId() const [virtual]
Reimplemented from dimeSection.
int dimeEntitiesSection::countRecords() const [virtual]
Reimplemented from dimeSection.
void dimeEntitiesSection::fixReferences(dimeModel * const model)
This function should be called after loading has ended, and will
find all forward BLOCK references.
int dimeEntitiesSection::getNumEntities() const
Returns the number of entities in this section. Be aware that a POLYLINE
entity with attached VERTEX entities will count as a single entity.
dimeEntity* dimeEntitiesSection::getEntity(const int idx)
Returns the entity at index idx.
void dimeEntitiesSection::removeEntity(const int idx)
Removes (and deletes if no memhandler is used) the entity at index idx.
void dimeEntitiesSection::insertEntity(dimeEntity * const entity, const int idx)
Inserts a new entity at index idx. If idx is negative, the
entity will be inserted at the end of the list of entities.
The documentation for this class was generated from the following files:
- EntitiesSection.cpp
- EntitiesSection.h