#include <basic_string.hpp>
template<typename E, class TAllocator = std::allocator, typename TStorage = std::simple_string_storage<E, TAllocator>>
class std::basic_string< E, TAllocator, TStorage >
◆ allocator_type
template<typename E, class TAllocator = std::allocator, typename TStorage = std::simple_string_storage<E, TAllocator>>
◆ const_iterator
template<typename E, class TAllocator = std::allocator, typename TStorage = std::simple_string_storage<E, TAllocator>>
◆ self_type
template<typename E, class TAllocator = std::allocator, typename TStorage = std::simple_string_storage<E, TAllocator>>
◆ size_type
template<typename E, class TAllocator = std::allocator, typename TStorage = std::simple_string_storage<E, TAllocator>>
◆ value_type
template<typename E, class TAllocator = std::allocator, typename TStorage = std::simple_string_storage<E, TAllocator>>
◆ basic_string() [1/5]
template<typename E, class TAllocator = std::allocator, typename TStorage = std::simple_string_storage<E, TAllocator>>
◆ basic_string() [2/5]
template<typename E, class TAllocator = std::allocator, typename TStorage = std::simple_string_storage<E, TAllocator>>
64 : TStorage(
str, allocator)
std::string str(T begin, T end)
Definition: utils.hpp:39
◆ basic_string() [3/5]
template<typename E, class TAllocator = std::allocator, typename TStorage = std::simple_string_storage<E, TAllocator>>
69 : TStorage(len, allocator)
◆ basic_string() [4/5]
template<typename E, class TAllocator = std::allocator, typename TStorage = std::simple_string_storage<E, TAllocator>>
74 : TStorage(
str, len, allocator)
std::string str(T begin, T end)
Definition: utils.hpp:39
◆ basic_string() [5/5]
template<typename E, class TAllocator = std::allocator, typename TStorage = std::simple_string_storage<E, TAllocator>>
79 : TStorage(
str, allocator)
std::string str(T begin, T end)
Definition: utils.hpp:39
◆ ~basic_string()
template<typename E, class TAllocator = std::allocator, typename TStorage = std::simple_string_storage<E, TAllocator>>
◆ append() [1/4]
template<typename E, class TAllocator = std::allocator, typename TStorage = std::simple_string_storage<E, TAllocator>>
154 if( !
str || len == 0 || *
str == 0 )
156 TStorage::append(
str, len);
std::string str(T begin, T end)
Definition: utils.hpp:39
◆ append() [2/4]
template<typename E, class TAllocator = std::allocator, typename TStorage = std::simple_string_storage<E, TAllocator>>
size_type length() const
Definition: basic_string.hpp:213
const value_type * c_str() const
Definition: basic_string.hpp:199
void append(const value_type *str, size_type len)
Definition: basic_string.hpp:152
std::string str(T begin, T end)
Definition: utils.hpp:39
◆ append() [3/4]
template<typename E, class TAllocator = std::allocator, typename TStorage = std::simple_string_storage<E, TAllocator>>
void append(const value_type *str, size_type len)
Definition: basic_string.hpp:152
std::string str(T begin, T end)
Definition: utils.hpp:39
◆ append() [4/4]
template<typename E, class TAllocator = std::allocator, typename TStorage = std::simple_string_storage<E, TAllocator>>
void append(const value_type *str, size_type len)
Definition: basic_string.hpp:152
◆ assign() [1/2]
template<typename E, class TAllocator = std::allocator, typename TStorage = std::simple_string_storage<E, TAllocator>>
133 TStorage::assign(
str, len);
std::string str(T begin, T end)
Definition: utils.hpp:39
◆ assign() [2/2]
template<typename E, class TAllocator = std::allocator, typename TStorage = std::simple_string_storage<E, TAllocator>>
basic_string & assign(const value_type *str, size_type len)
Definition: basic_string.hpp:131
std::string str(T begin, T end)
Definition: utils.hpp:39
◆ begin()
template<typename E, class TAllocator = std::allocator, typename TStorage = std::simple_string_storage<E, TAllocator>>
206 assert(invariant());
return c_str();
const value_type * c_str() const
Definition: basic_string.hpp:199
◆ c_str()
template<typename E, class TAllocator = std::allocator, typename TStorage = std::simple_string_storage<E, TAllocator>>
202 return TStorage::c_str();
◆ capacity()
template<typename E, class TAllocator = std::allocator, typename TStorage = std::simple_string_storage<E, TAllocator>>
90 return TStorage::capacity();
◆ clear()
template<typename E, class TAllocator = std::allocator, typename TStorage = std::simple_string_storage<E, TAllocator>>
◆ compare() [1/2]
template<typename E, class TAllocator = std::allocator, typename TStorage = std::simple_string_storage<E, TAllocator>>
180 if (thisLen < strLen)
182 if (thisLen > strLen)
185 return strcompare(
c_str(),
str, thisLen);
size_type length() const
Definition: basic_string.hpp:213
const value_type * c_str() const
Definition: basic_string.hpp:199
typename TStorage::size_type size_type
Definition: basic_string.hpp:49
std::string str(T begin, T end)
Definition: utils.hpp:39
◆ compare() [2/2]
template<typename E, class TAllocator = std::allocator, typename TStorage = std::simple_string_storage<E, TAllocator>>
191 if (thisLen < rhsLen)
193 if (thisLen > rhsLen)
196 return strcompare(
c_str(), rhs.c_str(), thisLen);
size_type length() const
Definition: basic_string.hpp:213
const value_type * c_str() const
Definition: basic_string.hpp:199
typename TStorage::size_type size_type
Definition: basic_string.hpp:49
◆ data()
template<typename E, class TAllocator = std::allocator, typename TStorage = std::simple_string_storage<E, TAllocator>>
219 return TStorage::get_data();
◆ empty()
template<typename E, class TAllocator = std::allocator, typename TStorage = std::simple_string_storage<E, TAllocator>>
size_type length() const
Definition: basic_string.hpp:213
◆ end()
template<typename E, class TAllocator = std::allocator, typename TStorage = std::simple_string_storage<E, TAllocator>>
size_type length() const
Definition: basic_string.hpp:213
const value_type * c_str() const
Definition: basic_string.hpp:199
◆ find()
template<typename E, class TAllocator = std::allocator, typename TStorage = std::simple_string_storage<E, TAllocator>>
318 if( match == strlen(needle) )
const value_type * c_str() const
Definition: basic_string.hpp:199
static const size_type npos
Definition: basic_string.hpp:56
typename TStorage::value_type value_type
Definition: basic_string.hpp:48
typename TStorage::size_type size_type
Definition: basic_string.hpp:49
◆ find_index_of()
template<typename E, class TAllocator = std::allocator, typename TStorage = std::simple_string_storage<E, TAllocator>>
271 const E* ptr =
c_str();
277 retIndex = currentIndex;
const value_type * c_str() const
Definition: basic_string.hpp:199
static const size_type npos
Definition: basic_string.hpp:56
typename TStorage::value_type value_type
Definition: basic_string.hpp:48
typename TStorage::size_type size_type
Definition: basic_string.hpp:49
◆ find_index_of_last()
template<typename E, class TAllocator = std::allocator, typename TStorage = std::simple_string_storage<E, TAllocator>>
293 retIndex = currentIndex;
const value_type * c_str() const
Definition: basic_string.hpp:199
static const size_type npos
Definition: basic_string.hpp:56
typename TStorage::value_type value_type
Definition: basic_string.hpp:48
typename TStorage::size_type size_type
Definition: basic_string.hpp:49
◆ get_allocator()
template<typename E, class TAllocator = std::allocator, typename TStorage = std::simple_string_storage<E, TAllocator>>
228 return TStorage::get_allocator;
◆ length()
template<typename E, class TAllocator = std::allocator, typename TStorage = std::simple_string_storage<E, TAllocator>>
215 return TStorage::length();
◆ make_lower()
template<typename E, class TAllocator = std::allocator, typename TStorage = std::simple_string_storage<E, TAllocator>>
246 TStorage::make_unique(len);
247 static const int chDelta =
'a' -
'A';
248 E*
data = TStorage::get_data();
size_type length() const
Definition: basic_string.hpp:213
typename TStorage::size_type size_type
Definition: basic_string.hpp:49
value_type * data()
Definition: basic_string.hpp:217
◆ make_upper()
template<typename E, class TAllocator = std::allocator, typename TStorage = std::simple_string_storage<E, TAllocator>>
258 TStorage::make_unique(len);
259 static const int chDelta =
'a' -
'A';
260 E*
data = TStorage::get_data();
size_type length() const
Definition: basic_string.hpp:213
typename TStorage::size_type size_type
Definition: basic_string.hpp:49
value_type * data()
Definition: basic_string.hpp:217
◆ operator+=()
template<typename E, class TAllocator = std::allocator, typename TStorage = std::simple_string_storage<E, TAllocator>>
void append(const value_type *str, size_type len)
Definition: basic_string.hpp:152
◆ operator<<() [1/3]
template<typename E, class TAllocator = std::allocator, typename TStorage = std::simple_string_storage<E, TAllocator>>
void append(const value_type *str, size_type len)
Definition: basic_string.hpp:152
std::string str(T begin, T end)
Definition: utils.hpp:39
◆ operator<<() [2/3]
template<typename E, class TAllocator = std::allocator, typename TStorage = std::simple_string_storage<E, TAllocator>>
void append(const value_type *str, size_type len)
Definition: basic_string.hpp:152
◆ operator<<() [3/3]
template<typename E, class TAllocator = std::allocator, typename TStorage = std::simple_string_storage<E, TAllocator>>
size_type length() const
Definition: basic_string.hpp:213
const value_type * c_str() const
Definition: basic_string.hpp:199
void append(const value_type *str, size_type len)
Definition: basic_string.hpp:152
std::string str(T begin, T end)
Definition: utils.hpp:39
◆ operator=() [1/2]
template<typename E, class TAllocator = std::allocator, typename TStorage = std::simple_string_storage<E, TAllocator>>
119 assert(rhs.invariant());
122 TStorage::operator=((TStorage&)rhs);
◆ operator=() [2/2]
template<typename E, class TAllocator = std::allocator, typename TStorage = std::simple_string_storage<E, TAllocator>>
basic_string & assign(const value_type *str, size_type len)
Definition: basic_string.hpp:131
std::string str(T begin, T end)
Definition: utils.hpp:39
◆ operator[]()
template<typename E, class TAllocator = std::allocator, typename TStorage = std::simple_string_storage<E, TAllocator>>
size_type length() const
Definition: basic_string.hpp:213
const value_type * c_str() const
Definition: basic_string.hpp:199
◆ reserve()
template<typename E, class TAllocator = std::allocator, typename TStorage = std::simple_string_storage<E, TAllocator>>
233 return TStorage::reserve(capacity_hint);
◆ resize()
template<typename E, class TAllocator = std::allocator, typename TStorage = std::simple_string_storage<E, TAllocator>>
241 TStorage::resize(size);
◆ rfind()
template<typename E, class TAllocator = std::allocator, typename TStorage = std::simple_string_storage<E, TAllocator>>
334 if( *s-- == *needle )
346 if( match == strlen(needle) )
size_type length() const
Definition: basic_string.hpp:213
const value_type * c_str() const
Definition: basic_string.hpp:199
static const size_type npos
Definition: basic_string.hpp:56
typename TStorage::value_type value_type
Definition: basic_string.hpp:48
typename TStorage::size_type size_type
Definition: basic_string.hpp:49
◆ substr() [1/2]
template<typename E, class TAllocator = std::allocator, typename TStorage = std::simple_string_storage<E, TAllocator>>
size_type length() const
Definition: basic_string.hpp:213
basic_string(const allocator_type &allocator=allocator_type())
Definition: basic_string.hpp:58
const value_type * c_str() const
Definition: basic_string.hpp:199
const_iterator end() const
Definition: basic_string.hpp:208
const_iterator begin() const
Definition: basic_string.hpp:204
◆ substr() [2/2]
template<typename E, class TAllocator = std::allocator, typename TStorage = std::simple_string_storage<E, TAllocator>>
size_type length() const
Definition: basic_string.hpp:213
basic_string substr(size_type begin, size_type end) const
Definition: basic_string.hpp:142
const_iterator begin() const
Definition: basic_string.hpp:204
◆ npos
template<typename E, class TAllocator = std::allocator, typename TStorage = std::simple_string_storage<E, TAllocator>>
Die Dokumentation für diese Klasse wurde erzeugt aufgrund der Datei: