mrdocs::dom::ArrayImpl

Abstract array interface.

Synopsis

Declared in <mrdocs/Dom/Array.hpp>

class ArrayImpl;

Description

This interface is used by Array types.

Type Aliases

NameDescription
size_type An unsigned integral type used for indexes and sizes.
value_type The type of an element.

Member Functions

NameDescription
~ArrayImpl [destructor] [virtual]Destructor.
emplace_back [virtual]Append an element to the end of the array.
get [virtual]Return the i-th element, without bounds checking.
set [virtual]Set the i-th element, without bounds checking.
size [virtual]Return the number of elements in the array.
type_key [virtual]Return the type key of the implementation.

Derived Classes

NameDescription
DefaultArrayImpl The default array implementation.
LazyArrayImpl Lazy array implementation
LazyArrayImpl Lazy array implementation