libopencad
Public Types | Public Member Functions | Protected Attributes | List of all members
CADObject Class Reference

The base CAD object class. More...

#include <cadobjects.h>

Inheritance diagram for CADObject:
CADBlockControlObject CADBlockHeaderObject CADDictionaryObject CADEntityObject CADImageDefReactorObject CADLayerControlObject CADLayerObject CADLineTypeControlObject CADLineTypeObject

Public Types

enum  ObjectType {
  UNUSED = 0x0, TEXT = 0x1, ATTRIB = 0x2, ATTDEF = 0x3,
  BLOCK = 0x4, ENDBLK = 0x5, SEQEND = 0x6, INSERT = 0x7,
  MINSERT1 = 0x8, MINSERT2 = 0x9, VERTEX2D = 0x0A, VERTEX3D = 0x0B,
  VERTEX_MESH = 0x0C, VERTEX_PFACE = 0x0D, VERTEX_PFACE_FACE = 0x0E, POLYLINE2D = 0x0F,
  POLYLINE3D = 0x10, ARC = 0x11, CIRCLE = 0x12, LINE = 0x13,
  DIMENSION_ORDINATE = 0x14, DIMENSION_LINEAR = 0x15, DIMENSION_ALIGNED = 0x16, DIMENSION_ANG_3PT = 0x17,
  DIMENSION_ANG_2LN = 0x18, DIMENSION_RADIUS = 0x19, DIMENSION_DIAMETER = 0x1A, POINT = 0x1B,
  FACE3D = 0x1C, POLYLINE_PFACE = 0x1D, POLYLINE_MESH = 0x1E, SOLID = 0x1F,
  TRACE = 0x20, SHAPE = 0x21, VIEWPORT = 0x22, ELLIPSE = 0x23,
  SPLINE = 0x24, REGION = 0x25, SOLID3D = 0x26, BODY = 0x27,
  RAY = 0x28, XLINE = 0x29, DICTIONARY = 0x2A, OLEFRAME = 0x2B,
  MTEXT = 0x2C, LEADER = 0x2D, TOLERANCE = 0x2E, MLINE = 0x2F,
  BLOCK_CONTROL_OBJ = 0x30, BLOCK_HEADER = 0x31, LAYER_CONTROL_OBJ = 0x32, LAYER = 0x33,
  STYLE_CONTROL_OBJ = 0x34, STYLE1 = 0x35, STYLE2 = 0x36, STYLE3 = 0x37,
  LTYPE_CONTROL_OBJ = 0x38, LTYPE1 = 0x39, LTYPE2 = 0x3A, LTYPE3 = 0x3B,
  VIEW_CONTROL_OBJ = 0x3C, VIEW = 0x3D, UCS_CONTROL_OBJ = 0x3E, UCS = 0x3F,
  VPORT_CONTROL_OBJ = 0x40, VPORT = 0x41, APPID_CONTROL_OBJ = 0x42, APPID = 0x43,
  DIMSTYLE_CONTROL_OBJ = 0x44, DIMSTYLE = 0x45, VP_ENT_HDR_CTRL_OBJ = 0x46, VP_ENT_HDR = 0x47,
  GROUP = 0x48, MLINESTYLE = 0x49, OLE2FRAME = 0x4A, DUMMY = 0x4B,
  LONG_TRANSACTION = 0x4C, LWPOLYLINE = 0x4D, HATCH = 0x4E, XRECORD = 0x4F,
  ACDBPLACEHOLDER = 0x50, VBA_PROJECT = 0x51, LAYOUT = 0x52, CELLSTYLEMAP = 0x53,
  DBCOLOR = 0x54, DICTIONARYVAR = 0x55, DICTIONARYWDFLT = 0x56, FIELD = 0x57,
  GROUP_UNFIXED = 0x58, HATCH_UNFIXED = 0x59, IDBUFFER = 0x5A, IMAGE = 0x5B,
  IMAGEDEF = 0x5C, IMAGEDEFREACTOR = 0x5D, LAYER_INDEX = 0x5E, LAYOUT_UNFIXED = 0x5F,
  LWPOLYLINE_UNFIXED = 0x60, MATERIAL = 0x61, MLEADER = 0x62, MLEADERSTYLE = 0x63,
  OLE2FRAME_UNFIXED = 0x64, PLACEHOLDER = 0x65, PLOTSETTINGS = 0x66, RASTERVARIABLES = 0x67,
  SCALE = 0x68, SORTENTSTABLE = 0x69, SPATIAL_FILTER = 0x6A, SPATIAL_INDEX = 0x6B,
  TABLEGEOMETRY = 0x6C, TABLESTYLES = 0x6D, VBA_PROJECT_UNFIXED = 0x6E, VISUALSTYLE = 0x6F,
  WIPEOUTVARIABLE = 0x70, XRECORD_UNFIXED = 0x71
}
 

Public Member Functions

ObjectType getType () const
 
long getSize () const
 
void setSize (long value)
 
void setType (const ObjectType &value)
 
short getCRC () const
 
void setCRC (short value)
 

Protected Attributes

long size
 
ObjectType type
 
short CRC
 

Detailed Description

The base CAD object class.


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