openscenegraph
Public Member Functions | Public Attributes | List of all members
osgPresentation::PropertyReader Struct Reference

#include <PropertyManager>

Public Member Functions

 PropertyReader (const osg::NodePath &nodePath, const std::string &str)
 
template<typename T >
bool read (T &value)
 
template<typename T >
PropertyReaderoperator>> (T &value)
 
bool ok ()
 
bool fail ()
 

Public Attributes

bool _errorGenerated
 
osg::NodePath _nodePath
 
std::istringstream _sstream
 

Constructor & Destructor Documentation

◆ PropertyReader()

osgPresentation::PropertyReader::PropertyReader ( const osg::NodePath nodePath,
const std::string &  str 
)
inline

Member Function Documentation

◆ fail()

bool osgPresentation::PropertyReader::fail ( )
inline

References _errorGenerated, and _sstream.

◆ ok()

bool osgPresentation::PropertyReader::ok ( )
inline

References _errorGenerated, and _sstream.

◆ operator>>()

template<typename T >
PropertyReader & osgPresentation::PropertyReader::operator>> ( T &  value)
inline

References _errorGenerated, and read().

◆ read()

template<typename T >
bool osgPresentation::PropertyReader::read ( T &  value)
inline

Member Data Documentation

◆ _errorGenerated

bool osgPresentation::PropertyReader::_errorGenerated

Referenced by fail(), ok(), and operator>>().

◆ _nodePath

osg::NodePath osgPresentation::PropertyReader::_nodePath

Referenced by read().

◆ _sstream

std::istringstream osgPresentation::PropertyReader::_sstream

Referenced by fail(), ok(), and read().


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