Represents a reader that provides fast, non-cached forward only access to XML data in an XmlNode.
More...
|
ASPOSECPP_SHARED_API XmlNodeType | get_NodeType () override |
| Returns the type of the current node. More...
|
|
ASPOSECPP_SHARED_API String | get_Name () override |
| Returns the qualified name of the current node. More...
|
|
ASPOSECPP_SHARED_API String | get_LocalName () override |
| Returns the local name of the current node. More...
|
|
ASPOSECPP_SHARED_API String | get_NamespaceURI () override |
| Returns the namespace URI (as defined in the W3C Namespace specification) of the node on which the reader is positioned. More...
|
|
ASPOSECPP_SHARED_API String | get_Prefix () override |
| Returns the namespace prefix associated with the current node. More...
|
|
ASPOSECPP_SHARED_API bool | get_HasValue () override |
| Returns a value indicating whether the current node can have a XmlNodeReader::get_Value value. More...
|
|
ASPOSECPP_SHARED_API String | get_Value () override |
| Returns the text value of the current node. More...
|
|
ASPOSECPP_SHARED_API int32_t | get_Depth () override |
| Returns the depth of the current node in the XML document. More...
|
|
ASPOSECPP_SHARED_API String | get_BaseURI () override |
| Returns the base URI of the current node. More...
|
|
ASPOSECPP_SHARED_API bool | get_CanResolveEntity () override |
| Returns a value indicating whether this reader can parse and resolve entities. More...
|
|
ASPOSECPP_SHARED_API bool | get_IsEmptyElement () override |
| Returns a value indicating whether the current node is an empty element (for example, <MyElement/> ). More...
|
|
ASPOSECPP_SHARED_API bool | get_IsDefault () override |
| Returns a value indicating whether the current node is an attribute that was generated from the default value defined in the document type definition (DTD) or schema. More...
|
|
ASPOSECPP_SHARED_API System::Xml::XmlSpace | get_XmlSpace () override |
| Returns the current xml:space scope. More...
|
|
ASPOSECPP_SHARED_API String | get_XmlLang () override |
| Returns the current xml:lang scope. More...
|
|
ASPOSECPP_SHARED_API SharedPtr< Schema::IXmlSchemaInfo > | get_SchemaInfo () override |
| Returns the schema information that has been assigned to the current node. More...
|
|
ASPOSECPP_SHARED_API int32_t | get_AttributeCount () override |
| Returns the number of attributes on the current node. More...
|
|
ASPOSECPP_SHARED_API bool | get_EOF () override |
| Returns a value indicating whether the reader is positioned at the end of the stream. More...
|
|
ASPOSECPP_SHARED_API System::Xml::ReadState | get_ReadState () override |
| Returns the state of the reader. More...
|
|
ASPOSECPP_SHARED_API bool | get_HasAttributes () override |
| Returns a value indicating whether the current node has any attributes. More...
|
|
ASPOSECPP_SHARED_API SharedPtr< XmlNameTable > | get_NameTable () override |
| Returns the XmlNameTable associated with this implementation. More...
|
|
ASPOSECPP_SHARED_API bool | get_CanReadBinaryContent () override |
| Returns a value indicating whether the XmlNodeReader implements the binary content read methods. More...
|
|
ASPOSECPP_SHARED_API | XmlNodeReader (const SharedPtr< XmlNode > &node) |
| Creates an instance of the XmlNodeReader class using the specified XmlNode. More...
|
|
ASPOSECPP_SHARED_API String | GetAttribute (String name) override |
| Returns the value of the attribute with the specified name. More...
|
|
ASPOSECPP_SHARED_API String | GetAttribute (String name, String namespaceURI) override |
| Returns the value of the attribute with the specified local name and namespace URI. More...
|
|
ASPOSECPP_SHARED_API String | GetAttribute (int32_t attributeIndex) override |
| Returns the value of the attribute with the specified index. More...
|
|
ASPOSECPP_SHARED_API bool | MoveToAttribute (String name) override |
| Moves to the attribute with the specified name. More...
|
|
ASPOSECPP_SHARED_API bool | MoveToAttribute (String name, String namespaceURI) override |
| Moves to the attribute with the specified local name and namespace URI. More...
|
|
ASPOSECPP_SHARED_API void | MoveToAttribute (int32_t attributeIndex) override |
| Moves to the attribute with the specified index. More...
|
|
ASPOSECPP_SHARED_API bool | MoveToFirstAttribute () override |
| Moves to the first attribute. More...
|
|
ASPOSECPP_SHARED_API bool | MoveToNextAttribute () override |
| Moves to the next attribute. More...
|
|
ASPOSECPP_SHARED_API bool | MoveToElement () override |
| Moves to the element that contains the current attribute node. More...
|
|
ASPOSECPP_SHARED_API bool | Read () override |
| Reads the next node from the stream. More...
|
|
ASPOSECPP_SHARED_API void | Close () override |
| Changes the XmlNodeReader::get_ReadState to ReadState::Closed. More...
|
|
ASPOSECPP_SHARED_API void | Skip () override |
| Skips the children of the current node. More...
|
|
ASPOSECPP_SHARED_API String | ReadString () override |
| Reads the contents of an element or text node as a string. More...
|
|
ASPOSECPP_SHARED_API String | LookupNamespace (const String &prefix) override |
| Resolves a namespace prefix in the current element's scope. More...
|
|
ASPOSECPP_SHARED_API void | ResolveEntity () override |
| Resolves the entity reference for EntityReference nodes. More...
|
|
ASPOSECPP_SHARED_API bool | ReadAttributeValue () override |
| Parses the attribute value into one or more Text , EntityReference , or EndEntity nodes. More...
|
|
ASPOSECPP_SHARED_API int32_t | ReadContentAsBase64 (ArrayPtr< uint8_t > buffer, int32_t index, int32_t count) override |
| Reads the content and returns the Base64 decoded binary bytes. More...
|
|
ASPOSECPP_SHARED_API int32_t | ReadContentAsBinHex (ArrayPtr< uint8_t > buffer, int32_t index, int32_t count) override |
| Reads the content and returns the BinHex decoded binary bytes. More...
|
|
ASPOSECPP_SHARED_API int32_t | ReadElementContentAsBase64 (ArrayPtr< uint8_t > buffer, int32_t index, int32_t count) override |
| Reads the element and decodes the Base64 content. More...
|
|
ASPOSECPP_SHARED_API int32_t | ReadElementContentAsBinHex (ArrayPtr< uint8_t > buffer, int32_t index, int32_t count) override |
| Reads the element and decodes the BinHex content. More...
|
|
virtual ASPOSECPP_SHARED_API SharedPtr< XmlReaderSettings > | get_Settings () |
| Returns the XmlReaderSettings object used to create this XmlReader instance. More...
|
|
virtual ASPOSECPP_SHARED_API char16_t | get_QuoteChar () |
| When overridden in a derived class, gets the quotation mark character used to enclose the value of an attribute node. More...
|
|
virtual ASPOSECPP_SHARED_API TypeInfo | get_ValueType () |
| Returns The type for the current node. More...
|
|
virtual ASPOSECPP_SHARED_API bool | get_CanReadValueChunk () |
| Returns a value indicating whether the XmlReader implements the XmlReader::ReadValueChunk method. More...
|
|
virtual ASPOSECPP_SHARED_API SharedPtr< Object > | ReadContentAsObject () |
| Reads the text content at the current position as an Object. More...
|
|
virtual ASPOSECPP_SHARED_API bool | ReadContentAsBoolean () |
| Reads the text content at the current position as a Boolean. More...
|
|
virtual ASPOSECPP_SHARED_API DateTime | ReadContentAsDateTime () |
| Reads the text content at the current position as a DateTime object. More...
|
|
virtual ASPOSECPP_SHARED_API DateTimeOffset | ReadContentAsDateTimeOffset () |
| Reads the text content at the current position as a DateTimeOffset object. More...
|
|
virtual ASPOSECPP_SHARED_API double | ReadContentAsDouble () |
| Reads the text content at the current position as a double-precision floating-point number. More...
|
|
virtual ASPOSECPP_SHARED_API float | ReadContentAsFloat () |
| Reads the text content at the current position as a single-precision floating point number. More...
|
|
virtual ASPOSECPP_SHARED_API Decimal | ReadContentAsDecimal () |
| Reads the text content at the current position as a Decimal object. More...
|
|
virtual ASPOSECPP_SHARED_API int32_t | ReadContentAsInt () |
| Reads the text content at the current position as a 32-bit signed integer. More...
|
|
virtual ASPOSECPP_SHARED_API int64_t | ReadContentAsLong () |
| Reads the text content at the current position as a 64-bit signed integer. More...
|
|
virtual ASPOSECPP_SHARED_API String | ReadContentAsString () |
| Reads the text content at the current position as a String object. More...
|
|
virtual ASPOSECPP_SHARED_API SharedPtr< Object > | ReadContentAs (const TypeInfo &returnType, SharedPtr< IXmlNamespaceResolver > namespaceResolver) |
| Reads the content as an object of the type specified. More...
|
|
virtual ASPOSECPP_SHARED_API SharedPtr< Object > | ReadElementContentAsObject () |
| Reads the current element and returns the contents as an Object. More...
|
|
virtual ASPOSECPP_SHARED_API SharedPtr< Object > | ReadElementContentAsObject (String localName, String namespaceURI) |
| Checks that the specified local name and namespace URI matches that of the current element, then reads the current element and returns the contents as an Object. More...
|
|
virtual ASPOSECPP_SHARED_API bool | ReadElementContentAsBoolean () |
| Reads the current element and returns the contents as a Boolean object. More...
|
|
virtual ASPOSECPP_SHARED_API bool | ReadElementContentAsBoolean (String localName, String namespaceURI) |
| Checks that the specified local name and namespace URI matches that of the current element, then reads the current element and returns the contents as a Boolean object. More...
|
|
virtual ASPOSECPP_SHARED_API DateTime | ReadElementContentAsDateTime () |
| Reads the current element and returns the contents as a DateTime object. More...
|
|
virtual ASPOSECPP_SHARED_API DateTime | ReadElementContentAsDateTime (String localName, String namespaceURI) |
| Checks that the specified local name and namespace URI matches that of the current element, then reads the current element and returns the contents as a DateTime object. More...
|
|
virtual ASPOSECPP_SHARED_API double | ReadElementContentAsDouble () |
| Reads the current element and returns the contents as a double-precision floating-point number. More...
|
|
virtual ASPOSECPP_SHARED_API double | ReadElementContentAsDouble (String localName, String namespaceURI) |
| Checks that the specified local name and namespace URI matches that of the current element, then reads the current element and returns the contents as a double-precision floating-point number. More...
|
|
virtual ASPOSECPP_SHARED_API float | ReadElementContentAsFloat () |
| Reads the current element and returns the contents as single-precision floating-point number. More...
|
|
virtual ASPOSECPP_SHARED_API float | ReadElementContentAsFloat (String localName, String namespaceURI) |
| Checks that the specified local name and namespace URI matches that of the current element, then reads the current element and returns the contents as a single-precision floating-point number. More...
|
|
virtual ASPOSECPP_SHARED_API Decimal | ReadElementContentAsDecimal () |
| Reads the current element and returns the contents as a Decimal object. More...
|
|
virtual ASPOSECPP_SHARED_API Decimal | ReadElementContentAsDecimal (String localName, String namespaceURI) |
| Checks that the specified local name and namespace URI matches that of the current element, then reads the current element and returns the contents as a Decimal object. More...
|
|
virtual ASPOSECPP_SHARED_API int32_t | ReadElementContentAsInt () |
| Reads the current element and returns the contents as a 32-bit signed integer. More...
|
|
virtual ASPOSECPP_SHARED_API int32_t | ReadElementContentAsInt (String localName, String namespaceURI) |
| Checks that the specified local name and namespace URI matches that of the current element, then reads the current element and returns the contents as a 32-bit signed integer. More...
|
|
virtual ASPOSECPP_SHARED_API int64_t | ReadElementContentAsLong () |
| Reads the current element and returns the contents as a 64-bit signed integer. More...
|
|
virtual ASPOSECPP_SHARED_API int64_t | ReadElementContentAsLong (String localName, String namespaceURI) |
| Checks that the specified local name and namespace URI matches that of the current element, then reads the current element and returns the contents as a 64-bit signed integer. More...
|
|
virtual ASPOSECPP_SHARED_API String | ReadElementContentAsString () |
| Reads the current element and returns the contents as a String object. More...
|
|
virtual ASPOSECPP_SHARED_API String | ReadElementContentAsString (String localName, String namespaceURI) |
| Checks that the specified local name and namespace URI matches that of the current element, then reads the current element and returns the contents as a String object. More...
|
|
virtual ASPOSECPP_SHARED_API SharedPtr< Object > | ReadElementContentAs (const TypeInfo &returnType, SharedPtr< IXmlNamespaceResolver > namespaceResolver) |
| Reads the element content as the requested type. More...
|
|
virtual ASPOSECPP_SHARED_API SharedPtr< Object > | ReadElementContentAs (const TypeInfo &returnType, SharedPtr< IXmlNamespaceResolver > namespaceResolver, String localName, String namespaceURI) |
| Checks that the specified local name and namespace URI matches that of the current element, then reads the element content as the requested type. More...
|
|
virtual ASPOSECPP_SHARED_API String | idx_get (int32_t i) |
| When overridden in a derived class, gets the value of the attribute with the specified index. More...
|
|
virtual ASPOSECPP_SHARED_API String | idx_get (String name) |
| When overridden in a derived class, gets the value of the attribute with the specified XmlReader::get_Name value. More...
|
|
virtual ASPOSECPP_SHARED_API String | idx_get (String name, String namespaceURI) |
| When overridden in a derived class, gets the value of the attribute with the specified XmlReader::get_LocalName and XmlReader::get_NamespaceURI values. More...
|
|
virtual ASPOSECPP_SHARED_API int32_t | ReadValueChunk (ArrayPtr< char16_t > buffer, int32_t index, int32_t count) |
| Reads large streams of text embedded in an XML document. More...
|
|
virtual ASPOSECPP_SHARED_API XmlNodeType | MoveToContent () |
| Checks whether the current node is a content (non-white space text, CDATA , Element , EndElement , EntityReference , or EndEntity ) node. If the node is not a content node, the reader skips ahead to the next content node or end of file. It skips over nodes of the following type: ProcessingInstruction , DocumentType , Comment , Whitespace , or SignificantWhitespace . More...
|
|
virtual ASPOSECPP_SHARED_API void | ReadStartElement () |
| Checks that the current node is an element and advances the reader to the next node. More...
|
|
virtual ASPOSECPP_SHARED_API void | ReadStartElement (String name) |
| Checks that the current content node is an element with the given XmlReader::get_Name value and advances the reader to the next node. More...
|
|
virtual ASPOSECPP_SHARED_API void | ReadStartElement (String localname, String ns) |
| Checks that the current content node is an element with the given XmlReader::get_LocalName and XmlReader::get_NamespaceURI values and advances the reader to the next node. More...
|
|
virtual ASPOSECPP_SHARED_API String | ReadElementString () |
| Reads a text-only element. However, it is recommended to use the XmlReader::ReadElementContentAsString method instead, because it provides a more straightforward way to handle this operation. More...
|
|
virtual ASPOSECPP_SHARED_API String | ReadElementString (String name) |
| Checks that the XmlReader::get_Name value of the element found matches the given string before reading a text-only element. However, it is recommended to use the XmlReader::ReadElementContentAsString method instead, because it provides a more straightforward way to handle this operation. More...
|
|
virtual ASPOSECPP_SHARED_API String | ReadElementString (String localname, String ns) |
| Checks that the XmlReader::get_LocalName and XmlReader::get_NamespaceURI values of the element found matches the given strings before reading a text-only element. However, it is recommended to use the XmlReader::ReadElementContentAsString method instead, because it provides a more straightforward way to handle this operation. More...
|
|
virtual ASPOSECPP_SHARED_API void | ReadEndElement () |
| Checks that the current content node is an end tag and advances the reader to the next node. More...
|
|
virtual ASPOSECPP_SHARED_API bool | IsStartElement () |
| Calls XmlReader::MoveToContent and tests if the current content node is a start tag or empty element tag. More...
|
|
virtual ASPOSECPP_SHARED_API bool | IsStartElement (String name) |
| Calls XmlReader::MoveToContent and tests if the current content node is a start tag or empty element tag and if the XmlReader::get_Name value of the element found matches the given argument. More...
|
|
virtual ASPOSECPP_SHARED_API bool | IsStartElement (String localname, String ns) |
| Calls XmlReader::MoveToContent and tests if the current content node is a start tag or empty element tag and if the XmlReader::get_LocalName and XmlReader::get_NamespaceURI values of the element found match the given strings. More...
|
|
virtual ASPOSECPP_SHARED_API bool | ReadToFollowing (String name) |
| Reads until an element with the specified qualified name is found. More...
|
|
virtual ASPOSECPP_SHARED_API bool | ReadToFollowing (String localName, String namespaceURI) |
| Reads until an element with the specified local name and namespace URI is found. More...
|
|
virtual ASPOSECPP_SHARED_API bool | ReadToDescendant (String name) |
| Advances the XmlReader to the next descendant element with the specified qualified name. More...
|
|
virtual ASPOSECPP_SHARED_API bool | ReadToDescendant (String localName, String namespaceURI) |
| Advances the XmlReader to the next descendant element with the specified local name and namespace URI. More...
|
|
virtual ASPOSECPP_SHARED_API bool | ReadToNextSibling (String name) |
| Advances the XmlReader to the next sibling element with the specified qualified name. More...
|
|
virtual ASPOSECPP_SHARED_API bool | ReadToNextSibling (String localName, String namespaceURI) |
| Advances the XmlReader to the next sibling element with the specified local name and namespace URI. More...
|
|
virtual ASPOSECPP_SHARED_API String | ReadInnerXml () |
| When overridden in a derived class, reads all the content, including markup, as a string. More...
|
|
virtual ASPOSECPP_SHARED_API String | ReadOuterXml () |
| When overridden in a derived class, reads the content, including markup, representing this node and all its children. More...
|
|
virtual ASPOSECPP_SHARED_API SharedPtr< XmlReader > | ReadSubtree () |
| Returns a new XmlReader instance that can be used to read the current node, and all its descendants. More...
|
|
ASPOSECPP_SHARED_API void | Dispose () override |
| Releases all resources used by the current instance of the XmlReader class. More...
|
|
ASPOSECPP_SHARED_API | Object () |
| Creates object. Initializes all internal data structures. More...
|
|
virtual ASPOSECPP_SHARED_API | ~Object () |
| Destroys object. Frees all internal data structures. More...
|
|
ASPOSECPP_SHARED_API | Object (Object const &x) |
| Copy constructor. Doesn't copy anything, really, just initializes new object and enables copy constructing subclasses. More...
|
|
Object & | operator= (Object const &x) |
| Assignment operator. Doesn't copy anything, really, just initializes new object and enables copy constructing subclasses. More...
|
|
Object * | SharedRefAdded () |
| Increments shared reference count. Shouldn't be called directly; instead, use smart pointers or ThisProtector. More...
|
|
int | SharedRefRemovedSafe () |
| Decrements and returns shared reference count. Shouldn't be called directly; instead, use smart pointers or ThisProtector. More...
|
|
int | RemovedSharedRefs (int count) |
| Decreases shared reference count by specified value. More...
|
|
Detail::SmartPtrCounter * | WeakRefAdded () |
| Increments weak reference count. Shouldn't be called directly; instead, use smart pointers or ThisProtector. More...
|
|
void | WeakRefRemoved () |
| Decrements weak reference count. Shouldn't be called directly; instead, use smart pointers or ThisProtector. More...
|
|
Detail::SmartPtrCounter * | GetCounter () |
| Gets reference counter data structure associated with the object. More...
|
|
int | SharedCount () const |
| Gets current value of shared reference counter. More...
|
|
ASPOSECPP_SHARED_API void | Lock () |
| Implements C# lock() statement locking. Call directly or use LockContext sentry object. More...
|
|
ASPOSECPP_SHARED_API void | Unlock () |
| Implements C# lock() statement unlocking. Call directly or use LockContext sentry object. More...
|
|
virtual ASPOSECPP_SHARED_API bool | Equals (ptr obj) |
| Compares objects using C# Object.Equals semantics. More...
|
|
virtual ASPOSECPP_SHARED_API int32_t | GetHashCode () const |
| Analog of C# Object.GetHashCode() method. Enables hashing of custom objects. More...
|
|
virtual ASPOSECPP_SHARED_API String | ToString () const |
| Analog of C# Object.ToString() method. Enables converting custom objects to string. More...
|
|
virtual ASPOSECPP_SHARED_API ptr | MemberwiseClone () const |
| Analog of C# Object.MemberwiseClone() method. Enables cloning custom types. More...
|
|
virtual ASPOSECPP_SHARED_API const TypeInfo & | GetType () const |
| Gets actual type of object. Analog of C# System.Object.GetType() call. More...
|
|
virtual ASPOSECPP_SHARED_API bool | Is (const TypeInfo &targetType) const |
| Check if object represents an instance of type described by targetType. Analog of C# 'is' operator. More...
|
|
virtual ASPOSECPP_SHARED_API void | SetTemplateWeakPtr (uint32_t argument) |
| Set n'th template argument a weak pointer (rather than shared). Allows switching pointers in containers to weak mode. More...
|
|
virtual ASPOSECPP_SHARED_API bool | FastCast (const Details::FastRttiBase &helper, void **out_ptr) const |
| For internal purposes only. More...
|
|
template<> |
bool | Equals (float const &objA, float const &objB) |
| Emulates C#-style floating point comparison where two NaNs are considered equal even though according to IEC 60559:1989 NaN is not equal to any value, including NaN. More...
|
|
template<> |
bool | Equals (double const &objA, double const &objB) |
| Emulates C#-style floating point comparison where two NaNs are considered equal even though according to IEC 60559:1989 NaN is not equal to any value, including NaN. More...
|
|
template<> |
bool | ReferenceEquals (String const &str, std::nullptr_t) |
| Specialization of Object::ReferenceEquals for case of string and nullptr. More...
|
|
template<> |
bool | ReferenceEquals (String const &str1, String const &str2) |
| Specialization of Object::ReferenceEquals for case of strings. More...
|
|