OpenSceneGraph  3.5.1
Public Types | Public Member Functions | Protected Attributes | List of all members
osgDB::ReaderWriter::WriteResult Class Reference

Public Types

enum  WriteStatus { NOT_IMPLEMENTED, FILE_NOT_HANDLED, ERROR_IN_WRITING_FILE, FILE_SAVED }
 

Public Member Functions

 WriteResult (WriteStatus status=FILE_NOT_HANDLED)
 
 WriteResult (const std::string &m)
 
 WriteResult (const WriteResult &rr)
 
WriteResultoperator= (const WriteResult &rr)
 
bool operator< (const WriteResult &rhs) const
 
std::string & message ()
 
const std::string & message () const
 
WriteStatus status () const
 
bool success () const
 
bool error () const
 
bool notHandled () const
 

Protected Attributes

WriteStatus _status
 
std::string _message
 

Member Enumeration Documentation

Enumerator
NOT_IMPLEMENTED 

write*() method not implemented in concrete ReaderWriter.

FILE_NOT_HANDLED 
ERROR_IN_WRITING_FILE 
FILE_SAVED 

Constructor & Destructor Documentation

osgDB::ReaderWriter::WriteResult::WriteResult ( WriteStatus  status = FILE_NOT_HANDLED)
inline
osgDB::ReaderWriter::WriteResult::WriteResult ( const std::string &  m)
inline
osgDB::ReaderWriter::WriteResult::WriteResult ( const WriteResult rr)
inline

Member Function Documentation

bool osgDB::ReaderWriter::WriteResult::error ( ) const
inline
std::string& osgDB::ReaderWriter::WriteResult::message ( )
inline
const std::string& osgDB::ReaderWriter::WriteResult::message ( ) const
inline
bool osgDB::ReaderWriter::WriteResult::notHandled ( ) const
inline
bool osgDB::ReaderWriter::WriteResult::operator< ( const WriteResult rhs) const
inline
WriteResult& osgDB::ReaderWriter::WriteResult::operator= ( const WriteResult rr)
inline
WriteStatus osgDB::ReaderWriter::WriteResult::status ( ) const
inline
bool osgDB::ReaderWriter::WriteResult::success ( ) const
inline

Member Data Documentation

std::string osgDB::ReaderWriter::WriteResult::_message
protected
WriteStatus osgDB::ReaderWriter::WriteResult::_status
protected

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

osg logo
Generated at Wed Nov 11 2015 22:14:55 for the OpenSceneGraph by doxygen 1.8.10.