55#ifndef _SO_BYTE_STREAM_
56#define _SO_BYTE_STREAM_
126 void copy(
void *d,
size_t len);
#define SoEXTENDER
Provide inline template functions for abs, swap, min, max, and clamp.
#define INVENTOR_API
Disable some annoying warnings on MSVC 6.
Converts scene graph objects to character byte streams.
SoByteStream()
Constructor and destructor.
~SoByteStream()
Constructor and destructor.
static SoPathList * unconvert(void *data, uint32_t numBytes)
These take byte stream data and unconvert it back to scene graph objects.
void copy(void *d, size_t len)
This allows apps to store raw data here without converting an Inventor node, path,...
void convert(SoPathList *pathList, bool binaryFormat=TRUE)
These convert the passed scene graph object(s) into a byte stream.
static SoPathList * unconvert(SoByteStream *byteStream)
Unconvert a byte stream back to a path list.
uint32_t getNumBytes()
Returns the number of bytes from the last convert() operation.
void * getData()
Returns the data from the last convert() operation.
void convert(SoPath *path, bool binaryFormat=TRUE)
void convert(SoNode *node, bool binaryFormat=TRUE)
Convert the passed node, path, or path list into a byte stream.
Abstract base class for all database nodes.
Maintains a list of pointers to paths.
Path that points to a list of hierarchical nodes.