var::View
- Inherits: api::ExecutionContext
public
Types
#
SwapBy- half_word
- word
Static Attributes
#
nposconstexpr static size_t var::View::npos
Type: constexpr static size_t
Functions
#
View()=defaultvar::View::View ()=default
#
View(Array< T, size_value > &array)inline
var::View::View (Array< T, size_value > &array)
#
View(const Array< T, size_value > &array)inline
var::View::View (const Array< T, size_value > &array)
#
View(const char *str)inline
var::View::View (const char *str)
#
View(const Data &data)var::View::View (const Data &data)
#
View(const String &str)inline
var::View::View (const String &str)
#
View(const Vector< T > &vector)inline
var::View::View (const Vector< T > &vector)
#
View(const void *buffer, size_t size)inline
var::View::View (const void *buffer, size_t size)
#
View(Data &data)var::View::View (Data &data)
#
View(String &str)inline
var::View::View (String &str)
#
View(StringView str)inline
var::View::View (StringView str)
#
View(T &item)inline
explicit
var::View::View (T &item)
#
View(Vector< T > &vector)inline
var::View::View (Vector< T > &vector)
#
View(void *buffer, size_t size)inline
var::View::View (void *buffer, size_t size)
#
at(size_t position)inline
T & var::View::at (size_t position)
Type: T &
Parameters:
size_t
position
#
at(size_t position) constinline
const T & var::View::at (size_t position) const
Type: const T &
Parameters:
size_t
position
#
at_char(size_t position)inline
char & var::View::at_char (size_t position)
Type: char &
Parameters:
size_t
position
#
at_const_char(size_t position) constinline
char var::View::at_const_char (size_t position) const
Type: char
Parameters:
size_t
position
#
at_const_float(size_t position) constinline
float var::View::at_const_float (size_t position) const
Type: float
Parameters:
size_t
position
#
at_const_s16(size_t position) constinline
s16 var::View::at_const_s16 (size_t position) const
Type: s16
Parameters:
size_t
position
#
at_const_s32(size_t position) constinline
s32 var::View::at_const_s32 (size_t position) const
Type: s32
Parameters:
size_t
position
#
at_const_s64(size_t position) constinline
s64 var::View::at_const_s64 (size_t position) const
Type: s64
Parameters:
size_t
position
#
at_const_s8(size_t position) constinline
s8 var::View::at_const_s8 (size_t position) const
Type: s8
Parameters:
size_t
position
#
at_const_u16(size_t position) constinline
u16 var::View::at_const_u16 (size_t position) const
Type: u16
Parameters:
size_t
position
#
at_const_u32(size_t position) constinline
u32 var::View::at_const_u32 (size_t position) const
Type: u32
Parameters:
size_t
position
#
at_const_u64(size_t position) constinline
u64 var::View::at_const_u64 (size_t position) const
Type: u64
Parameters:
size_t
position
#
at_const_u8(size_t position) constinline
u8 var::View::at_const_u8 (size_t position) const
Type: u8
Parameters:
size_t
position
#
at_float(size_t position)inline
float & var::View::at_float (size_t position)
Type: float &
Parameters:
size_t
position
#
at_s16(size_t position)inline
s16 & var::View::at_s16 (size_t position)
Type: s16 &
Parameters:
size_t
position
#
at_s32(size_t position)inline
s32 & var::View::at_s32 (size_t position)
Type: s32 &
Parameters:
size_t
position
#
at_s64(size_t position)inline
s64 & var::View::at_s64 (size_t position)
Type: s64 &
Parameters:
size_t
position
#
at_s8(size_t position)inline
s8 & var::View::at_s8 (size_t position)
Type: s8 &
Parameters:
size_t
position
#
at_u16(size_t position)inline
u16 & var::View::at_u16 (size_t position)
Type: u16 &
Parameters:
size_t
position
#
at_u32(size_t position)inline
u32 & var::View::at_u32 (size_t position)
Type: u32 &
Parameters:
size_t
position
#
at_u64(size_t position)inline
u64 & var::View::at_u64 (size_t position)
Type: u64 &
Parameters:
size_t
position
#
at_u8(size_t position)inline
u8 & var::View::at_u8 (size_t position)
Type: u8 &
Parameters:
size_t
position
#
copy(const View &source)View & var::View::copy (const View &source)
Type: View &
Parameters:
- const View &
source
#
count() constinline
size_t var::View::count () const
Type: size_t
#
data()inline
void * var::View::data ()
Type: void *
#
data() constinline
const void * var::View::data () const
Type: const void *
#
fill(const T &value)inline
View & var::View::fill (const T &value)
Type: View &
Parameters:
const T &
value
#
find(const View &view, size_t alignment=1) constsize_t var::View::find (const View &view, size_t alignment=1) const
Type: size_t
Parameters:
- const View &
view
size_t
alignment
#
find_offset(const T &value)inline
size_t var::View::find_offset (const T &value)
Type: size_t
Parameters:
const T &
value
#
from_string(StringView value)inline
View & var::View::from_string (StringView value)
Type: View &
Parameters:
- StringView
value
#
is_null() constinline
bool var::View::is_null () const
Type: bool
#
is_valid() constinline
bool var::View::is_valid () const
Type: bool
#
operator!=(const View &a) constinline
bool var::View::operator!= (const View &a) const
Type: bool
Parameters:
- const View &
a
#
operator==(const View &a) constinline
bool var::View::operator== (const View &a) const
Type: bool
Parameters:
- const View &
a
#
pop_back(size_t pop_size=1)inline
View & var::View::pop_back (size_t pop_size=1)
Type: View &
Parameters:
size_t
pop_size
#
pop_front(size_t pop_size=1)inline
View & var::View::pop_front (size_t pop_size=1)
Type: View &
Parameters:
size_t
pop_size
#
size() constinline
size_t var::View::size () const
Type: size_t
#
size_signed() constinline
ssize_t var::View::size_signed () const
Type: ssize_t
#
swap_byte_order(SwapBy order)View & var::View::swap_byte_order (SwapBy order)
Type: View &
Parameters:
- SwapBy
order
#
to()inline
T * var::View::to ()
Type: T *
#
to() constinline
const T * var::View::to () const
Type: const T *
#
to_char()inline
char * var::View::to_char ()
Type: char *
#
to_const_char() constinline
const char * var::View::to_const_char () const
Type: const char *
#
to_const_float() constinline
const float * var::View::to_const_float () const
Type: const float *
#
to_const_s16() constinline
const s16 * var::View::to_const_s16 () const
Type: const s16 *
#
to_const_s32() constinline
const s32 * var::View::to_const_s32 () const
Type: const s32 *
#
to_const_s64() constinline
const s64 * var::View::to_const_s64 () const
Type: const s64 *
#
to_const_s8() constinline
const s8 * var::View::to_const_s8 () const
Type: const s8 *
#
to_const_u16() constinline
const u16 * var::View::to_const_u16 () const
Type: const u16 *
#
to_const_u32() constinline
const u32 * var::View::to_const_u32 () const
Type: const u32 *
#
to_const_u64() constinline
const u64 * var::View::to_const_u64 () const
Type: const u64 *
#
to_const_u8() constinline
const u8 * var::View::to_const_u8 () const
Type: const u8 *
#
to_const_void() constinline
const void * var::View::to_const_void () const
Type: const void *
#
to_float()inline
float * var::View::to_float ()
Type: float *
#
to_s16()inline
s16 * var::View::to_s16 ()
Type: s16 *
#
to_s32()inline
s32 * var::View::to_s32 ()
Type: s32 *
#
to_s64()inline
s64 * var::View::to_s64 ()
Type: s64 *
#
to_s8()inline
s8 * var::View::to_s8 ()
Type: s8 *
#
to_string() constinline
StringType var::View::to_string () const
Type: StringType
#
to_u16()inline
u16 * var::View::to_u16 ()
Type: u16 *
#
to_u32()inline
u32 * var::View::to_u32 ()
Type: u32 *
#
to_u64()inline
u64 * var::View::to_u64 ()
Type: u64 *
#
to_u8()inline
u8 * var::View::to_u8 ()
Type: u8 *
#
to_void()inline
void * var::View::to_void ()
Type: void *
#
truncate(size_t new_size)inline
View & var::View::truncate (size_t new_size)
Type: View &
Parameters:
size_t
new_size
#
verify_zero_sum() constinline
bool var::View::verify_zero_sum () const
Type: bool