mrdocs::dom::ArrayImpl

Abstract array interface.

Synopsis

Declared in <mrdocs/Dom/Array.hpp>

class ArrayImpl;

Description

This interface is used by Array types.

Types

Name

Description

size_type

An unsigned integral type used for indexes and sizes.

value_type

The type of an element.

Member Functions

Name

Description

~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

Name Description

DefaultArrayImpl

The default array implementation.

LazyArrayImpl

Lazy array implementation

LazyArrayImpl

Lazy array implementation

Created with MrDocs