OpenSceneGraph 3.6.5
|
#include <InputStream>
Public Types | |
enum | ReadType { READ_UNKNOWN = 0 , READ_SCENE , READ_IMAGE , READ_OBJECT } |
typedef std::map< unsigned int, osg::ref_ptr< osg::Array > > | ArrayMap |
typedef std::map< unsigned int, osg::ref_ptr< osg::Object > > | IdentifierMap |
Public Attributes | |
ObjectProperty | PROPERTY |
ObjectMark | BEGIN_BRACKET |
ObjectMark | END_BRACKET |
Protected Types | |
typedef std::map< std::string, int > | VersionMap |
Protected Member Functions | |
void | checkStream () |
void | setWrapperSchema (const std::string &name, const std::string &properties) |
template<typename T> | |
void | readArrayImplementation (T *a, unsigned int numComponentsPerElements, unsigned int componentSizeInBytes) |
Protected Attributes | |
ArrayMap | _arrayMap |
IdentifierMap | _identifierMap |
VersionMap | _domainVersionMap |
int | _fileVersion |
bool | _useSchemaData |
bool | _forceReadingImage |
std::vector< std::string > | _fields |
osg::ref_ptr< InputIterator > | _in |
osg::ref_ptr< InputException > | _exception |
osg::ref_ptr< const osgDB::Options > | _options |
osg::ref_ptr< osg::Object > | _dummyReadObject |
std::stringstream * | _dataDecompress |
typedef std::map< unsigned int, osg::ref_ptr<osg::Array> > osgDB::InputStream::ArrayMap |
typedef std::map< unsigned int, osg::ref_ptr<osg::Object> > osgDB::InputStream::IdentifierMap |
|
protected |
osgDB::InputStream::InputStream | ( | const osgDB::Options * | options | ) |
Referenced by operator>>(), operator>>(), operator>>(), operator>>(), operator>>(), operator>>(), operator>>(), operator>>(), operator>>(), operator>>(), operator>>(), operator>>(), operator>>(), operator>>(), operator>>(), operator>>(), operator>>(), operator>>(), operator>>(), operator>>(), operator>>(), operator>>(), operator>>(), operator>>(), operator>>(), operator>>(), operator>>(), operator>>(), operator>>(), operator>>(), operator>>(), operator>>(), operator>>(), operator>>(), operator>>(), operator>>(), operator>>(), operator>>(), operator>>(), operator>>(), operator>>(), operator>>(), operator>>(), operator>>(), operator>>(), operator>>(), operator>>(), operator>>(), operator>>(), operator>>(), operator>>(), operator>>(), operator>>(), and operator>>().
|
virtual |
|
inline |
References _in.
|
inlineprotected |
References _in, and throwException().
Referenced by operator>>(), operator>>(), operator>>(), operator>>(), operator>>(), operator>>(), operator>>(), operator>>(), operator>>(), operator>>(), operator>>(), operator>>(), operator>>(), operator>>(), operator>>(), operator>>(), operator>>(), operator>>(), and readWrappedString().
void osgDB::InputStream::decompress | ( | ) |
|
inline |
References _exception.
int osgDB::InputStream::getFileVersion | ( | const std::string & | d = std::string() | ) | const |
Referenced by osgDB::BitFlagsSerializer< C, P >::read().
|
inline |
References _options.
|
inline |
References _in.
Referenced by osgDB::BitFlagsSerializer< C, P >::read(), osgDB::EnumSerializer< C, P, B >::read(), osgDB::GLenumSerializer< C, P >::read(), osgDB::ImageSerializer< C, P >::read(), osgDB::IsAVectorSerializer< C >::read(), osgDB::ListSerializer< C, P >::read(), osgDB::MapSerializer< C, P >::read(), osgDB::MatrixSerializer< C >::read(), osgDB::ObjectSerializer< C, P >::read(), osgDB::PropByRefSerializer< C, P >::read(), osgDB::PropByValSerializer< C, P >::read(), osgDB::StringSerializer< C >::read(), osgDB::UserSerializer< C >::read(), and osgDB::VectorSerializer< C, P >::read().
|
inline |
References _in.
Referenced by osgDB::BitFlagsSerializer< C, P >::read(), osgDB::EnumSerializer< C, P, B >::read(), osgDB::GLenumSerializer< C, P >::read(), osgDB::ImageSerializer< C, P >::read(), osgDB::IsAVectorSerializer< C >::read(), osgDB::ListSerializer< C, P >::read(), osgDB::MapSerializer< C, P >::read(), osgDB::MatrixSerializer< C >::read(), osgDB::ObjectSerializer< C, P >::read(), osgDB::PropByRefSerializer< C, P >::read(), osgDB::PropByValSerializer< C, P >::read(), osgDB::StringSerializer< C >::read(), osgDB::UserSerializer< C >::read(), and osgDB::VectorSerializer< C, P >::read().
|
inline |
References _in, checkStream(), and InputStream().
|
inline |
References _in, checkStream(), and InputStream().
|
inline |
References _in, checkStream(), and InputStream().
|
inline |
References _in, checkStream(), and InputStream().
|
inline |
References _in, checkStream(), and InputStream().
|
inline |
References _in, checkStream(), and InputStream().
|
inline |
References _in, checkStream(), and InputStream().
|
inline |
References _in, checkStream(), and InputStream().
|
inline |
References _in, checkStream(), and InputStream().
InputStream & osgDB::InputStream::operator>> | ( | osg::BoundingBoxd & | bb | ) |
References InputStream().
InputStream & osgDB::InputStream::operator>> | ( | osg::BoundingBoxf & | bb | ) |
References InputStream().
InputStream & osgDB::InputStream::operator>> | ( | osg::BoundingSphered & | bs | ) |
References InputStream().
InputStream & osgDB::InputStream::operator>> | ( | osg::BoundingSpheref & | bs | ) |
References InputStream().
InputStream & osgDB::InputStream::operator>> | ( | osg::Matrixd & | mat | ) |
References InputStream().
InputStream & osgDB::InputStream::operator>> | ( | osg::Matrixf & | mat | ) |
References InputStream().
InputStream & osgDB::InputStream::operator>> | ( | osg::Plane & | p | ) |
References InputStream().
InputStream & osgDB::InputStream::operator>> | ( | osg::Quat & | q | ) |
References InputStream().
|
inline |
References _fileVersion, InputStream(), readArray(), and readObjectOfType().
|
inline |
References InputStream(), and readImage().
|
inline |
References _fileVersion, InputStream(), readObjectOfType(), and readPrimitiveSet().
|
inline |
References InputStream(), and readObjectOfType().
InputStream & osgDB::InputStream::operator>> | ( | osg::Vec2b & | v | ) |
References InputStream().
InputStream & osgDB::InputStream::operator>> | ( | osg::Vec2d & | v | ) |
References InputStream().
InputStream & osgDB::InputStream::operator>> | ( | osg::Vec2f & | v | ) |
References InputStream().
InputStream & osgDB::InputStream::operator>> | ( | osg::Vec2i & | v | ) |
References InputStream().
InputStream & osgDB::InputStream::operator>> | ( | osg::Vec2s & | v | ) |
References InputStream().
InputStream & osgDB::InputStream::operator>> | ( | osg::Vec2ub & | v | ) |
References InputStream().
InputStream & osgDB::InputStream::operator>> | ( | osg::Vec2ui & | v | ) |
References InputStream().
InputStream & osgDB::InputStream::operator>> | ( | osg::Vec2us & | v | ) |
References InputStream().
InputStream & osgDB::InputStream::operator>> | ( | osg::Vec3b & | v | ) |
References InputStream().
InputStream & osgDB::InputStream::operator>> | ( | osg::Vec3d & | v | ) |
References InputStream().
InputStream & osgDB::InputStream::operator>> | ( | osg::Vec3f & | v | ) |
References InputStream().
InputStream & osgDB::InputStream::operator>> | ( | osg::Vec3i & | v | ) |
References InputStream().
InputStream & osgDB::InputStream::operator>> | ( | osg::Vec3s & | v | ) |
References InputStream().
InputStream & osgDB::InputStream::operator>> | ( | osg::Vec3ub & | v | ) |
References InputStream().
InputStream & osgDB::InputStream::operator>> | ( | osg::Vec3ui & | v | ) |
References InputStream().
InputStream & osgDB::InputStream::operator>> | ( | osg::Vec3us & | v | ) |
References InputStream().
InputStream & osgDB::InputStream::operator>> | ( | osg::Vec4b & | v | ) |
References InputStream().
InputStream & osgDB::InputStream::operator>> | ( | osg::Vec4d & | v | ) |
References InputStream().
InputStream & osgDB::InputStream::operator>> | ( | osg::Vec4f & | v | ) |
References InputStream().
InputStream & osgDB::InputStream::operator>> | ( | osg::Vec4i & | v | ) |
References InputStream().
InputStream & osgDB::InputStream::operator>> | ( | osg::Vec4s & | v | ) |
References InputStream().
InputStream & osgDB::InputStream::operator>> | ( | osg::Vec4ub & | v | ) |
References InputStream().
InputStream & osgDB::InputStream::operator>> | ( | osg::Vec4ui & | v | ) |
References InputStream().
InputStream & osgDB::InputStream::operator>> | ( | osg::Vec4us & | v | ) |
References InputStream().
|
inline |
References _in, checkStream(), and InputStream().
|
inline |
References _in, checkStream(), and InputStream().
|
inline |
References _in, checkStream(), and InputStream().
|
inline |
References _in, checkStream(), and InputStream().
|
inline |
References _in, checkStream(), and InputStream().
|
inline |
References _in, checkStream(), and InputStream().
|
inline |
References _in, checkStream(), and InputStream().
|
inline |
References _in, checkStream(), and InputStream().
|
inline |
References _in, checkStream(), and InputStream().
osg::ref_ptr< osg::Array > osgDB::InputStream::readArray | ( | ) |
Referenced by operator>>().
|
protected |
|
inline |
References _in.
|
inline |
References _in.
osg::ref_ptr< osg::Image > osgDB::InputStream::readImage | ( | bool | readFromExternal = true | ) |
Referenced by operator>>(), and osgDB::ImageSerializer< C, P >::read().
osg::ref_ptr< osg::Object > osgDB::InputStream::readObject | ( | osg::Object * | existingObj = 0 | ) |
Referenced by readObjectOfType().
osg::ref_ptr< osg::Object > osgDB::InputStream::readObjectFields | ( | const std::string & | className, |
unsigned int | id, | ||
osg::Object * | existingObj = 0 ) |
Referenced by readObjectFieldsOfType().
|
inline |
References osg::ref_ptr< T >::get(), and readObjectFields().
|
inline |
References osg::ref_ptr< T >::get(), and readObject().
Referenced by operator>>(), operator>>(), operator>>(), and osgDB::ObjectSerializer< C, P >::read().
osg::ref_ptr< osg::PrimitiveSet > osgDB::InputStream::readPrimitiveSet | ( | ) |
Referenced by operator>>().
void osgDB::InputStream::readSchema | ( | std::istream & | fin | ) |
|
inline |
|
inline |
References _in, and checkStream().
Referenced by osgDB::StringSerializer< C >::read().
void osgDB::InputStream::resetSchema | ( | ) |
References throwException().
|
inline |
References _domainVersionMap.
|
inline |
set an input iterator, used directly when not using InputStream with a traditional file related stream.
References _in.
|
protected |
ReadType osgDB::InputStream::start | ( | InputIterator * | ) |
start reading from InputStream treating it as a traditional file related stream, handles headers and versioning
|
inline |
References _exception, and _fields.
Referenced by checkStream(), and resetSchema().
|
protected |
|
protected |
|
protected |
Referenced by setFileVersion().
|
protected |
|
protected |
Referenced by getException(), and throwException().
|
protected |
Referenced by throwException().
|
protected |
Referenced by operator>>(), and operator>>().
|
protected |
|
protected |
|
protected |
Referenced by advanceToCurrentEndBracket(), checkStream(), isBinary(), matchString(), operator>>(), operator>>(), operator>>(), operator>>(), operator>>(), operator>>(), operator>>(), operator>>(), operator>>(), operator>>(), operator>>(), operator>>(), operator>>(), operator>>(), operator>>(), operator>>(), operator>>(), operator>>(), readCharArray(), readComponentArray(), readWrappedString(), and setInputIterator().
|
protected |
Referenced by getOptions().
|
protected |
ObjectMark osgDB::InputStream::BEGIN_BRACKET |
ObjectMark osgDB::InputStream::END_BRACKET |
ObjectProperty osgDB::InputStream::PROPERTY |
![]() | Generated at Sun Jul 20 2025 00:00:00 for the OpenSceneGraph by doxygen 1.14.0. |