Boost  v1.57.0
doxygen for www.boost.org
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
boost::unit_test::basic_cstring< CharT > Singleton Reference

#include <basic_cstring_fwd.hpp>

Inheritance diagram for boost::unit_test::basic_cstring< CharT >:

Public Types

enum  npos_type { npos = static_cast<size_type>(-1) }
 
typedef
ut_detail::bcs_char_traits
< CharT > 
traits_type
 
typedef
ut_detail::bcs_char_traits
< CharT >::std_string 
std_string
 
typedef CharT value_type
 
typedef value_typepointer
 
typedef value_type const * const_pointer
 
typedef value_typereference
 
typedef const value_typeconst_reference
 
typedef std::size_t size_type
 
typedef std::ptrdiff_t difference_type
 
typedef value_type const * const_iterator
 
typedef value_typeiterator
 

Public Member Functions

 basic_cstring ()
 
 basic_cstring (std_string const &s)
 
 basic_cstring (pointer s)
 
 basic_cstring (pointer s, size_type arg_size)
 
 basic_cstring (pointer first, pointer last)
 
value_type operator[] (size_type index) const
 
value_type at (size_type index) const
 
size_type size () const
 
bool is_empty () const
 
void clear ()
 
void resize (size_type new_len)
 
bool empty () const
 
self_typetrim_right (size_type trim_size)
 
self_typetrim_left (size_type trim_size)
 
self_typetrim_right (iterator it)
 
self_typetrim_left (iterator it)
 
self_typetrim_left (self_type exclusions=self_type())
 
self_typetrim_right (self_type exclusions=self_type())
 
self_typetrim (self_type exclusions=self_type())
 
basic_cstringoperator= (self_type const &s)
 
basic_cstringoperator= (std_string const &s)
 
basic_cstringoperator= (pointer s)
 
template<typename CharT2 >
basic_cstringassign (basic_cstring< CharT2 > const &s)
 
basic_cstringassign (self_type const &s, size_type pos, size_type len)
 
basic_cstringassign (std_string const &s)
 
basic_cstringassign (std_string const &s, size_type pos, size_type len)
 
basic_cstringassign (pointer s)
 
basic_cstringassign (pointer s, size_type len)
 
basic_cstringassign (pointer f, pointer l)
 
void swap (self_type &s)
 
iterator begin ()
 
const_iterator begin () const
 
iterator end ()
 
const_iterator end () const
 
size_type find (basic_cstring) const
 
size_type rfind (basic_cstring) const
 
self_type substr (size_type beg_index, size_type end_index=npos) const
 

Static Public Member Functions

static pointer null_str ()
 

Member Typedef Documentation

template<typename CharT>
typedef value_type const* boost::unit_test::basic_cstring< CharT >::const_iterator
template<typename CharT>
typedef value_type const* boost::unit_test::basic_cstring< CharT >::const_pointer
template<typename CharT>
typedef const value_type& boost::unit_test::basic_cstring< CharT >::const_reference
template<typename CharT>
typedef std::ptrdiff_t boost::unit_test::basic_cstring< CharT >::difference_type
template<typename CharT>
typedef value_type* boost::unit_test::basic_cstring< CharT >::iterator
template<typename CharT>
typedef value_type* boost::unit_test::basic_cstring< CharT >::pointer
template<typename CharT>
typedef value_type& boost::unit_test::basic_cstring< CharT >::reference
template<typename CharT>
typedef std::size_t boost::unit_test::basic_cstring< CharT >::size_type
template<typename CharT>
typedef ut_detail::bcs_char_traits<CharT>::std_string boost::unit_test::basic_cstring< CharT >::std_string
template<typename CharT>
typedef ut_detail::bcs_char_traits<CharT> boost::unit_test::basic_cstring< CharT >::traits_type
template<typename CharT>
typedef CharT boost::unit_test::basic_cstring< CharT >::value_type

Member Enumeration Documentation

template<typename CharT>
enum boost::unit_test::basic_cstring::npos_type
Enumerator
npos 

Constructor & Destructor Documentation

template<typename CharT >
boost::unit_test::basic_cstring< CharT >::basic_cstring ( )
inline
template<typename CharT >
boost::unit_test::basic_cstring< CharT >::basic_cstring ( std_string const &  s)
inline
template<typename CharT >
boost::unit_test::basic_cstring< CharT >::basic_cstring ( pointer  s)
inline
template<typename CharT >
boost::unit_test::basic_cstring< CharT >::basic_cstring ( pointer  s,
size_type  arg_size 
)
inline
template<typename CharT >
boost::unit_test::basic_cstring< CharT >::basic_cstring ( pointer  first,
pointer  last 
)
inline

