fidl:: VectorView
Summary
Constructors and Destructors |
|
---|---|
VectorView()
|
|
VectorView(AnyArena & allocator, size_t count)
|
|
VectorView(AnyArena & allocator, size_t initial_count, size_t capacity)
|
|
VectorView(std::nullptr_t data, size_t count)
|
|
VectorView(AnyArena & arena, InputIterator first, InputIterator last)
|
|
VectorView(AnyArena & arena, cpp20::span< const T > span)
|
|
VectorView(AnyArena & arena, const std::vector< std::remove_cv_t< T >> & vector)
|
|
VectorView(VectorView< U > && other)
|
Public types |
|
---|---|
elem_type
|
usingT
|
Public functions |
|
---|---|
Allocate(AnyArena & arena, size_t count)
|
void
|
at(size_t offset) const
|
T &
|
begin() const
|
T *
|
cbegin() const
|
const T *
|
cend() const
|
const T *
|
count() const
|
size_t
|
data() const
|
T *
|
empty() const
|
bool
|
end() const
|
T *
|
get() const
|
cpp20::span< T >
|
is_null() const
|
bool
|
operator=(VectorView< U > && other)
|
|
operator[](size_t offset) const
|
T &
|
set_count(size_t count)
|
void
|
Public static functions |
|
---|---|
FromExternal(std::vector< std::remove_cv_t< T >> & from)
|
VectorView< T >
|
FromExternal(std::array< T, size > & from)
|
VectorView< T >
|
FromExternal(T(&) data[size])
|
VectorView< T >
|
FromExternal(T *data, size_t count)
|
VectorView< T >
|
Protected functions |
|
---|---|
VectorView(std::vector< std::remove_cv_t< T >> & from)
|
|
VectorView(T *data, size_t count)
|
|
Public types
elem_type
T elem_type
Public functions
Allocate
void Allocate( AnyArena & arena, size_t count )
VectorView
VectorView()=default
VectorView
VectorView( AnyArena & allocator, size_t count )
VectorView
VectorView( AnyArena & allocator, size_t initial_count, size_t capacity )
VectorView
VectorView( std::nullptr_t data, size_t count )
VectorView
VectorView( AnyArena & arena, InputIterator first, InputIterator last )
VectorView
VectorView( AnyArena & arena, cpp20::span< const T > span )
VectorView
VectorView( AnyArena & arena, const std::vector< std::remove_cv_t< T >> & vector )
VectorView
VectorView( VectorView< U > && other )
at
T & at( size_t offset ) const
begin
T * begin() const
cbegin
const T * cbegin() const
cend
const T * cend() const
count
size_t count() const
data
T * data() const
empty
bool empty() const
end
T * end() const
get
cpp20::span< T > get() const
is_null
bool is_null() const
operator=
VectorView & operator=( VectorView< U > && other )
operator[]
T & operator[]( size_t offset ) const
set_count
void set_count( size_t count )
Public static functions
FromExternal
VectorView< T > FromExternal( std::vector< std::remove_cv_t< T >> & from )
FromExternal
VectorView< T > FromExternal( std::array< T, size > & from )
FromExternal
VectorView< T > FromExternal( T(&) data[size] )
FromExternal
VectorView< T > FromExternal( T *data, size_t count )
Protected functions
VectorView
VectorView( std::vector< std::remove_cv_t< T >> & from )
VectorView
VectorView( T *data, size_t count )