X3D libraries
The libraries to work with X3D dataset

io.h File Reference

This header file includes the basic I/O interfaces common to all the I/O implementations. More...

Go to the source code of this file.

Namespaces

namespace  x3dio

Classes

class  x3dio::ErrorCallback
 An interface to send error messages to the caller of readers and writers. More...
class  x3dio::FileStream
 An implementation of the Stream interface to work with standard local files (FILE *). More...
class  x3dio::Reader
 The reader interface, implemented by any object which can read a stream and convert it in a tree of x3d nodes. More...
class  x3dio::Stream
 Interface to implement to read and write some file (regular file, HTTP, FTP, etc.). More...
class  x3dio::Writer
 The writer interface, implemented by any object which can convert a tree of x3d nodes to write it to a stream. More...

Defines

#define X3D_IO_RELEASE   0
#define X3D_IO_REVISION   1
#define X3D_IO_VERSION   0.1


Detailed Description

This header file includes the basic I/O interfaces common to all the I/O implementations.

This file includes interfaces such as Stream and ErrorCallback which are derived to implement Stream's, Reader's, Writer's and error handlers.

If you do not need to handle any specific reader or writer (i.e. if just using a Reader interface pointer is enough) then you should only include this file.


Define Documentation

#define X3D_IO_RELEASE   0
 

#define X3D_IO_REVISION   1
 

#define X3D_IO_VERSION   0.1