Engine::Utils::ArrayView

An example game engine / Some useful utilities / ArrayView

Defined in header <src/Utils/ArrayView.hpp>

template <typename T = uint8_t> 
class ArrayView;

Filesystem path utility functions.

Template Parameters

  • T - The type of the data, for example uint8_t

Public Functions

Member Functions Description
(constructor) (function)
(destructor) = default (virtual function)
data const (virtual function)
size const (virtual function)

Public Functions

function ArrayView

Defined in header <src/Utils/ArrayView.hpp>

ArrayView(const T * src, size_t len);

Exception Safety

Basic exception guarantee.

function ~ArrayView

Defined in header <src/Utils/ArrayView.hpp>

virtual ~ArrayView() = default;

Exception Safety

Basic exception guarantee.

function data

Defined in header <src/Utils/ArrayView.hpp>

virtual const T *
data() const;

Exception Safety

Basic exception guarantee.

function size

Defined in header <src/Utils/ArrayView.hpp>

virtual size_t
size() const;

Exception Safety

Basic exception guarantee.


Updated on 2023-04-03