Aspose::Cells::Vector class
Contents
[
Hide
]Vector class
Vector template class. The elements are stored contiguously.
template<typenameT>class Vector
| Parameter | Description |
|---|---|
| T |
Methods
| Method | Description |
|---|---|
| GetData() const | Gets the address of the element array in this vector. |
| GetLength() const | Gets the length of the elements in this Vector. |
| IsNull() const | Checks whether the element array is nullptr. |
| explicit operator bool() const | operator bool() |
| operator=(const Vector& src) | operator= |
| operator[](int32_t index) const | Array subscript operator. |
| Vector() | Default constructor. Constructs an empty Vector. |
| Vector(int32_t len, const T& default_value) | Constructs an element Vector of the specified length. |
| Vector(const T* data, int32_t len) | Constructs from an element array. All elements will be copied. |
| Vector(std::initializer_list<T> init) | Constructs using initialization list. |
| Vector(const Vector& src) | Copy constructor. |
| ~Vector() | Destructor. |
See Also
- Namespace Aspose::Cells
- Library Aspose.Cells for C++