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

#include <nongeom.h>

Collaboration diagram for rt_binunif_internal:
[legend]

Data Fields

uint32_t magic
 
int type
 
size_t count
 
union { 
 
   float *   flt 
 
   double *   dbl 
 
   char *   int8 
 
   short *   int16 
 
   int *   int32 
 
   long *   int64 
 
   unsigned char *   uint8 
 
   unsigned short *   uint16 
 
   unsigned int *   uint32 
 
   unsigned long *   uint64 
 
u 
 

Detailed Description

In-memory format for database uniform-array binary object. Perhaps move to wdb.h or rtgeom.h? Elements are stored in host byte order in this structure and converted to or from network byte order at the database serialization boundary.

Definition at line 136 of file nongeom.h.

Field Documentation

◆ magic

uint32_t magic

Definition at line 137 of file nongeom.h.

◆ type

int type

Definition at line 138 of file nongeom.h.

◆ count

size_t count

Definition at line 139 of file nongeom.h.

◆ flt

float* flt

Definition at line 141 of file nongeom.h.

◆ dbl

double* dbl

Definition at line 142 of file nongeom.h.

◆ int8

char* int8

Definition at line 143 of file nongeom.h.

◆ int16

short* int16

Definition at line 144 of file nongeom.h.

◆ int32

int* int32

Definition at line 145 of file nongeom.h.

◆ int64

long* int64

Definition at line 146 of file nongeom.h.

◆ uint8

unsigned char* uint8

Definition at line 147 of file nongeom.h.

◆ uint16

unsigned short* uint16

Definition at line 148 of file nongeom.h.

◆ uint32

unsigned int* uint32

Definition at line 149 of file nongeom.h.

◆ uint64

unsigned long* uint64

Definition at line 150 of file nongeom.h.

◆ [union]

union { ... } u

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