oa::Span

Span class in the OA Core public surface.

Public Methods

reference oa::Span::back()
iterator oa::Span::begin()
pointer oa::Span::data()
bool oa::Span::empty()
iterator oa::Span::end()
Span<T> oa::Span::first(size_type inCount)
reference oa::Span::front()
reference oa::Span::operator[](size_type inIdx)
size_type oa::Span::size()
size_type oa::Span::sizeBytes()
void oa::Span::Span<T>()
void oa::Span::Span<T>(T (&)[N] inArr)
void oa::Span::Span<T>(const oa::Array<value_type, N> & inArr)
void oa::Span::Span<T>(const oa::Vector<U> & inVec)
void oa::Span::Span<T>(oa::Array<value_type, N> & inArr)
void oa::Span::Span<T>(oa::Vector<U> & inVec)
void oa::Span::Span<T>(pointer inPtr, size_type inCount)
Span<T> oa::Span::subSpan(size_type inOffset, size_type inCount = DynamicExtent)

Public Data Members

DynamicExtentconst oa::Usizestatic

Public Method Documentation

reference oa::Span::back()
No public source comment is attached to this declaration.

Returns

reference

The declared return value.

iterator oa::Span::begin()
No public source comment is attached to this declaration.

Returns

iterator

The declared return value.

pointer oa::Span::data()
No public source comment is attached to this declaration.

Returns

pointer

The declared return value.

bool oa::Span::empty()
No public source comment is attached to this declaration.

Returns

bool

The declared return value.

iterator oa::Span::end()
No public source comment is attached to this declaration.

Returns

iterator

The declared return value.

Span<T> oa::Span::first( size_type inCount )
No public source comment is attached to this declaration.

Parameters

inCount
size_type

Returns

Span<T>

The declared return value.

reference oa::Span::front()
No public source comment is attached to this declaration.

Returns

reference

The declared return value.

reference oa::Span::operator[]( size_type inIdx )
No public source comment is attached to this declaration.

Parameters

inIdx
size_type

Returns

reference

The declared return value.

size_type oa::Span::size()
No public source comment is attached to this declaration.

Returns

size_type

The declared return value.

size_type oa::Span::sizeBytes()
No public source comment is attached to this declaration.

Returns

size_type

The declared return value.

void oa::Span::Span<T>()
No public source comment is attached to this declaration.

Returns

void

The declared return value.

void oa::Span::Span<T>( T (&)[N] inArr )
No public source comment is attached to this declaration.

Parameters

inArr
T (&)[N]

Returns

void

The declared return value.

void oa::Span::Span<T>( const oa::Array<value_type, N> & inArr )
No public source comment is attached to this declaration.

Parameters

inArr
const oa::Array<value_type, N> &

Returns

void

The declared return value.

void oa::Span::Span<T>( const oa::Vector<U> & inVec )
No public source comment is attached to this declaration.

Parameters

inVec
const oa::Vector<U> &

Returns

void

The declared return value.

void oa::Span::Span<T>( oa::Array<value_type, N> & inArr )
No public source comment is attached to this declaration.

Parameters

inArr
oa::Array<value_type, N> &

Returns

void

The declared return value.

void oa::Span::Span<T>( oa::Vector<U> & inVec )
No public source comment is attached to this declaration.

Parameters

inVec
oa::Vector<U> &

Returns

void

The declared return value.

void oa::Span::Span<T>( pointer inPtr, size_type inCount )
No public source comment is attached to this declaration.

Parameters

inPtr
pointer

inCount
size_type

Returns

void

The declared return value.

Span<T> oa::Span::subSpan( size_type inOffset, size_type inCount = DynamicExtent )
No public source comment is attached to this declaration.

Parameters

inOffset
size_type

inCount
size_type

Default: DynamicExtent

Returns

Span<T>

The declared return value.