Skip to main content

var::StringView

Types

Base#

  • auto_
  • octal
  • decimal
  • hexadecimal

const_iterator#

using var::StringView::const_iterator =  typename std::string_view::const_iterator 

Type: typename std::string_view::const_iterator

const_reverse_iterator#

using var::StringView::const_reverse_iterator =  typename std::string_view::const_reverse_iterator 

Type: typename std::string_view::const_reverse_iterator

iterator#

using var::StringView::iterator =  typename std::string_view::iterator 

Type: typename std::string_view::iterator

reverse_iterator#

using var::StringView::reverse_iterator =  typename std::string_view::reverse_iterator 

Type: typename std::string_view::reverse_iterator

Static Attributes

npos#

constexpr static size_t var::StringView::npos 

Type: constexpr static size_t

Friends

String#

friend class String 

Type: class

Parameters:

Functions

StringView()#

inline

var::StringView::StringView ()

StringView(const char *value)#

inline

var::StringView::StringView (const char *value)

StringView(const char *value, size_t length)#

inline

var::StringView::StringView (const char *value, size_t length)

StringView(const GeneralString &value)#

var::StringView::StringView (const GeneralString &value)

StringView(const IdString &value)#

var::StringView::StringView (const IdString &value)

StringView(const KeyString &value)#

var::StringView::StringView (const KeyString &value)

StringView(const NameString &value)#

var::StringView::StringView (const NameString &value)

StringView(const NumberString &value)#

var::StringView::StringView (const NumberString &value)

StringView(const PathString &value)#

var::StringView::StringView (const PathString &value)

StringView(const String &value)#

var::StringView::StringView (const String &value)

at(size_t value) const#

inline

char var::StringView::at (size_t value) const

Type: char

Parameters:

  • size_t value

back() const#

inline

char var::StringView::back () const

Type: char

begin() const noexcept#

inline

const_iterator var::StringView::begin () const noexcept

Type: const_iterator

begin() noexcept#

inline

iterator var::StringView::begin () noexcept

Type: iterator

cbegin() const noexcept#

inline

const_iterator var::StringView::cbegin () const noexcept

Type: const_iterator

cend() const noexcept#

inline

const_iterator var::StringView::cend () const noexcept

Type: const_iterator

crbegin() const noexcept#

inline

const_reverse_iterator var::StringView::crbegin () const noexcept

Type: const_reverse_iterator

crend() const noexcept#

inline

const_reverse_iterator var::StringView::crend () const noexcept

Type: const_reverse_iterator

data() const#

inline

const char * var::StringView::data () const

Type: const char *

end() const noexcept#

inline

const_iterator var::StringView::end () const noexcept

Type: const_iterator

end() noexcept#

inline

iterator var::StringView::end () noexcept

Type: iterator

find(char a, size_t position=0) const#

inline

size_t var::StringView::find (char a, size_t position=0) const

Type: size_t

Parameters:

  • char a
  • size_t position

find(StringView a, size_t position=0) const#

inline

size_t var::StringView::find (StringView a, size_t position=0) const

Type: size_t

Parameters:

find_first_not_of(StringView a, size_t position=0) const#

inline

size_t var::StringView::find_first_not_of (StringView a, size_t position=0) const

Type: size_t

Parameters:

find_first_of(StringView a, size_t position=0) const#

inline

size_t var::StringView::find_first_of (StringView a, size_t position=0) const

Type: size_t

Parameters:

find_last_not_of(StringView a, size_t position=0) const#

inline

size_t var::StringView::find_last_not_of (StringView a, size_t position=0) const

Type: size_t

Parameters:

find_last_of(StringView a, size_t position=0) const#

inline

size_t var::StringView::find_last_of (StringView a, size_t position=0) const

Type: size_t

Parameters:

front() const#

inline

char var::StringView::front () const

Type: char

get_substring(const GetSubstring &options) const#

StringView var::StringView::get_substring (const GetSubstring &options) const

Type: StringView

Parameters:

get_substring_at_position(size_t position) const#

