BRL-CAD
Deserializer Class Reference

#include <util.h>

Public Member Functions

 Deserializer (const bu_external &external)
 
 ~Deserializer ()
 
uint8_t read_uint8 ()
 
uint32_t read_uint32 ()
 
int32_t read_int32 ()
 
double read_double ()
 
void read (ON_3dPoint &value)
 
void read (ON_3dVector &value)
 
void read (ON_BoundingBox &value)
 
void read (ON_Interval &value)
 

Detailed Description

Definition at line 229 of file util.h.

Constructor & Destructor Documentation

◆ Deserializer()

Deserializer ( const bu_external external)
inline

Definition at line 232 of file util.h.

References BU_CK_EXTERNAL.

◆ ~Deserializer()

~Deserializer ( )
inline

Definition at line 240 of file util.h.

References bu_bomb(), and bu_external::ext_nbytes.

Here is the call graph for this function:

Member Function Documentation

◆ read_uint8()

uint8_t read_uint8 ( )
inline

Definition at line 247 of file util.h.

◆ read_uint32()

uint32_t read_uint32 ( )
inline

Definition at line 253 of file util.h.

References ntohl(), and SIZEOF_NETWORK_LONG.

Here is the call graph for this function:

◆ read_int32()

int32_t read_int32 ( )
inline

Definition at line 261 of file util.h.

References bu_bomb(), bu_cv_ntohsl(), SIZEOF_NETWORK_LONG, and UNLIKELY.

Here is the call graph for this function:

◆ read_double()

double read_double ( )
inline

Definition at line 272 of file util.h.

References bu_cv_ntohd(), and SIZEOF_NETWORK_DOUBLE.

Referenced by read().

Here is the call graph for this function:

◆ read() [1/4]

void read ( ON_3dPoint &  value)
inline

Definition at line 280 of file util.h.

References read_double().

Referenced by read().

Here is the call graph for this function:

◆ read() [2/4]

void read ( ON_3dVector &  value)
inline

Definition at line 288 of file util.h.

References read_double().

Here is the call graph for this function:

◆ read() [3/4]

void read ( ON_BoundingBox &  value)
inline

Definition at line 296 of file util.h.

References read().

Here is the call graph for this function:

◆ read() [4/4]

void read ( ON_Interval &  value)
inline

Definition at line 303 of file util.h.

References read_double().

Here is the call graph for this function:

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