B2BITS FIX Antenna C++  2.29.0
Public Member Functions | List of all members
Engine::StringEx Class Reference

String class. More...

#include <B2BITS_String.h>

Public Member Functions

StringExappend (BasicString< char > value)
 Appends given value to string. More...
 
StringExappend (char const *value, std::size_t size)
 Appends given value to string. More...
 
StringExappend (StringEx const &value)
 Appends given value to string. More...
 
StringExappend (char const *value)
 Appends given value to string. More...
 
StringExappend (std::string const &value)
 Appends given value to string. More...
 
StringExappend (char value)
 Appends given value to string. More...
 
StringExappend (std::size_t count, char value)
 Appends given value to string. More...
 
V12_API StringExappend (System::i32 value)
 Appends given value to string. More...
 
V12_API StringExappend (System::i64 value)
 Appends given value to string. More...
 
V12_API StringExappend (System::u32 value)
 Appends given value to string. More...
 
V12_API StringExappend (System::u64 value)
 Appends given value to string. More...
 
template<int N>
StringExappendStr (char const (&value) [N])
 Appends given value to string. More...
 
 operator std::string & ()
 Conversion operator. More...
 
 operator std::string const & () const
 Conversion operator. More...
 
template<typename T >
StringExoperator+= (T const &v)
 Increment operator. More...
 
template<typename T >
StringExoperator<< (T const &v)
 Shift operator. More...
 
template<int N>
StringExoperator<< (char const (&value) [N])
 Shift operator. More...
 
template<typename T >
StringExoperator= (T const &v)
 Assign operator. More...
 
BasicString< char > reference () const
 Returns reference to string. More...
 
StringExreserve (std::size_t size)
 Reserves memory. More...
 
std::string & str ()
 Returns inner string. More...
 
std::string const & str () const
 Returns inner string. More...
 
 StringEx ()
 Default constructor. More...
 
 StringEx (BasicString< char > src)
 Constructs from BasicString. More...
 
 StringEx (std::string const &src)
 Constructs from std::string. More...
 
 StringEx (char const *src)
 Constructs from C string. More...
 

Detailed Description

String class.

Extends std::string with some methods.

Constructor & Destructor Documentation

◆ StringEx() [1/4]

Engine::StringEx::StringEx ( )
inline

Default constructor.

◆ StringEx() [2/4]

Engine::StringEx::StringEx ( BasicString< char >  src)
inline

Constructs from BasicString.

References append().

◆ StringEx() [3/4]

Engine::StringEx::StringEx ( std::string const &  src)
inline

Constructs from std::string.

References append().

◆ StringEx() [4/4]

Engine::StringEx::StringEx ( char const *  src)
inline

Constructs from C string.

References append().

Member Function Documentation

◆ append() [1/11]

StringEx& Engine::StringEx::append ( BasicString< char >  value)
inline

◆ append() [2/11]

StringEx& Engine::StringEx::append ( char const *  value,
std::size_t  size 
)
inline

Appends given value to string.

References append().

◆ append() [3/11]

StringEx& Engine::StringEx::append ( StringEx const &  value)
inline

Appends given value to string.

References append().

◆ append() [4/11]

StringEx& Engine::StringEx::append ( char const *  value)
inline

Appends given value to string.

References append().

◆ append() [5/11]

StringEx& Engine::StringEx::append ( std::string const &  value)
inline

Appends given value to string.

References append().

◆ append() [6/11]

StringEx& Engine::StringEx::append ( char  value)
inline

Appends given value to string.

References append().

◆ append() [7/11]

StringEx& Engine::StringEx::append ( std::size_t  count,
char  value 
)
inline

Appends given value to string.

References append().

◆ append() [8/11]

V12_API StringEx& Engine::StringEx::append ( System::i32  value)

Appends given value to string.

◆ append() [9/11]

V12_API StringEx& Engine::StringEx::append ( System::i64  value)

Appends given value to string.

◆ append() [10/11]

V12_API StringEx& Engine::StringEx::append ( System::u32  value)

Appends given value to string.

◆ append() [11/11]

V12_API StringEx& Engine::StringEx::append ( System::u64  value)

Appends given value to string.

◆ appendStr()

template<int N>
StringEx& Engine::StringEx::appendStr ( char const (&)  value[N])
inline

Appends given value to string.

References append().

◆ operator std::string &()

Engine::StringEx::operator std::string & ( )
inline

Conversion operator.

◆ operator std::string const &()

Engine::StringEx::operator std::string const & ( ) const
inline

Conversion operator.

◆ operator+=()

template<typename T >
StringEx& Engine::StringEx::operator+= ( T const &  v)
inline

Increment operator.

◆ operator<<() [1/2]

template<typename T >
StringEx& Engine::StringEx::operator<< ( T const &  v)
inline

Shift operator.

References append().

◆ operator<<() [2/2]

template<int N>
StringEx& Engine::StringEx::operator<< ( char const (&)  value[N])
inline

Shift operator.

References append().

◆ operator=()

template<typename T >
StringEx& Engine::StringEx::operator= ( T const &  v)
inline

Assign operator.

◆ reference()

BasicString<char> Engine::StringEx::reference ( ) const
inline

Returns reference to string.

◆ reserve()

StringEx& Engine::StringEx::reserve ( std::size_t  size)
inline

Reserves memory.

References reserve().

Referenced by reserve().

◆ str() [1/2]

std::string& Engine::StringEx::str ( )
inline

Returns inner string.

◆ str() [2/2]

std::string const& Engine::StringEx::str ( ) const
inline

Returns inner string.