LibreDWG API  0.13.3
LibreDWG API - The DWG Library
_dwg_handle Struct Reference

#include <dwg.h>

Data Fields

BITCODE_RC code
 OFFSETOBJHANDLE if > 6. More...
 
BITCODE_RC size
 
BITCODE_RLL value
 
BITCODE_B is_global
 

Detailed Description

handles resolve absolute or relative indices to objects.

code 2-5: represents the type of the relation: hard/soft, owner/id.

code TYPEDOBJHANDLE: 2 Soft owner, 3 Hard owner, 4 Soft pointer, 5 Hard pointer

code > 6: the handle is stored as an offset from some other handle.

code OFFSETOBJHANDLE for soft owners or pointers: 6 ref + 1, 8 ref - 1, a ref + offset, c ref - offset

See Dwg_Handle

Field Documentation

◆ code

BITCODE_RC _dwg_handle::code

OFFSETOBJHANDLE if > 6.

◆ is_global

BITCODE_B _dwg_handle::is_global

◆ size

BITCODE_RC _dwg_handle::size

◆ value

BITCODE_RLL _dwg_handle::value

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