|
| AsciiInput (std::istream &input, ref_ptr< ObjectFactory > in_objectFactory, ref_ptr< const Options > in_options={}) |
|
bool | matchPropertyName (const char *propertyName) override |
| return true if property name matches the next token in the stream, or if property names are not required for format
|
|
OptionalObjectID | objectID () |
|
template<typename T > |
void | _read (size_t num, T *value) |
|
template<typename R , typename T > |
void | _read_withcast (size_t num, T *value) |
|
void | read (size_t num, int8_t *value) override |
|
void | read (size_t num, uint8_t *value) override |
|
void | read (size_t num, int16_t *value) override |
|
void | read (size_t num, uint16_t *value) override |
|
void | read (size_t num, int32_t *value) override |
|
void | read (size_t num, uint32_t *value) override |
|
void | read (size_t num, int64_t *value) override |
|
void | read (size_t num, uint64_t *value) override |
|
void | read (size_t num, float *value) override |
|
void | read (size_t num, double *value) override |
|
void | _read (std::string &value) |
|
void | _read (std::wstring &value) |
|
void | read (size_t num, std::string *value) override |
| read one or more strings
|
|
void | read (size_t num, std::wstring *value) override |
| read one or more strings
|
|
void | read (size_t num, Path *value) override |
| read one or more paths
|
|
vsg::ref_ptr< vsg::Object > | read () override |
| read object
|
|
| Input (ref_ptr< ObjectFactory > in_objectFactory, ref_ptr< const Options > in_options={}) |
|
Input & | operator= (const Input &rhs)=delete |
|
void | read (size_t num, char *value) |
|
void | read (size_t num, bool *value) |
|
void | read (size_t num, vec2 *value) |
|
void | read (size_t num, vec3 *value) |
|
void | read (size_t num, vec4 *value) |
|
void | read (size_t num, dvec2 *value) |
|
void | read (size_t num, dvec3 *value) |
|
void | read (size_t num, dvec4 *value) |
|
void | read (size_t num, bvec2 *value) |
|
void | read (size_t num, bvec3 *value) |
|
void | read (size_t num, bvec4 *value) |
|
void | read (size_t num, ubvec2 *value) |
|
void | read (size_t num, ubvec3 *value) |
|
void | read (size_t num, ubvec4 *value) |
|
void | read (size_t num, svec2 *value) |
|
void | read (size_t num, svec3 *value) |
|
void | read (size_t num, svec4 *value) |
|
void | read (size_t num, usvec2 *value) |
|
void | read (size_t num, usvec3 *value) |
|
void | read (size_t num, usvec4 *value) |
|
void | read (size_t num, ivec2 *value) |
|
void | read (size_t num, ivec3 *value) |
|
void | read (size_t num, ivec4 *value) |
|
void | read (size_t num, uivec2 *value) |
|
void | read (size_t num, uivec3 *value) |
|
void | read (size_t num, uivec4 *value) |
|
void | read (size_t num, quat *value) |
|
void | read (size_t num, dquat *value) |
|
void | read (size_t num, mat3 *value) |
|
void | read (size_t num, dmat3 *value) |
|
void | read (size_t num, mat4 *value) |
|
void | read (size_t num, dmat4 *value) |
|
void | read (size_t num, sphere *value) |
|
void | read (size_t num, dsphere *value) |
|
void | read (size_t num, box *value) |
|
void | read (size_t num, dbox *value) |
|
void | read (size_t num, plane *value) |
|
void | read (size_t num, dplane *value) |
|
template<typename T > |
void | read (size_t num, T *value) |
| treat non standard type as raw data
|
|
template<typename T > |
void | read (const char *propertyName, ref_ptr< T > &arg) |
|
template<typename T > |
void | readObjects (const char *propertyName, T &values) |
|
template<typename T > |
void | readValues (const char *propertyName, std::vector< T > &values) |
|
template<typename T > |
void | readValues (const char *propertyName, std::set< T > &values) |
|
template<typename... Args> |
void | read (const char *propertyName, Args &... args) |
| match property name and read value(s)
|
|
ref_ptr< Object > | readObject (const char *propertyName) |
| read object of a particular type
|
|
template<class T > |
ref_ptr< T > | readObject (const char *propertyName) |
| read object of a particular type
|
|
template<class T > |
void | readObject (const char *propertyName, ref_ptr< T > &arg) |
| read object of a particular type
|
|
template<typename T > |
T | readValue (const char *propertyName) |
| read a value of particular type
|
|
template<typename W , typename T > |
void | readValue (const char *propertyName, T &value) |
| read a value as a type, then cast it to another type
|
|
virtual bool | version_less (uint32_t major, uint32_t minor, uint32_t patch, uint32_t soversion=0) const |
|
virtual bool | version_greater_equal (uint32_t major, uint32_t minor, uint32_t patch, uint32_t soversion=0) const |
|
template<> |
void | readObject (const char *propertyName, ref_ptr< Object > &arg) |
|
vsg::Input subclass that implements reading from an ascii input stream. Used by VSG ReaderWriter when reading native .vsgt ascii files.