osgIntrospection::StdReaderWriter< T > Class Template Reference

Inheritance diagram for osgIntrospection::StdReaderWriter< T >:

osgIntrospection::ReaderWriter List of all members.

Public Member Functions

virtual std::ostream & writeTextValue (std::ostream &os, const Value &v, const Options *=0) const
virtual std::istream & readTextValue (std::istream &is, Value &v, const Options *=0) const
virtual std::ostream & writeBinaryValue (std::ostream &os, const Value &v, const Options *=0) const
virtual std::istream & readBinaryValue (std::istream &is, Value &v, const Options *=0) const

Detailed Description

template<typename T>
class osgIntrospection::StdReaderWriter< T >

This class template provides basic default streaming capabilities for all types that define streaming operators (<< and >>). Most of the standard types are able to be read and written this way, so the StdReaderWriter template can be a convenient default for several types. The binary representation is a raw copy of the memory content.

TO-DO: improve binary streaming and avoid arch dependency.


Member Function Documentation

template<typename T>
virtual std::istream& osgIntrospection::StdReaderWriter< T >::readBinaryValue ( std::istream &  is,
Value v,
const Options *  = 0 
) const [inline, virtual]

template<typename T>
virtual std::istream& osgIntrospection::StdReaderWriter< T >::readTextValue ( std::istream &  is,
Value v,
const Options *  = 0 
) const [inline, virtual]

template<typename T>
virtual std::ostream& osgIntrospection::StdReaderWriter< T >::writeBinaryValue ( std::ostream &  os,
const Value v,
const Options *  = 0 
) const [inline, virtual]

template<typename T>
virtual std::ostream& osgIntrospection::StdReaderWriter< T >::writeTextValue ( std::ostream &  os,
const Value v,
const Options *  = 0 
) const [inline, virtual]


The documentation for this class was generated from the following file:
Generated on Sun Oct 1 13:17:10 2006 for openscenegraph by  doxygen 1.4.7