36 #include <dime/Basic.h> 37 #include <dime/util/Array.h> 38 #include <dime/util/Linear.h> 39 #include <dime/Base.h> 40 #include <dime/Layer.h> 57 dimeModel(
const bool usememhandler =
false);
66 int countRecords()
const;
68 bool traverseEntities(dimeCallback callback,
69 void *userdata = NULL,
70 bool traverseBlocksSection =
false,
71 bool explodeInserts =
true,
72 bool traversePolylineVertices =
false);
74 const char *addReference(
const char *
const name,
void *
id);
75 void *findReference(
const char *
const name)
const;
76 const char *findRefStringPtr(
const char *
const name)
const;
77 void removeReference(
const char *
const name);
80 int getNumLayers()
const;
81 const class dimeLayer *getLayer(
const int idx)
const;
82 const class dimeLayer *getLayer(
const char *
const layername)
const;
83 const class dimeLayer *addLayer(
const char *
const layername,
84 const int16 colnum = 7,
85 const int16 flags = 0);
87 const char * getDxfVersion()
const;
89 static const char *getVersionString();
90 static void getVersion(
int &major,
int &minor);
91 const char *addBlock(
const char *
const blockname,
dimeBlock *
const block);
92 class dimeBlock *findBlock(
const char *
const blockname);
94 class dimeSection *findSection(
const char *
const sectionname);
95 const class dimeSection *findSection(
const char *
const sectionname)
const;
97 int getNumSections()
const;
99 void insertSection(
dimeSection *
const section,
const int idx = -1);
100 void removeSection(
const int idx);
102 void registerHandle(
const int handle);
103 void registerHandle(
const char *
const handle);
104 int getUniqueHandle();
105 const char *getUniqueHandle(
char *buf,
const int bufsize);
120 #endif // ! DIME_MODEL_H The dimeArray class is internal / private.
Definition: Array.h:65
The dimeDict class is internal / private.
Definition: Dict.h:52
The dimeBlocksSection class handles a BLOCKS section.
Definition: BlocksSection.h:39
The dimeMemHandler class is a special-purpose memory manager.
Definition: MemHandler.h:38
The dimeEntity class is the superclass of all entity classes.
Definition: Entity.h:60
The dimeModel class organizes a model.
Definition: Model.h:54
The dimeEntitiesSection class handles an ENTITIES section.
Definition: EntitiesSection.h:39
The dimeRecord class is the superclass of all record classes.
Definition: Record.h:43
The dimeBlock class handles a BLOCK entity.
Definition: Block.h:45
The dimeSection class is the superclass for all section classes.
Definition: Section.h:43
The dimeOutput class handles writing of DXF and DXB files.
Definition: Output.h:41
The dimeLayer class handles layers.
Definition: Layer.h:38