osgDB::ReaderWriter::ReadResult Class Reference

List of all members.

Public Types

enum  ReadStatus {
  FILE_NOT_HANDLED, FILE_NOT_FOUND, FILE_LOADED, FILE_LOADED_FROM_CACHE,
  ERROR_IN_READING_FILE
}

Public Member Functions

 ReadResult (ReadStatus status=FILE_NOT_HANDLED)
 ReadResult (const std::string &m)
 ReadResult (osg::Object *obj, ReadStatus status=FILE_LOADED)
 ReadResult (const ReadResult &rr)
ReadResultoperator= (const ReadResult &rr)
osg::ObjectgetObject ()
osg::ImagegetImage ()
osg::HeightFieldgetHeightField ()
osg::NodegetNode ()
osgDB::ArchivegetArchive ()
bool validObject ()
bool validImage ()
bool validHeightField ()
bool validNode ()
bool validArchive ()
osg::ObjecttakeObject ()
osg::ImagetakeImage ()
osg::HeightFieldtakeHeightField ()
osg::NodetakeNode ()
osgDB::ArchivetakeArchive ()
std::string & message ()
const std::string & message () const
ReadStatus status () const
bool success () const
bool loadedFromCache () const
bool error () const
bool notHandled () const
bool notFound () const

Protected Attributes

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


Member Enumeration Documentation

enum osgDB::ReaderWriter::ReadResult::ReadStatus

Enumerator:
FILE_NOT_HANDLED 
FILE_NOT_FOUND 
FILE_LOADED 
FILE_LOADED_FROM_CACHE 
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,
ReadStatus  status = FILE_LOADED 
) [inline]

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


Member Function Documentation

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

osg::Object* osgDB::ReaderWriter::ReadResult::getObject (  ) 

osg::Image* osgDB::ReaderWriter::ReadResult::getImage (  ) 

osg::HeightField* osgDB::ReaderWriter::ReadResult::getHeightField (  ) 

osg::Node* osgDB::ReaderWriter::ReadResult::getNode (  ) 

osgDB::Archive* osgDB::ReaderWriter::ReadResult::getArchive (  ) 

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

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

bool osgDB::ReaderWriter::ReadResult::validHeightField (  )  [inline]

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

bool osgDB::ReaderWriter::ReadResult::validArchive (  )  [inline]

osg::Object* osgDB::ReaderWriter::ReadResult::takeObject (  ) 

osg::Image* osgDB::ReaderWriter::ReadResult::takeImage (  ) 

osg::HeightField* osgDB::ReaderWriter::ReadResult::takeHeightField (  ) 

osg::Node* osgDB::ReaderWriter::ReadResult::takeNode (  ) 

osgDB::Archive* osgDB::ReaderWriter::ReadResult::takeArchive (  ) 

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

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

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

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

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

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

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

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


Member Data Documentation

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

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

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


The documentation for this class was generated from the following file:
Generated at Sun Oct 14 02:12:20 2007 for the OpenSceneGraph by doxygen 1.5.3.