BRL-CAD
Loading...
Searching...
No Matches
rt_db_internal Struct Reference

#include <db_internal.h>

Collaboration diagram for rt_db_internal:
[legend]

Data Fields

uint32_t idb_magic
 
int idb_major_type
 
int idb_minor_type
 ID_xxx.
 
const struct rt_functabidb_meth
 for ft_ifree(), etc.
 
voididb_ptr
 
struct bu_attribute_value_set idb_avs
 

Detailed Description

A handle on the internal format of a BRL-CAD database object.

Note that the d_minor_type of any directory structure associated with a rt_db_internal should match the value of the rt_db_internal's idb_minor_type.

Todo:
  • right now, rt_db_internal doesn't encode any notion of data version, which appears to be a major reason some APIs need to pass a dbip through in addition to the rt_db_internal. Should we add an idb_version entry here to indicate idb_ptr data versioning?

Definition at line 55 of file db_internal.h.

Field Documentation

◆ idb_magic

uint32_t idb_magic

Definition at line 56 of file db_internal.h.

◆ idb_major_type

int idb_major_type

Definition at line 57 of file db_internal.h.

◆ idb_minor_type

int idb_minor_type

ID_xxx.

Definition at line 58 of file db_internal.h.

◆ idb_meth

const struct rt_functab* idb_meth

for ft_ifree(), etc.

Definition at line 59 of file db_internal.h.

◆ idb_ptr

void* idb_ptr

Definition at line 60 of file db_internal.h.

◆ idb_avs

struct bu_attribute_value_set idb_avs

Definition at line 61 of file db_internal.h.


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