OpenSceneGraph 2.8.3

osgIntrospection::PtrReaderWriter< T > Class Template Reference

This is a ReaderWriter class that can be used to read and write pointer values. More...

Inheritance diagram for osgIntrospection::PtrReaderWriter< T >:

List of all members.

Public Member Functions

virtual std::ostream & writeTextValue (std::ostream &os, const Value &v, const Options *=0) const
 Writes a textual representation of the value's content to a stream.
virtual std::istream & readTextValue (std::istream &is, Value &v, const Options *=0) const
 Reads a textual representation of the value's content from a stream.
virtual std::ostream & writeBinaryValue (std::ostream &os, const Value &v, const Options *=0) const
 Writes a binary representation of the value's content to a stream.
virtual std::istream & readBinaryValue (std::istream &is, Value &v, const Options *=0) const
 Reads a binary representation of the value's content from a stream.

Detailed Description

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

This is a ReaderWriter class that can be used to read and write pointer values.

Note: template parameter T must be a pointer!


Member Function Documentation

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

Reads a binary representation of the value's content from a stream.

Reimplemented from osgIntrospection::ReaderWriter.

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

Reads a textual representation of the value's content from a stream.

Reimplemented from osgIntrospection::ReaderWriter.

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

Writes a binary representation of the value's content to a stream.

Reimplemented from osgIntrospection::ReaderWriter.

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

Writes a textual representation of the value's content to a stream.

Reimplemented from osgIntrospection::ReaderWriter.


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

osg logo
Generated at Tue Mar 22 2011 13:20:26 for the OpenSceneGraph by doxygen 1.7.3.