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

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

◆ ok()

bool osgPresentation::PropertyReader::ok ( )
inline

◆ operator>>()

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

◆ read()

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

Member Data Documentation

◆ _errorGenerated

bool osgPresentation::PropertyReader::_errorGenerated

◆ _nodePath

osg::NodePath osgPresentation::PropertyReader::_nodePath

◆ _sstream

std::istringstream osgPresentation::PropertyReader::_sstream

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