EPAM B2BITS C++ Bovespa MarketData handler  1.27.1
 All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
Public Member Functions | List of all members
B2bits::StringEx Class Reference

#include <b2bits/types/String.h>

Public Member Functions

 StringEx ()
 Default constructor. More...
 
 StringEx (StringEx const &src)
 Copy constructor. More...
 
 StringEx (StringRef src)
 Copy constructor. More...
 
 StringEx (std::string const &src)
 Copy constructor. More...
 
 StringEx (char const *src)
 Copy constructor. More...
 
 ~StringEx ()
 Destructor. More...
 
template<typename T >
StringEx & operator= (T const &v)
 Assign operator. More...
 
template<typename T >
StringEx & operator+= (T const &v)
 Increment operator. More...
 
template<typename T >
StringEx & operator<< (T const &v)
 Shift operator. More...
 
template<int N>
StringEx & operator<< (char const (&value)[N])
 Shift operator. More...
 
 operator std::string const & () const
 Conversion operator. More...
 
 operator std::string & ()
 Conversion operator. More...
 
std::string & str ()
 Returns inner string. More...
 
std::string const & str () const
 Returns inner string. More...
 
StringRef reference () const
 Returns reference to string. More...
 
StringEx & reserve (std::size_t size)
 Reserves memory. More...
 
StringEx & append (StringRef value)
 Appends given value to string. More...
 
StringEx & append (char const *value, std::size_t size)
 Appends given value to string. More...
 
template<int N>
StringEx & appendStr (char const (&value)[N])
 Appends given value to string. More...
 
StringEx & append (StringEx const &value)
 Appends given value to string. More...
 
StringEx & append (char const *value)
 Appends given value to string. More...
 
StringEx & append (std::string const &value)
 Appends given value to string. More...
 
StringEx & append (char value)
 Appends given value to string. More...
 
StringEx & append (std::size_t count, char value)
 Appends given value to string. More...
 
StringEx & append (i32 value)
 Appends given value to string. More...
 
StringEx & append (i64 value)
 Appends given value to string. More...
 
StringEx & append (u32 value)
 Appends given value to string. More...
 
StringEx & append (u64 value)
 Appends given value to string. More...
 

Detailed Description

String type. Extends std::string with some methods.

Constructor & Destructor Documentation

B2bits::StringEx::StringEx ( )
inline

Default constructor.

B2bits::StringEx::StringEx ( StringEx const &  src)
inline

Copy constructor.

B2bits::StringEx::StringEx ( StringRef  src)
inline

Copy constructor.

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

Copy constructor.

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

Copy constructor.

B2bits::StringEx::~StringEx ( )
inline

Destructor.

Member Function Documentation

StringEx& B2bits::StringEx::append ( StringRef  value)
inline

Appends given value to string.

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

Appends given value to string.

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

Appends given value to string.

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

Appends given value to string.

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

Appends given value to string.

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

Appends given value to string.

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

Appends given value to string.

StringEx& B2bits::StringEx::append ( i32  value)

Appends given value to string.

StringEx& B2bits::StringEx::append ( i64  value)

Appends given value to string.

StringEx& B2bits::StringEx::append ( u32  value)

Appends given value to string.

StringEx& B2bits::StringEx::append ( u64  value)

Appends given value to string.

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

Appends given value to string.

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

Conversion operator.

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

Conversion operator.

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

Increment operator.

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

Shift operator.

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

Shift operator.

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

Assign operator.

StringRef B2bits::StringEx::reference ( ) const
inline

Returns reference to string.

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

Reserves memory.

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

Returns inner string.

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

Returns inner string.