Sierra Toolkit Version of the Day
sierra::StringBase< CT > Class Template Reference

#include <String.hpp>

Collaboration diagram for sierra::StringBase< CT >:

List of all members.

Public Types

typedef const char * const_iterator
typedef char * iterator
typedef CT traits_type
typedef char value_type
typedef size_t size_type

Public Member Functions

 StringBase (const std::string &)
 StringBase (const_iterator)
template<class It >
 StringBase (It, It)
 StringBase (const char *, size_type)
 StringBase (const StringBase &)
StringBaseoperator= (const StringBase &)
template<class CT2 >
 StringBase (const StringBase< CT2 > &)
StringBase< CT > & operator= (const char *)
StringBase< CT > & operator= (const std::string &)
template<class CT2 >
StringBase< CT > & operator= (const StringBase< CT2 > &)
StringBase< CT > & operator+= (const char *)
StringBase< CT > & operator+= (const std::string &)
template<class CT2 >
StringBase< CT > & operator+= (const StringBase< CT2 > &)
size_type size () const
size_type length () const
bool empty () const
const_iterator begin () const
iterator begin ()
const_iterator end () const
iterator end ()
StringBase< CT > & assign (const char *)
StringBase< CT > & assign (const char *, const size_type)
StringBase< CT > & assign (const std::string &)
template<class CT2 >
StringBase< CT > & assign (const StringBase< CT2 > &)
StringBase< CT > & append (const char *)
StringBase< CT > & append (const char *, const typename StringBase< CT >::size_type)
StringBase< CT > & append (const std::string &)
template<class CT2 >
StringBase< CT > & append (const StringBase< CT2 > &)
void swap (StringBase< CT > &)
const char * c_str () const
std::string s_str () const
int compare (const char *) const
int compare (const std::string &) const
template<class CT2 >
int compare (const StringBase< CT2 > &) const
template<class CT >
 StringBase (const char *cs, typename StringBase< CT >::size_type n)
template<class CT >
StringBase< CT > & assign (const char *cs, const typename StringBase< CT >::size_type n)
template<>
StringBase< char_label_traits > & append (const char *cs, const StringBase< char_label_traits >::size_type n)

Detailed Description

template<class CT>
class sierra::StringBase< CT >

Template base class for don't allocate short strings class.

Definition at line 279 of file String.hpp.


The documentation for this class was generated from the following file:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines