2#ifndef _aspose_system_collections_ilist_h_
3#define _aspose_system_collections_ilist_h_
5#include <system/collections/icollection.h>
6#include <system/exceptions.h>
7#include <initializer_list>
10namespace Collections {
35 virtual int IndexOf(
const T& item)
const = 0;
39 virtual void Insert(
int index,
const T& item) = 0;
51 virtual void idx_set(
int index, T value) = 0;
64 for (
const auto& item : range)
Interface of collection of elements. Objects of this class should only be allocated using System::Mak...
Definition: icollection.h:20
Interface of indexed container of elements. Objects of this class should only be allocated using Syst...
Definition: ilist.h:20
virtual void Insert(int index, const T &item)=0
Inserts element into specified position, shifting other elements.
virtual void idx_set(int index, T value)=0
Sets element at specified index.
virtual void RemoveAt(int index)=0
Removes element at specified index.
virtual int IndexOf(const T &item) const =0
Gets index of first appearance of item in container.
ICollection< T > BaseType
Base type.
Definition: ilist.h:26
T ValueType
Value type.
Definition: ilist.h:30
virtual T idx_get(int index) const =0
Gets element at specified index.
virtual void _add_range(std::initializer_list< T > range)
Adds a range of elements to the collection.
Definition: ilist.h:62
IList< T > ThisType
This type.
Definition: ilist.h:28
bool get_IsFixedSize()
Checks whether the collection is of fixed size.
Definition: ilist.h:55
Definition: db_command.h:9