var::StringView
Types
#
Base- auto_
- octal
- decimal
- hexadecimal
#
const_iteratorusing var::StringView::const_iterator = typename std::string_view::const_iterator
Type: typename std::string_view::const_iterator
#
const_reverse_iteratorusing var::StringView::const_reverse_iterator = typename std::string_view::const_reverse_iterator
Type: typename std::string_view::const_reverse_iterator
#
iteratorusing var::StringView::iterator = typename std::string_view::iterator
Type: typename std::string_view::iterator
#
reverse_iteratorusing var::StringView::reverse_iterator = typename std::string_view::reverse_iterator
Type: typename std::string_view::reverse_iterator
Static Attributes
#
nposconstexpr static size_t var::StringView::npos
Type: constexpr static size_t
Friends
#
Stringfriend 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) constinline
char var::StringView::at (size_t value) const
Type: char
Parameters:
size_t
value
#
back() constinline
char var::StringView::back () const
Type: char
#
begin() const noexceptinline
const_iterator var::StringView::begin () const noexcept
Type: const_iterator
#
begin() noexceptinline
iterator var::StringView::begin () noexcept
Type: iterator
#
cbegin() const noexceptinline
const_iterator var::StringView::cbegin () const noexcept
Type: const_iterator
#
cend() const noexceptinline
const_iterator var::StringView::cend () const noexcept
Type: const_iterator
#
crbegin() const noexceptinline
const_reverse_iterator var::StringView::crbegin () const noexcept
Type: const_reverse_iterator
#
crend() const noexceptinline
const_reverse_iterator var::StringView::crend () const noexcept
Type: const_reverse_iterator
#
data() constinline
const char * var::StringView::data () const
Type: const char *
#
end() const noexceptinline
const_iterator var::StringView::end () const noexcept
Type: const_iterator
#
end() noexceptinline
iterator var::StringView::end () noexcept
Type: iterator
#
find(char a, size_t position=0) constinline
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) constinline
size_t var::StringView::find (StringView a, size_t position=0) const
Type: size_t
Parameters:
- StringView
a
size_t
position
#
find_first_not_of(StringView a, size_t position=0) constinline
size_t var::StringView::find_first_not_of (StringView a, size_t position=0) const
Type: size_t
Parameters:
- StringView
a
size_t
position
#
find_first_of(StringView a, size_t position=0) constinline
size_t var::StringView::find_first_of (StringView a, size_t position=0) const
Type: size_t
Parameters:
- StringView
a
size_t
position
#
find_last_not_of(StringView a, size_t position=0) constinline
size_t var::StringView::find_last_not_of (StringView a, size_t position=0) const
Type: size_t
Parameters:
- StringView
a
size_t
position
#
find_last_of(StringView a, size_t position=0) constinline
size_t var::StringView::find_last_of (StringView a, size_t position=0) const
Type: size_t
Parameters:
- StringView
a
size_t
position
#
front() constinline
char var::StringView::front () const
Type: char
#
get_substring(const GetSubstring &options) constStringView var::StringView::get_substring (const GetSubstring &options) const
Type: StringView
Parameters:
- const GetSubstring &
options
#
get_substring_at_position(size_t position) constStringView var::StringView::get_substring_at_position (size_t position) const
Type: StringView
Parameters:
size_t
position
#
get_substring_with_length(size_t length) constStringView var::StringView::get_substring_with_length (size_t length) const
Type: StringView
Parameters:
size_t
length
#
is_empty() constinline
bool var::StringView::is_empty () const
Type: bool
#
is_null() constinline
bool var::StringView::is_null () const
Type: bool
#
is_null_terminated() constinline
bool var::StringView::is_null_terminated () const
Type: bool
#
length() constinline
size_t var::StringView::length () const
Type: size_t
#
operator!=(const char *a) constinline
bool var::StringView::operator!= (const char *a) const
Type: bool
Parameters:
const char *
a
#
operator!=(const String &a) constbool var::StringView::operator!= (const String &a) const
Type: bool
Parameters:
- const String &
a
#
operator!=(const StringView a) constinline
bool var::StringView::operator!= (const StringView a) const
Type: bool
Parameters:
- const StringView
a
#
operator()(const GetSubstring &options) constinline
StringView var::StringView::operator() (const GetSubstring &options) const
Type: StringView
Parameters:
- const GetSubstring &
options
#
operator<(const StringView a) constinline
bool var::StringView::operator< (const StringView a) const
Type: bool
Parameters:
- const StringView
a
#
operator<=(const StringView a) constinline
bool var::StringView::operator<= (const StringView a) const
Type: bool
Parameters:
- const StringView
a
#
operator==(const char *a) constinline
bool var::StringView::operator== (const char *a) const
Type: bool
Parameters:
const char *
a
#
operator==(const String &a) constbool var::StringView::operator== (const String &a) const
Type: bool
Parameters:
- const String &
a
#
operator==(const StringView a) constinline
bool var::StringView::operator== (const StringView a) const
Type: bool
Parameters:
- const StringView
a
#
operator>(const StringView a) constinline
bool var::StringView::operator> (const StringView a) const
Type: bool
Parameters:
- const StringView
a
#
operator>=(const StringView a) constinline
bool var::StringView::operator>= (const StringView a) const
Type: bool
Parameters:
- const StringView
a
#
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 noexceptinline
const_reverse_iterator var::StringView::rbegin () const noexcept
Type: const_reverse_iterator
#
rbegin() noexceptinline
reverse_iterator var::StringView::rbegin () noexcept
Type: reverse_iterator
#
rend() const noexceptinline
const_reverse_iterator var::StringView::rend () const noexcept
Type: const_reverse_iterator
#
rend() noexceptinline
reverse_iterator var::StringView::rend () noexcept
Type: reverse_iterator
#
reverse_find(char a, size_t position=npos) constinline
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) constinline
size_t var::StringView::reverse_find (StringView a, size_t position=npos) const
Type: size_t
Parameters:
- StringView
a
size_t
position
#
set_null()inline
StringView & var::StringView::set_null ()
Type: StringView &
#
split(StringView delimeters) constvar::Vector< StringView > var::StringView::split (StringView delimeters) const
Type: var::Vector< StringView >
Parameters:
- StringView
delimeters
#
to_float() constfloat var::StringView::to_float () const
Type: float
#
to_integer() constint var::StringView::to_integer () const
Type: int
#
to_long(Base base=Base::decimal) constlong var::StringView::to_long (Base base=Base::decimal) const
Type: long
Parameters:
- Base
base
#
to_string() constString var::StringView::to_string () const
Type: String
#
to_unsigned_long(Base base=Base::decimal) constunsigned long var::StringView::to_unsigned_long (Base base=Base::decimal) const
Type: unsigned long
Parameters:
- Base
base
Static Functions
#
to_string(const StringView &a)static String var::StringView::to_string (const StringView &a)
Type: String
Parameters:
- const StringView &
a