Assimp
v4.1. (December 2018)
|
Inherits Assimp::FIReader.
Public Member Functions | |
CFIReaderImpl (std::unique_ptr< uint8_t[]> data_, size_t size) | |
virtual int | getAttributeCount () const |
virtual std::shared_ptr< const FIValue > | getAttributeEncodedValue (const char *name) const |
virtual std::shared_ptr< const FIValue > | getAttributeEncodedValue (int idx) const |
virtual const char * | getAttributeName (int idx) const |
Returns name of an attribute. More... | |
virtual const char * | getAttributeValue (const char *name) const |
Returns the value of an attribute. More... | |
virtual const char * | getAttributeValue (int idx) const |
Returns the value of an attribute. More... | |
virtual float | getAttributeValueAsFloat (const char *name) const |
Returns the value of an attribute as float. More... | |
virtual float | getAttributeValueAsFloat (int idx) const |
Returns the value of an attribute as float. More... | |
virtual int | getAttributeValueAsInt (const char *name) const |
Returns the value of an attribute as integer. More... | |
virtual int | getAttributeValueAsInt (int idx) const |
Returns the value of an attribute as integer. More... | |
virtual const char * | getAttributeValueSafe (const char *name) const |
Returns the value of an attribute in a safe way. More... | |
virtual const char * | getNodeData () const |
virtual const char * | getNodeName () const |
virtual irr::io::EXML_NODE | getNodeType () const |
virtual irr::io::ETEXT_FORMAT | getParserFormat () const |
virtual irr::io::ETEXT_FORMAT | getSourceFormat () const |
virtual bool | isEmptyElement () const |
virtual bool | read () |
Reads forward to the next xml node. More... | |
virtual void | registerDecoder (const std::string &algorithmUri, std::unique_ptr< FIDecoder > decoder) |
virtual void | registerVocabulary (const std::string &vocabularyUri, const FIVocabulary *vocabulary) |
virtual | ~CFIReaderImpl () |
![]() | |
virtual | ~FIReader () |
![]() | |
virtual int | getAttributeCount () const=0 |
Returns attribute count of the current XML node. More... | |
virtual const char * | getNodeData () const=0 |
Returns data of the current node. More... | |
virtual const char * | getNodeName () const=0 |
Returns the name of the current node. More... | |
virtual EXML_NODE | getNodeType () const=0 |
Returns the type of the current XML node. More... | |
virtual ETEXT_FORMAT | getParserFormat () const=0 |
Returns format of the strings returned by the parser. More... | |
virtual ETEXT_FORMAT | getSourceFormat () const=0 |
Returns format of the source xml file. More... | |
virtual bool | isEmptyElement () const=0 |
Returns if an element is an empty element, like <foo > More... | |
virtual | ~IIrrXMLReader () |
Destructor. More... | |
Additional Inherited Members | |
![]() | |
static std::unique_ptr< FIReader > | create (IOStream *stream) |
|
inline |
|
inlinevirtual |
|
inlinevirtual |
|
inlinevirtual |
Implements Assimp::FIReader.
|
inlinevirtual |
Implements Assimp::FIReader.
|
inlinevirtual |
Returns name of an attribute.
idx | Zero based index, should be something between 0 and getAttributeCount()-1. |
Implements irr::io::IIrrXMLReader< char, irr::io::IXMLBase >.
|
inlinevirtual |
Returns the value of an attribute.
name | Name of the attribute. |
Implements irr::io::IIrrXMLReader< char, irr::io::IXMLBase >.
|
inlinevirtual |
Returns the value of an attribute.
idx | Zero based index, should be something between 0 and getAttributeCount()-1. |
Implements irr::io::IIrrXMLReader< char, irr::io::IXMLBase >.
|
inlinevirtual |
Returns the value of an attribute as float.
name | Name of the attribute. |
Implements irr::io::IIrrXMLReader< char, irr::io::IXMLBase >.
|
inlinevirtual |
Returns the value of an attribute as float.
idx | Zero based index, should be something between 0 and getAttributeCount()-1. |
Implements irr::io::IIrrXMLReader< char, irr::io::IXMLBase >.
|
inlinevirtual |
Returns the value of an attribute as integer.
name | Name of the attribute. |
Implements irr::io::IIrrXMLReader< char, irr::io::IXMLBase >.
|
inlinevirtual |
Returns the value of an attribute as integer.
idx | Zero based index, should be something between 0 and getAttributeCount()-1. |
Implements irr::io::IIrrXMLReader< char, irr::io::IXMLBase >.
|
inlinevirtual |
Returns the value of an attribute in a safe way.
Like getAttributeValue(), but does not return 0 if the attribute does not exist. An empty string ("") is returned then.
name | Name of the attribute. |
Implements irr::io::IIrrXMLReader< char, irr::io::IXMLBase >.
|
inlinevirtual |
|
inlinevirtual |
|
inlinevirtual |
|
inlinevirtual |
|
inlinevirtual |
|
inlinevirtual |
|
inlinevirtual |
Reads forward to the next xml node.
Implements irr::io::IIrrXMLReader< char, irr::io::IXMLBase >.
|
inlinevirtual |
Implements Assimp::FIReader.
|
inlinevirtual |
Implements Assimp::FIReader.