Skip to main content

var::View

Types

SwapBy#

  • half_word
  • word

Static Attributes

npos#

constexpr static size_t var::View::npos 

Type: constexpr static size_t

Functions

View()=default#

var::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) const#

inline

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) const#

inline

char var::View::at_const_char (size_t position) const

Type: char

Parameters:

  • size_t position

at_const_float(size_t position) const#

inline

float var::View::at_const_float (size_t position) const

Type: float

Parameters:

  • size_t position

at_const_s16(size_t position) const#

inline

s16 var::View::at_const_s16 (size_t position) const

Type: s16

Parameters:

  • size_t position

at_const_s32(size_t position) const#

inline

s32 var::View::at_const_s32 (size_t position) const

Type: s32

Parameters:

  • size_t position

at_const_s64(size_t position) const#

inline

s64 var::View::at_const_s64 (size_t position) const

Type: s64

Parameters:

  • size_t position

at_const_s8(size_t position) const#

inline

s8 var::View::at_const_s8 (size_t position) const

Type: s8

Parameters:

  • size_t position

at_const_u16(size_t position) const#

inline

u16 var::View::at_const_u16 (size_t position) const

Type: u16

Parameters:

  • size_t position

at_const_u32(size_t position) const#

inline

u32 var::View::at_const_u32 (size_t position) const

Type: u32

Parameters:

  • size_t position

at_const_u64(size_t position) const#

inline

u64 var::View::at_const_u64 (size_t position) const

Type: u64

Parameters:

  • size_t position

at_const_u8(size_t position) const#

inline

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:

count() const#

inline

size_t var::View::count () const

Type: size_t

data()#

inline

void * var::View::data ()

Type: void *

data() const#

inline

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) const#

size_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:

is_null() const#

inline

bool var::View::is_null () const

Type: bool

is_valid() const#

inline

bool var::View::is_valid () const

Type: bool

operator!=(const View &a) const#

inline

bool var::View::operator!= (const View &a) const

Type: bool

Parameters:

operator==(const View &a) const#

inline

bool var::View::operator== (const View &a) const

Type: bool

Parameters:

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() const#

inline

size_t var::View::size () const

Type: size_t

size_signed() const#

inline

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:

to()#

inline

T * var::View::to ()

Type: T *

to() const#

inline

const T * var::View::to () const

Type: const T *

to_char()#

inline

char * var::View::to_char ()

Type: char *

to_const_char() const#

inline

const char * var::View::to_const_char () const

Type: const char *

to_const_float() const#

inline

const float * var::View::to_const_float () const

Type: const float *

to_const_s16() const#

inline

const s16 * var::View::to_const_s16 () const

Type: const s16 *

to_const_s32() const#

inline

const s32 * var::View::to_const_s32 () const

Type: const s32 *

to_const_s64() const#

inline

const s64 * var::View::to_const_s64 () const

Type: const s64 *

to_const_s8() const#

inline

const s8 * var::View::to_const_s8 () const

Type: const s8 *

to_const_u16() const#

inline

const u16 * var::View::to_const_u16 () const

Type: const u16 *

to_const_u32() const#

inline

const u32 * var::View::to_const_u32 () const

Type: const u32 *

to_const_u64() const#

inline

const u64 * var::View::to_const_u64 () const

Type: const u64 *

to_const_u8() const#

inline

const u8 * var::View::to_const_u8 () const

Type: const u8 *

to_const_void() const#

inline

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() const#

inline

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() const#

inline

bool var::View::verify_zero_sum () const

Type: bool