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 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|