5#include <system/object.h>
6#include <system/collections/ienumerator.h>
7#include <system/collections/ienumerable.h>
18template <
typename>
class List;
24class DocumentXmlWriter;
25class DocumentXPathNavigator;
26class XmlAttributeCollection;
47 typedef ::System::BaseTypesInfo<BaseType> ThisTypeBaseTypesInfo;
48 ASPOSECPP_SHARED_RTTI_INFO_DECL();
57 friend class DocumentXmlWriter;
58 friend class DocumentXPathNavigator;
72 typedef ::System::BaseTypesInfo<BaseType> ThisTypeBaseTypesInfo;
79 typedef SingleObjectEnumerator
ThisType;
82 typedef ::System::BaseTypesInfo<BaseType> ThisTypeBaseTypesInfo;
91 bool MoveNext()
override;
92 void Reset()
override;
93 void Dispose()
override;
97 ASPOSECPP_SHARED_API System::Details::VirtualizedIteratorBase<SharedPtr<System::Xml::XmlNode>>* CloneIterator()
const override;
101 #ifdef ASPOSE_GET_SHARED_MEMBERS
102 void GetSharedMembers(System::Object::shared_members_type& result)
const override;
105 #ifdef __DBG_FOR_EACH_MEMBER
109 ASPOSECPP_SHARED_API
void DBG_for_each_member(DBG::for_each_member_visitor& visitor)
const override;
112 const char* DBG_class_name()
const override {
return "SingleObjectEnumerator"; }
132 void RemoveAt(int32_t index);
138 #ifdef ASPOSE_GET_SHARED_MEMBERS
139 void GetSharedMembers(System::Object::shared_members_type& result)
const override;
142 #ifdef __DBG_FOR_EACH_MEMBER
146 ASPOSECPP_SHARED_API
void DBG_for_each_member(DBG::for_each_member_visitor& visitor)
const override;
149 const char* DBG_class_name()
const override {
return "SingleObjectEnumerator"; }
155 SharedPtr<XmlNode> _field;
156 SharedPtr<Collections::Generic::List<SharedPtr<XmlNode>>> _list;
160 class ASPOSECPP_SHARED_CLASS Iterator :
public Details::BaseIterator<std::forward_iterator_tag, const decltype(_field)>
163 ASPOSECPP_SHARED_API Iterator(pointer ptr);
165 ASPOSECPP_SHARED_API Iterator& operator++();
166 ASPOSECPP_SHARED_API Iterator operator++(
int);
168 ASPOSECPP_SHARED_API
bool operator==(
const Iterator& other)
const;
169 ASPOSECPP_SHARED_API
bool operator!=(
const Iterator& other)
const;
171 ASPOSECPP_SHARED_API reference
operator*()
const;
177 Iterator begin() const noexcept;
178 Iterator end() const noexcept;
180 Iterator cbegin() const noexcept;
181 Iterator cend() const noexcept;
189 virtual ASPOSECPP_SHARED_API int32_t get_Count();
239 int32_t FindNodeOffset(const
String& name);
240 int32_t FindNodeOffset(const
String& localName, const
String& namespaceURI);
251 #ifdef ASPOSE_GET_SHARED_MEMBERS
252 ASPOSECPP_SHARED_API
void GetSharedMembers(System::Object::shared_members_type& result)
const override;
255 #ifdef __DBG_FOR_EACH_MEMBER
259 ASPOSECPP_SHARED_API
void DBG_for_each_member(DBG::for_each_member_visitor& visitor)
const override;
262 const char* DBG_class_name()
const override {
return "XmlNamedNodeMap"; }
275 ASPOSECPP_SHARED_API
iterator end() const noexcept;
279 ASPOSECPP_SHARED_API
iterator cbegin() const noexcept;
282 ASPOSECPP_SHARED_API
iterator cend() const noexcept;
Interface of object providing enumerator on contained elements.
Definition: ienumerable.h:25
Interface of enumerator which can be used to iterate through some elements. Objects of this class sho...
Definition: ienumerator.h:63
Base class that enables using methods available for System.Object class in C#. All non-trivial classe...
Definition: object.h:62
Pointer class to wrap types being allocated on heap. Use it to manage memory for classes inheriting O...
Definition: smart_ptr.h:180
String class used across the library. Is a substitute for C# System.String when translating code....
Definition: string.h:122
Subclass of System::SmartPtr which sets itself to weak mode at construction. Please note that this cl...
Definition: weak_ptr.h:18
Represents a collection of attributes that can be accessed by name or index.
Definition: xml_attribute_collection.h:35
Represents an XML document. You can use this class to load, validate, edit, add, and position XML in ...
Definition: xml_document.h:100
Represents the document type declaration.
Definition: xml_document_type.h:37
Represents a collection of nodes that can be accessed by name or index.
Definition: xml_named_node_map.h:43
iterator begin() const noexcept
Gets iterator to the first element of collection.
SmallXmlNodeList::Iterator iterator
Iterator type.
Definition: xml_named_node_map.h:268
Represents a single node in the XML document.
Definition: xml_node.h:75
class ASPOSECPP_SHARED_CLASS List
Definition: ienumerable.h:18
bool operator!=(const SharedPtr< XmlQualifiedName > &a, const SharedPtr< XmlQualifiedName > &b)
Compares two XmlQualifiedName objects.
@ Xml
Serialize according to the XML 1.0 rules.
bool operator==(const SharedPtr< XmlQualifiedName > &a, const SharedPtr< XmlQualifiedName > &b)
Compares two XmlQualifiedName objects.
Definition: db_command.h:9
Decimal operator*(const T &x, const Decimal &d)
Returns a new instance of Decimal class that represents a value that is a result of multiplication of...
Definition: decimal.h:556