Wiselib
Public Types | Public Member Functions
wiselib::string_dynamic< OsModel_P, Allocator_P > Class Template Reference

Dynamic string implementation. More...

#include <string_dynamic.h>

List of all members.

Public Types

typedef OsModel_P OsModel
typedef OsModel_P::size_t size_t
typedef Allocator_P Allocator
typedef string_dynamic
< OsModel_P, Allocator_P > 
self_type
typedef self_typeself_pointer_t
typedef Allocator::template
Ref< char >::pointer_t 
char_pointer_t

Public Member Functions

 string_dynamic ()
 string_dynamic (Allocator &alloc)
 string_dynamic (const char *c, Allocator &alloc)
 string_dynamic (const string_dynamic &other)
string_dynamicoperator= (const string_dynamic &other)
string_dynamicoperator= (const char *other)
 ~string_dynamic ()
size_t size () const
void resize (size_t n, char c= '\0')
const char * c_str ()
bool operator== (const string_dynamic &other)
bool operator!= (const string_dynamic &other)
string_dynamicappend (const char *other)
string_dynamicappend (const string_dynamic &other)

Detailed Description

template<typename OsModel_P, typename Allocator_P>
class wiselib::string_dynamic< OsModel_P, Allocator_P >

Dynamic string implementation.


Member Typedef Documentation

template<typename OsModel_P , typename Allocator_P >
typedef Allocator_P wiselib::string_dynamic< OsModel_P, Allocator_P >::Allocator
template<typename OsModel_P , typename Allocator_P >
typedef Allocator::template Ref<char>::pointer_t wiselib::string_dynamic< OsModel_P, Allocator_P >::char_pointer_t
template<typename OsModel_P , typename Allocator_P >
typedef OsModel_P wiselib::string_dynamic< OsModel_P, Allocator_P >::OsModel
template<typename OsModel_P , typename Allocator_P >
typedef self_type* wiselib::string_dynamic< OsModel_P, Allocator_P >::self_pointer_t
template<typename OsModel_P , typename Allocator_P >
typedef string_dynamic<OsModel_P, Allocator_P> wiselib::string_dynamic< OsModel_P, Allocator_P >::self_type
template<typename OsModel_P , typename Allocator_P >
typedef OsModel_P::size_t wiselib::string_dynamic< OsModel_P, Allocator_P >::size_t

Constructor & Destructor Documentation

template<typename OsModel_P , typename Allocator_P >
wiselib::string_dynamic< OsModel_P, Allocator_P >::string_dynamic ( ) [inline]
template<typename OsModel_P , typename Allocator_P >
wiselib::string_dynamic< OsModel_P, Allocator_P >::string_dynamic ( Allocator alloc) [inline]
template<typename OsModel_P , typename Allocator_P >
wiselib::string_dynamic< OsModel_P, Allocator_P >::string_dynamic ( const char *  c,
Allocator alloc 
) [inline]
template<typename OsModel_P , typename Allocator_P >
wiselib::string_dynamic< OsModel_P, Allocator_P >::string_dynamic ( const string_dynamic< OsModel_P, Allocator_P > &  other) [inline]
template<typename OsModel_P , typename Allocator_P >
wiselib::string_dynamic< OsModel_P, Allocator_P >::~string_dynamic ( ) [inline]

Member Function Documentation

template<typename OsModel_P , typename Allocator_P >
string_dynamic& wiselib::string_dynamic< OsModel_P, Allocator_P >::append ( const char *  other) [inline]
template<typename OsModel_P , typename Allocator_P >
string_dynamic& wiselib::string_dynamic< OsModel_P, Allocator_P >::append ( const string_dynamic< OsModel_P, Allocator_P > &  other) [inline]
template<typename OsModel_P , typename Allocator_P >
const char* wiselib::string_dynamic< OsModel_P, Allocator_P >::c_str ( ) [inline]
template<typename OsModel_P , typename Allocator_P >
bool wiselib::string_dynamic< OsModel_P, Allocator_P >::operator!= ( const string_dynamic< OsModel_P, Allocator_P > &  other) [inline]
template<typename OsModel_P , typename Allocator_P >
string_dynamic& wiselib::string_dynamic< OsModel_P, Allocator_P >::operator= ( const string_dynamic< OsModel_P, Allocator_P > &  other) [inline]
template<typename OsModel_P , typename Allocator_P >
string_dynamic& wiselib::string_dynamic< OsModel_P, Allocator_P >::operator= ( const char *  other) [inline]
template<typename OsModel_P , typename Allocator_P >
bool wiselib::string_dynamic< OsModel_P, Allocator_P >::operator== ( const string_dynamic< OsModel_P, Allocator_P > &  other) [inline]
template<typename OsModel_P , typename Allocator_P >
void wiselib::string_dynamic< OsModel_P, Allocator_P >::resize ( size_t  n,
char  c = '\0' 
) [inline]
template<typename OsModel_P , typename Allocator_P >
size_t wiselib::string_dynamic< OsModel_P, Allocator_P >::size ( void  ) const [inline]

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