StringView var::StringView::get_substring_at_position (size_t position) const

Type: StringView

Parameters:

  • size_t position

get_substring_with_length(size_t length) const#

StringView var::StringView::get_substring_with_length (size_t length) const

Type: StringView

Parameters:

  • size_t length

is_empty() const#

inline

bool var::StringView::is_empty () const

Type: bool

is_null() const#

inline

bool var::StringView::is_null () const

Type: bool

is_null_terminated() const#

inline

bool var::StringView::is_null_terminated () const

Type: bool

length() const#

inline

size_t var::StringView::length () const

Type: size_t

operator!=(const char *a) const#

inline

bool var::StringView::operator!= (const char *a) const

Type: bool

Parameters:

  • const char * a

operator!=(const String &a) const#

bool var::StringView::operator!= (const String &a) const

Type: bool

Parameters:

operator!=(const StringView a) const#

inline

bool var::StringView::operator!= (const StringView a) const

Type: bool

Parameters:

operator()(const GetSubstring &options) const#

inline

StringView var::StringView::operator() (const GetSubstring &options) const

Type: StringView

Parameters:

operator<(const StringView a) const#

inline

bool var::StringView::operator< (const StringView a) const

Type: bool

Parameters:

operator<=(const StringView a) const#

inline

bool var::StringView::operator<= (const StringView a) const

Type: bool

Parameters:

operator==(const char *a) const#

inline

bool var::StringView::operator== (const char *a) const

Type: bool

Parameters:

  • const char * a

operator==(const String &a) const#

bool var::StringView::operator== (const String &a) const

Type: bool

Parameters:

operator==(const StringView a) const#

inline

bool var::StringView::operator== (const StringView a) const

Type: bool

Parameters:

operator>(const StringView a) const#

inline

bool var::StringView::operator> (const StringView a) const

Type: bool

Parameters:

operator>=(const StringView a) const#

inline

bool var::StringView::operator>= (const StringView a) const

Type: bool

Parameters:

pop_back(size_t length=1)#

inline

StringView & var::StringView::pop_back (size_t length=1)

Type: StringView &

Parameters:

  • size_t length

pop_front(size_t length=1)#

inline

StringView & var::StringView::pop_front (size_t length=1)

Type: StringView &

Parameters:

  • size_t length

rbegin() const noexcept#

inline

const_reverse_iterator var::StringView::rbegin () const noexcept

Type: const_reverse_iterator

rbegin() noexcept#

inline

reverse_iterator var::StringView::rbegin () noexcept

Type: reverse_iterator

rend() const noexcept#

inline

const_reverse_iterator var::StringView::rend () const noexcept

Type: const_reverse_iterator

rend() noexcept#

inline

reverse_iterator var::StringView::rend () noexcept

Type: reverse_iterator

reverse_find(char a, size_t position=npos) const#

inline

size_t var::StringView::reverse_find (char a, size_t position=npos) const

Type: size_t

Parameters:

  • char a
  • size_t position

reverse_find(StringView a, size_t position=npos) const#

inline

size_t var::StringView::reverse_find (StringView a, size_t position=npos) const

Type: size_t

Parameters:

set_null()#

inline

StringView & var::StringView::set_null ()

Type: StringView &

split(StringView delimeters) const#

var::Vector< StringView > var::StringView::split (StringView delimeters) const

Type: var::Vector< StringView >

Parameters:

to_float() const#

float var::StringView::to_float () const

Type: float

to_integer() const#

int var::StringView::to_integer () const

Type: int

to_long(Base base=Base::decimal) const#

long var::StringView::to_long (Base base=Base::decimal) const

Type: long

Parameters:

to_string() const#

String var::StringView::to_string () const

Type: String

to_unsigned_long(Base base=Base::decimal) const#

unsigned long var::StringView::to_unsigned_long (Base base=Base::decimal) const

Type: unsigned long

Parameters:

Static Functions

to_string(const StringView &a)#

static String var::StringView::to_string (const StringView &a)

Type: String

Parameters: