Boost  v1.57.0
doxygen for www.boost.org
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
boost::wave::util::SmallStringOpt< Storage, threshold, Align > Class Template Reference

#include <flex_string.hpp>

Public Types

enum  { maxSmallString }
 
typedef Storage::value_type value_type
 
typedef value_typeiterator
 
typedef const value_typeconst_iterator
 
typedef Storage::allocator_type allocator_type
 
typedef allocator_type::size_type size_type
 

Public Member Functions

 SmallStringOpt (const SmallStringOpt &s)
 
 SmallStringOpt (const allocator_type &)
 
 SmallStringOpt (const value_type *s, size_type len, const allocator_type &a)
 
 SmallStringOpt (size_type len, value_type c, const allocator_type &a)
 
SmallStringOptoperator= (const SmallStringOpt &rhs)
 
 ~SmallStringOpt ()
 
iterator begin ()
 
const_iterator begin () const
 
iterator end ()
 
const_iterator end () const
 
size_type size () const
 
size_type max_size () const
 
size_type capacity () const
 
void reserve (size_type res_arg)
 
void append (const value_type *s, size_type sz)
 
template<class InputIterator >
void append (InputIterator b, InputIterator e)
 
void resize (size_type n, value_type c)
 
void swap (SmallStringOpt &rhs)
 
const value_typec_str () const
 
const value_typedata () const
 
allocator_type get_allocator () const
 

Member Typedef Documentation

template<class Storage , unsigned int threshold, typename Align = typename Storage::value_type*>
typedef Storage::allocator_type boost::wave::util::SmallStringOpt< Storage, threshold, Align >::allocator_type
template<class Storage , unsigned int threshold, typename Align = typename Storage::value_type*>
typedef const value_type* boost::wave::util::SmallStringOpt< Storage, threshold, Align >::const_iterator
template<class Storage , unsigned int threshold, typename Align = typename Storage::value_type*>
typedef value_type* boost::wave::util::SmallStringOpt< Storage, threshold, Align >::iterator
template<class Storage , unsigned int threshold, typename Align = typename Storage::value_type*>
typedef allocator_type::size_type boost::wave::util::SmallStringOpt< Storage, threshold, Align >::size_type
template<class Storage , unsigned int threshold, typename Align = typename Storage::value_type*>
typedef Storage::value_type boost::wave::util::SmallStringOpt< Storage, threshold, Align >::value_type

Member Enumeration Documentation

template<class Storage , unsigned int threshold, typename Align = typename Storage::value_type*>
anonymous enum
Enumerator
maxSmallString 

Constructor & Destructor Documentation

template<class Storage , unsigned int threshold, typename Align = typename Storage::value_type*>
boost::wave::util::SmallStringOpt< Storage, threshold, Align >::SmallStringOpt ( const SmallStringOpt< Storage, threshold, Align > &  s)
inline
template<class Storage , unsigned int threshold, typename Align = typename Storage::value_type*>
boost::wave::util::SmallStringOpt< Storage, threshold, Align >::SmallStringOpt ( const allocator_type )
inline
template<class Storage , unsigned int threshold, typename Align = typename Storage::value_type*>
boost::wave::util::SmallStringOpt< Storage, threshold, Align >::SmallStringOpt ( const value_type s,
size_type  len,
const allocator_type a 
)
inline
template<class Storage , unsigned int threshold, typename Align = typename Storage::value_type*>
boost::wave::util::SmallStringOpt< Storage, threshold, Align >::SmallStringOpt ( size_type  len,
value_type  c,
const allocator_type a 
)
inline
template<class Storage , unsigned int threshold, typename Align = typename Storage::value_type*>
boost::wave::util::SmallStringOpt< Storage, threshold, Align >::~SmallStringOpt ( )
inline

Member Function Documentation

template<class Storage , unsigned int threshold, typename Align = typename Storage::value_type*>
void boost::wave::util::SmallStringOpt< Storage, threshold, Align >::append ( const value_type s,
size_type  sz 
)
inline
template<class Storage , unsigned int threshold, typename Align = typename Storage::value_type*>
template<class InputIterator >
void boost::wave::util::SmallStringOpt< Storage, threshold, Align >::append ( InputIterator  b,
InputIterator  e 
)
inline

References boost::asio::b.

template<class Storage , unsigned int threshold, typename Align = typename Storage::value_type*>
iterator boost::wave::util::SmallStringOpt< Storage, threshold, Align >::begin ( void  )
inline
template<class Storage , unsigned int threshold, typename Align = typename Storage::value_type*>
const_iterator boost::wave::util::SmallStringOpt< Storage, threshold, Align >::begin ( void  ) const
inline
template<class Storage , unsigned int threshold, typename Align = typename Storage::value_type*>
const value_type* boost::wave::util::SmallStringOpt< Storage, threshold, Align >::c_str ( ) const
inline
template<class Storage , unsigned int threshold, typename Align = typename Storage::value_type*>
size_type boost::wave::util::SmallStringOpt< Storage, threshold, Align >::capacity ( ) const
inline
template<class Storage , unsigned int threshold, typename Align = typename Storage::value_type*>
const value_type* boost::wave::util::SmallStringOpt< Storage, threshold, Align >::data ( ) const
inline
template<class Storage , unsigned int threshold, typename Align = typename Storage::value_type*>
iterator boost::wave::util::SmallStringOpt< Storage, threshold, Align >::end ( void  )
inline
template<class Storage , unsigned int threshold, typename Align = typename Storage::value_type*>
const_iterator boost::wave::util::SmallStringOpt< Storage, threshold, Align >::end ( void  ) const
inline
template<class Storage , unsigned int threshold, typename Align = typename Storage::value_type*>
allocator_type boost::wave::util::SmallStringOpt< Storage, threshold, Align >::get_allocator ( void  ) const
inline
template<class Storage , unsigned int threshold, typename Align = typename Storage::value_type*>
size_type boost::wave::util::SmallStringOpt< Storage, threshold, Align >::max_size ( void  ) const
inline
template<class Storage , unsigned int threshold, typename Align = typename Storage::value_type*>
SmallStringOpt& boost::wave::util::SmallStringOpt< Storage, threshold, Align >::operator= ( const SmallStringOpt< Storage, threshold, Align > &  rhs)
inline
template<class Storage , unsigned int threshold, typename Align = typename Storage::value_type*>
void boost::wave::util::SmallStringOpt< Storage, threshold, Align >::reserve ( size_type  res_arg)
inline

Member Data Documentation

template<class Storage , unsigned int threshold, typename Align = typename Storage::value_type*>
Align boost::wave::util::SmallStringOpt< Storage, threshold, Align >::align_
template<class Storage , unsigned int threshold, typename Align = typename Storage::value_type*>
value_type boost::wave::util::SmallStringOpt< Storage, threshold, Align >::buf_[maxSmallString+1]
mutable

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