5#include <xml/schema/xml_schema_object.h>
6#include <system/details/pointer_collection_helpers.h>
7#include <system/collections/ienumerator.h>
8#include <system/collections/collection_base.h>
9#include <system/array.h>
20class XmlSchemaComplexType;
41 typedef ::System::BaseTypesInfo<BaseType> ThisTypeBaseTypesInfo;
42 ASPOSECPP_SHARED_RTTI_INFO_DECL();
150 #ifdef ASPOSE_GET_SHARED_MEMBERS
151 ASPOSECPP_SHARED_API
void GetSharedMembers(System::Object::shared_members_type& result)
const override;
172 typedef ::System::BaseTypesInfo<BaseType> ThisTypeBaseTypesInfo;
173 ASPOSECPP_SHARED_RTTI_INFO_DECL();
192 ASPOSECPP_SHARED_API
void Reset()
override;
201 ASPOSECPP_SHARED_API System::Details::VirtualizedIteratorBase<SharedPtr<System::Xml::Schema::XmlSchemaObject>>*
CloneIterator()
const override;
209 #ifdef ASPOSE_GET_SHARED_MEMBERS
210 ASPOSECPP_SHARED_API
void GetSharedMembers(System::Object::shared_members_type& result)
const override;
Provides an abstract base class for a strongly typed collection.
Definition: collection_base.h:21
Interface of enumerator which can be used to iterate through some elements. Objects of this class sho...
Definition: ienumerator.h:63
Pointer class to wrap types being allocated on heap. Use it to manage memory for classes inheriting O...
Definition: smart_ptr.h:180
Represents the complexType element from XML Schema as specified by the World Wide Web Consortium (W3C...
Definition: xml_schema_complex_type.h:64
A collection of XmlSchemaObjects.
Definition: xml_schema_object_collection.h:37
void SetTemplateWeakPtr(uint32_t argument) override
Set n'th template argument a weak pointer (rather than shared). Allows switching pointers in containe...
int32_t Add(const SharedPtr< XmlSchemaObject > &item)
Adds an XmlSchemaObject to the XmlSchemaObjectCollection.
virtual SharedPtr< XmlSchemaObject > idx_get(int32_t index)
Returns the XmlSchemaObject at the specified index.
void OnSet(int32_t index, const SharedPtr< XmlSchemaObject > &oldValue, const SharedPtr< XmlSchemaObject > &newValue) override
OnSet is invoked before the standard Set behavior. For more information, see CollectionBase::OnSet me...
XmlSchemaObjectCollection()
Initializes a new instance of the XmlSchemaObjectCollection class.
void OnInsert(int32_t index, const SharedPtr< XmlSchemaObject > &item) override
OnInsert is invoked before the standard Insert behavior. For more information, see CollectionBase::On...
void OnRemove(int32_t index, const SharedPtr< XmlSchemaObject > &item) override
OnRemove is invoked before the standard Remove behavior. For more information, see CollectionBase::On...
virtual ~XmlSchemaObjectCollection()
void Remove(const SharedPtr< XmlSchemaObject > &item)
Removes an XmlSchemaObject from the XmlSchemaObjectCollection.
void OnClear() override
OnClear is invoked before the standard Clear behavior. For more information, see CollectionBase::OnCl...
SharedPtr< Collections::Generic::IEnumerator< SharedPtr< XmlSchemaObject > > > GetEnumerator() override
Returns an enumerator for iterating through the XmlSchemaObjects contained in the XmlSchemaObjectColl...
void CopyTo(const ArrayPtr< SharedPtr< XmlSchemaObject > > &array, int32_t index)
Copies all the XmlSchemaObjects from the collection into the given array, starting at the given index...
virtual void idx_set(int32_t index, SharedPtr< XmlSchemaObject > value)
Sets the XmlSchemaObject at the specified index.
bool Contains(const SharedPtr< XmlSchemaObject > &item)
Indicates if the specified XmlSchemaObject is in the XmlSchemaObjectCollection.
XmlSchemaObjectCollection(const SharedPtr< XmlSchemaObject > &parent)
Initializes a new instance of the XmlSchemaObjectCollection class that takes an XmlSchemaObject.
int32_t IndexOf(const SharedPtr< XmlSchemaObject > &item)
Returns the collection index corresponding to the specified XmlSchemaObject.
void Insert(int32_t index, const SharedPtr< XmlSchemaObject > &item)
Inserts an XmlSchemaObject to the XmlSchemaObjectCollection.
Represents the enumerator for the XmlSchemaObjectCollection.
Definition: xml_schema_object_collection.h:168
System::Details::VirtualizedIteratorBase< SharedPtr< System::Xml::Schema::XmlSchemaObject > > * CloneIterator() const override
Clones current iterator.
void Dispose() override
Does nothing.
void Reset() override
Resets the enumerator to the start of the collection.
bool MoveNext() override
Moves to the next item in the collection.
const SharedPtr< XmlSchemaObject > & get_Current() const override
Returns the current XmlSchemaObject in the collection.
@ Schema
Validate according to XML Schema definition language (XSD) schemas, including inline XML Schemas....
@ Xml
Serialize according to the XML 1.0 rules.
Definition: db_command.h:9