50#ifndef _SO_BYTE_STREAM_
51#define _SO_BYTE_STREAM_
53#include <Inventor/SbBasic.h>
158 void copy(
void *d,
size_t len);
159 SbBool isRawData()
const {
return isRaw; }
Converts scene graph objects to character byte streams.
SoByteStream()
Constructor.
size_t getNumBytes()
Returns the number of bytes from the last convert() operation.
~SoByteStream()
Destructor.
void convert(SoNode *node, SbBool binaryFormat=TRUE)
Converts the passed scene graph object(s) into a byte stream.
void convert(SoPath *path, SbBool binaryFormat=TRUE)
Converts the passed scene graph object(s) into a byte stream.
static SoPathList * unconvert(SoByteStream *byteStream)
Takes byte stream data and unconverts it back to scene graph objects.
void convert(SoPathList *pathList, SbBool binaryFormat=TRUE)
Converts the passed scene graph object(s) into a byte stream.
void * getData()
Returns the data from the last convert() operation.
static SoPathList * unconvert(void *data, size_t numBytes)
Takes byte stream data and unconverts it back to scene graph objects.
Abstract base class for all database nodes.
Path that points to a list of hierarchical nodes.
Maintains a list of pointers to paths.