Member Function Documentation

template<typename CharT>
template<typename CharT2 >
basic_cstring& boost::unit_test::basic_cstring< CharT >::assign ( basic_cstring< CharT2 > const &  s)
inline
template<typename CharT >
basic_cstring< CharT > & boost::unit_test::basic_cstring< CharT >::assign ( self_type const &  s,
size_type  pos,
size_type  len 
)
inline

References boost::self_type.

template<typename CharT >
basic_cstring< CharT > & boost::unit_test::basic_cstring< CharT >::assign ( std_string const &  s)
inline

References boost::self_type.

template<typename CharT >
basic_cstring< CharT > & boost::unit_test::basic_cstring< CharT >::assign ( std_string const &  s,
size_type  pos,
size_type  len 
)
inline
template<typename CharT >
basic_cstring< CharT > & boost::unit_test::basic_cstring< CharT >::assign ( pointer  s)
inline

References boost::self_type.

template<typename CharT >
basic_cstring< CharT > & boost::unit_test::basic_cstring< CharT >::assign ( pointer  s,
size_type  len 
)
inline

References boost::self_type.

template<typename CharT >
basic_cstring< CharT > & boost::unit_test::basic_cstring< CharT >::assign ( pointer  f,
pointer  l 
)
inline

References boost::self_type.

template<typename CharT >
basic_cstring< CharT >::value_type boost::unit_test::basic_cstring< CharT >::at ( size_type  index) const
inline
template<typename CharT >
basic_cstring< CharT >::const_iterator boost::unit_test::basic_cstring< CharT >::begin ( void  ) const
inline
template<typename CharT >
void boost::unit_test::basic_cstring< CharT >::clear ( void  )
inline
template<typename CharT >
bool boost::unit_test::basic_cstring< CharT >::empty ( void  ) const
inline
template<typename CharT >
basic_cstring< CharT >::iterator boost::unit_test::basic_cstring< CharT >::end ( void  )
inline
template<typename CharT >
basic_cstring< CharT >::const_iterator boost::unit_test::basic_cstring< CharT >::end ( void  ) const
inline
template<typename CharT >
basic_cstring< CharT >::pointer boost::unit_test::basic_cstring< CharT >::null_str ( )
inlinestatic
template<typename CharT >
basic_cstring< CharT > & boost::unit_test::basic_cstring< CharT >::operator= ( self_type const &  s)
inline
template<typename CharT >
basic_cstring< CharT > & boost::unit_test::basic_cstring< CharT >::operator= ( std_string const &  s)
inline

References boost::self_type.

template<typename CharT >
basic_cstring< CharT > & boost::unit_test::basic_cstring< CharT >::operator= ( pointer  s)
inline

References boost::self_type.

template<typename CharT >
basic_cstring< CharT >::value_type boost::unit_test::basic_cstring< CharT >::operator[] ( size_type  index) const
inline
template<typename CharT >
void boost::unit_test::basic_cstring< CharT >::resize ( size_type  new_len)
inline
template<typename CharT >
basic_cstring< CharT > boost::unit_test::basic_cstring< CharT >::substr ( size_type  beg_index,
size_type  end_index = npos 
) const
inline

References boost::self_type, and boost::size().

template<typename CharT >
void boost::unit_test::basic_cstring< CharT >::swap ( self_type s)
inline
template<typename CharT >
basic_cstring< CharT > & boost::unit_test::basic_cstring< CharT >::trim ( self_type  exclusions = self_type())
inline
template<typename CharT >
basic_cstring< CharT > & boost::unit_test::basic_cstring< CharT >::trim_left ( size_type  trim_size)
inline
template<typename CharT >
basic_cstring< CharT > & boost::unit_test::basic_cstring< CharT >::trim_left ( iterator  it)
inline
template<typename CharT >
basic_cstring< CharT > & boost::unit_test::basic_cstring< CharT >::trim_right ( size_type  trim_size)
inline
template<typename CharT >
basic_cstring< CharT > & boost::unit_test::basic_cstring< CharT >::trim_right ( iterator  it)
inline

The documentation for this singleton was generated from the following file: