Main Page   Namespace List   Class Hierarchy   Alphabetical List   Compound List   File List   Namespace Members   Compound Members   File Members   Related Pages  

osgDB::ReaderWriter::ReadResult Class Reference

List of all members.

Public Types

enum  ReadStatus { FILE_NOT_HANDLED, FILE_LOADED, ERROR_IN_READING_FILE }

Public Methods

 ReadResult (ReadStatus status=FILE_NOT_HANDLED)
 ReadResult (const std::string &m)
 ReadResult (osg::Object *obj)
 ReadResult (const ReadResult &rr)
ReadResult & operator= (const ReadResult &rr)
osg::Object * getObject ()
osg::Image * getImage ()
osg::Node * getNode ()
const bool validObject ()
const bool validImage ()
const bool validNode ()
osg::Object * takeObject ()
osg::Image * takeImage ()
osg::Node * takeNode ()
const std::string & message () const
const ReadStatus status () const
const bool success () const
const bool error () const
const bool notHandled () const

Protected Attributes

ReadStatus _status
std::string _message
osg::ref_ptr< osg::Object > _object

Member Enumeration Documentation

enum osgDB::ReaderWriter::ReadResult::ReadStatus
 

Enumeration values:
FILE_NOT_HANDLED 
FILE_LOADED 
ERROR_IN_READING_FILE 


Constructor & Destructor Documentation

osgDB::ReaderWriter::ReadResult::ReadResult (  ReadStatus    status = FILE_NOT_HANDLED )  [inline]
 

osgDB::ReaderWriter::ReadResult::ReadResult (  const std::string &    m )  [inline]
 

osgDB::ReaderWriter::ReadResult::ReadResult (  osg::Object *    obj )  [inline]
 

osgDB::ReaderWriter::ReadResult::ReadResult (  const ReadResult &    rr )  [inline]
 


Member Function Documentation

const bool osgDB::ReaderWriter::ReadResult::error (    )  const [inline]
 

osg::Image* osgDB::ReaderWriter::ReadResult::getImage (    )  [inline]
 

osg::Node* osgDB::ReaderWriter::ReadResult::getNode (    )  [inline]
 

osg::Object* osgDB::ReaderWriter::ReadResult::getObject (    )  [inline]
 

const std::string& osgDB::ReaderWriter::ReadResult::message (    )  const [inline]
 

const bool osgDB::ReaderWriter::ReadResult::notHandled (    )  const [inline]
 

ReadResult& osgDB::ReaderWriter::ReadResult::operator= (  const ReadResult &    rr )  [inline]
 

const ReadStatus osgDB::ReaderWriter::ReadResult::status (    )  const [inline]
 

const bool osgDB::ReaderWriter::ReadResult::success (    )  const [inline]
 

osg::Image* osgDB::ReaderWriter::ReadResult::takeImage (    )  [inline]
 

osg::Node* osgDB::ReaderWriter::ReadResult::takeNode (    )  [inline]
 

osg::Object* osgDB::ReaderWriter::ReadResult::takeObject (    )  [inline]
 

const bool osgDB::ReaderWriter::ReadResult::validImage (    )  [inline]
 

const bool osgDB::ReaderWriter::ReadResult::validNode (    )  [inline]
 

const bool osgDB::ReaderWriter::ReadResult::validObject (    )  [inline]
 


Member Data Documentation

std::string osgDB::ReaderWriter::ReadResult::_message [protected]
 

osg::ref_ptr<osg::Object> osgDB::ReaderWriter::ReadResult::_object [protected]
 

ReadStatus osgDB::ReaderWriter::ReadResult::_status [protected]
 


The documentation for this class was generated from the following file:
Generated at Wed Sep 18 13:55:48 2002 for the Open Scene Graph by doxygen 1.2.16.