BRL-CAD
|
Go to the source code of this file.
Data Structures | |
struct | directory |
Macros | |
#define | RT_DIR_NULL ((struct directory *)0) |
#define | RT_CK_DIR(_dp) BU_CKMAG(_dp, RT_DIR_MAGIC, "(librt)directory") |
#define | d_addr d_un.file_offset |
#define | RT_DIR_PHONY_ADDR ((b_off_t)-1) |
Special marker for d_addr field. | |
#define | RT_DIR_SOLID 0x1 |
this name is a solid | |
#define | RT_DIR_COMB 0x2 |
combination | |
#define | RT_DIR_REGION 0x4 |
region | |
#define | RT_DIR_HIDDEN 0x8 |
object name is hidden | |
#define | RT_DIR_NON_GEOM 0x10 |
object is not geometry (e.g. binary object) | |
#define | RT_DIR_USED 0x80 |
One bit, used similar to d_nref. | |
#define | RT_DIR_INMEM 0x100 |
object is in memory (only) | |
#define | LOOKUP_NOISY 1 |
#define | LOOKUP_QUIET 0 |
#define | FOR_ALL_DIRECTORY_START(_dp, _dbip) |
#define | FOR_ALL_DIRECTORY_END }}} |
#define | RT_DIR_SET_NAMEP(_dp, _name) |
#define | RT_DIR_FREE_NAMEP(_dp) |
#define | RT_GET_DIRECTORY(_p, _res) |
Functions | |
struct directory ** | db_argv_to_dpv (const struct db_i *dbip, const char **argv) |
char ** | db_dpv_to_argv (struct directory **dpv) |
Definition at line 81 of file directory.h.
#define RT_CK_DIR | ( | _dp | ) | BU_CKMAG(_dp, RT_DIR_MAGIC, "(librt)directory") |
Definition at line 82 of file directory.h.
#define d_addr d_un.file_offset |
Definition at line 84 of file directory.h.
Special marker for d_addr field.
Definition at line 85 of file directory.h.
#define RT_DIR_SOLID 0x1 |
this name is a solid
Definition at line 88 of file directory.h.
#define RT_DIR_COMB 0x2 |
combination
Definition at line 89 of file directory.h.
#define RT_DIR_REGION 0x4 |
region
Definition at line 90 of file directory.h.
#define RT_DIR_HIDDEN 0x8 |
object name is hidden
Definition at line 91 of file directory.h.
#define RT_DIR_NON_GEOM 0x10 |
object is not geometry (e.g. binary object)
Definition at line 92 of file directory.h.
#define RT_DIR_USED 0x80 |
One bit, used similar to d_nref.
Definition at line 93 of file directory.h.
#define RT_DIR_INMEM 0x100 |
#define LOOKUP_NOISY 1 |
Definition at line 97 of file directory.h.
#define LOOKUP_QUIET 0 |
Definition at line 98 of file directory.h.
Definition at line 100 of file directory.h.
#define FOR_ALL_DIRECTORY_END }}} |
Definition at line 104 of file directory.h.
Definition at line 106 of file directory.h.
convert an argv list of names to a directory pointer array.
If db_lookup fails for any individual argv, an empty directory structure is created and assigned the name and RT_DIR_PHONY_ADDR
The returned directory ** structure is NULL terminated.