libDXF 0.0.1
A library with DXF related functions written in C.
Data Fields

dxf_class_struct Struct Reference

DXF definition of a class entity (CLASS). More...

#include <class.h>

Collaboration diagram for dxf_class_struct:
Collaboration graph
[legend]

Data Fields

char * record_type
char * record_name
char * class_name
char * app_name
int proxy_cap_flag
int was_a_proxy_flag
int is_an_entity_flag
struct DxfClassnext

Detailed Description

DXF definition of a class entity (CLASS).

Each entry in the CLASSES section contains the groups described in the following table, as stated in the documentation for AutoCAD DXF release 2000.

Definition at line 64 of file class.h.


Field Documentation

group code = 0.
Record type (CLASS).
Identifies the beginning of a CLASS record.

Definition at line 68 of file class.h.

group code = 1.
Class DXF record name.
These should always be unique.

Definition at line 72 of file class.h.

group code = 2.
C++ class name.
Used to bind with software that defines object class behavior.
These are always unique.

Definition at line 76 of file class.h.

group code = 3.
Application name.
Posted in Alert box when a class definition listed in this section is not currently loaded.

Definition at line 81 of file class.h.

group code = 90.
Proxy capabilities flag.
Bit coded value that indicates the capabilities of this object as a proxy.
0 = No operations allowed (0).
1 = Erase allowed (0x1).
2 = Transform allowed (0x2).
4 = Color change allowed (0x4).
8 = Layer change allowed (0x8).
16 = Linetype change allowed (0x10).
32 = Linetype scale change allowed (0x20).
64 = Visibility change allowed (0x40).
127 = All operations except cloning allowed (0x7F), until R2000.
128 = Cloning allowed (0x80).
255 = All operations allowed (0xFF), until R2000.
256 = Lineweight change allowed (0x100), introduced in R2002.
512 = Plot Style Name change allowed (0x200), introduced in R2002.
895 = All operations except cloning allowed (0x37F), introduced in R2002.
1023 = All operations allowed (0x3FF), introduced in R2002.
32768 = R13 format proxy (0x8000).

Definition at line 86 of file class.h.

Referenced by dxf_class_set_proxy_cap_flag().

group code = 280.
Was-a-proxy flag.
Set to 1 if class was not loaded when this DXF file was created, and 0 otherwise.

Definition at line 113 of file class.h.

Referenced by dxf_class_set_was_a_proxy_flag().

group code = 281.
Is-an-entity flag.
Set to 1 if class was derived from the AcDbEntity class and can reside in the BLOCKS or ENTITIES section.
If 0, instances may appear only in the OBJECTS section.

Definition at line 118 of file class.h.

Referenced by dxf_class_set_is_an_entity_flag().

pointer to the next DxfClass.
NULL in the last DxfClass.

Definition at line 123 of file class.h.

Referenced by dxf_class_free_chain(), and dxf_class_get_last().


The documentation for this struct was generated from the following file: