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::CowString< Storage, Align > Class Template Reference

#include <flex_string.hpp>

Public Types

typedef E value_type
 
typedef Storage::iterator iterator
 
typedef Storage::const_iterator const_iterator
 
typedef Storage::allocator_type allocator_type
 
typedef allocator_type::size_type size_type
 
typedef Storage::reference reference
 

Public Member Functions

 CowString (const CowString &s)
 
 CowString (const allocator_type &a)
 
 CowString (const E *s, size_type len, const allocator_type &a)
 
 CowString (size_type len, E c, const allocator_type &a)
 
CowStringoperator= (const CowString &rhs)
 
 ~CowString ()
 
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 resize (size_type n, E c)
 
template<class FwdIterator >
void append (FwdIterator b, FwdIterator e)
 
void reserve (size_type res_arg)
 
void swap (CowString &rhs)
 
const E * c_str () const
 
const E * data () const
 
allocator_type get_allocator () const
 

Member Typedef Documentation

template<typename Storage , typename Align = BOOST_DEDUCED_TYPENAME Storage::value_type*>
typedef Storage::allocator_type boost::wave::util::CowString< Storage, Align >::allocator_type
template<typename Storage , typename Align = BOOST_DEDUCED_TYPENAME Storage::value_type*>
typedef Storage::const_iterator boost::wave::util::CowString< Storage, Align >::const_iterator
template<typename Storage , typename Align = BOOST_DEDUCED_TYPENAME Storage::value_type*>
typedef Storage::iterator boost::wave::util::CowString< Storage, Align >::iterator
template<typename Storage , typename Align = BOOST_DEDUCED_TYPENAME Storage::value_type*>
typedef Storage::reference boost::wave::util::CowString< Storage, Align >::reference
template<typename Storage , typename Align = BOOST_DEDUCED_TYPENAME Storage::value_type*>
typedef allocator_type::size_type boost::wave::util::CowString< Storage, Align >::size_type
template<typename Storage , typename Align = BOOST_DEDUCED_TYPENAME Storage::value_type*>
typedef E boost::wave::util::CowString< Storage, Align >::value_type

Constructor & Destructor Documentation

template<typename Storage , typename Align = BOOST_DEDUCED_TYPENAME Storage::value_type*>
boost::wave::util::CowString< Storage, Align >::CowString ( const CowString< Storage, Align > &  s)
inline
template<typename Storage , typename Align = BOOST_DEDUCED_TYPENAME Storage::value_type*>
boost::wave::util::CowString< Storage, Align >::CowString ( const allocator_type a)
inline
template<typename Storage , typename Align = BOOST_DEDUCED_TYPENAME Storage::value_type*>
boost::wave::util::CowString< Storage, Align >::CowString ( const E *  s,
size_type  len,
const allocator_type a 
)
inline
template<typename Storage , typename Align = BOOST_DEDUCED_TYPENAME Storage::value_type*>
boost::wave::util::CowString< Storage, Align >::CowString ( size_type  len,
c,
const allocator_type a 
)
inline
template<typename Storage , typename Align = BOOST_DEDUCED_TYPENAME Storage::value_type*>
boost::wave::util::CowString< Storage, Align >::~CowString ( )
inline

References BOOST_ASSERT, and boost::size().

Member Function Documentation

template<typename Storage , typename Align = BOOST_DEDUCED_TYPENAME Storage::value_type*>
template<class FwdIterator >
void boost::wave::util::CowString< Storage, Align >::append ( FwdIterator  b,
FwdIterator  e 
)
inline
template<typename Storage , typename Align = BOOST_DEDUCED_TYPENAME Storage::value_type*>
iterator boost::wave::util::CowString< Storage, Align >::begin ( void  )
inline

References BOOST_ASSERT, and boost::size().

template<typename Storage , typename Align = BOOST_DEDUCED_TYPENAME Storage::value_type*>
const_iterator boost::wave::util::CowString< Storage, Align >::begin ( void  ) const
inline

References BOOST_ASSERT, and boost::size().

template<typename Storage , typename Align = BOOST_DEDUCED_TYPENAME Storage::value_type*>
const E* boost::wave::util::CowString< Storage, Align >::c_str ( ) const
inline

References BOOST_ASSERT, and boost::size().

template<typename Storage , typename Align = BOOST_DEDUCED_TYPENAME Storage::value_type*>
size_type boost::wave::util::CowString< Storage, Align >::capacity ( ) const
inline

References BOOST_ASSERT.

template<typename Storage , typename Align = BOOST_DEDUCED_TYPENAME Storage::value_type*>
const E* boost::wave::util::CowString< Storage, Align >::data ( ) const
inline

References BOOST_ASSERT, and boost::size().

template<typename Storage , typename Align = BOOST_DEDUCED_TYPENAME Storage::value_type*>
iterator boost::wave::util::CowString< Storage, Align >::end ( void  )
inline
template<typename Storage , typename Align = BOOST_DEDUCED_TYPENAME Storage::value_type*>
const_iterator boost::wave::util::CowString< Storage, Align >::end ( void  ) const
inline
template<typename Storage , typename Align = BOOST_DEDUCED_TYPENAME Storage::value_type*>
allocator_type boost::wave::util::CowString< Storage, Align >::get_allocator ( void  ) const
inline
template<typename Storage , typename Align = BOOST_DEDUCED_TYPENAME Storage::value_type*>
size_type boost::wave::util::CowString< Storage, Align >::max_size ( void  ) const
inline

References BOOST_ASSERT.

template<typename Storage , typename Align = BOOST_DEDUCED_TYPENAME Storage::value_type*>
CowString& boost::wave::util::CowString< Storage, Align >::operator= ( const CowString< Storage, Align > &  rhs)
inline
template<typename Storage , typename Align = BOOST_DEDUCED_TYPENAME Storage::value_type*>
void boost::wave::util::CowString< Storage, Align >::reserve ( size_type  res_arg)
inline
template<typename Storage , typename Align = BOOST_DEDUCED_TYPENAME Storage::value_type*>
void boost::wave::util::CowString< Storage, Align >::resize ( size_type  n,
c 
)
inline

References BOOST_ASSERT, and boost::size().

template<typename Storage , typename Align = BOOST_DEDUCED_TYPENAME Storage::value_type*>
size_type boost::wave::util::CowString< Storage, Align >::size ( void  ) const
inline

References BOOST_ASSERT, and boost::size().

template<typename Storage , typename Align = BOOST_DEDUCED_TYPENAME Storage::value_type*>
void boost::wave::util::CowString< Storage, Align >::swap ( CowString< Storage, Align > &  rhs)
inline

Member Data Documentation

template<typename Storage , typename Align = BOOST_DEDUCED_TYPENAME Storage::value_type*>
Align boost::wave::util::CowString< Storage, Align >::align_
template<typename Storage , typename Align = BOOST_DEDUCED_TYPENAME Storage::value_type*>
char boost::wave::util::CowString< Storage, Align >::buf_[sizeof(Storage)]
mutable

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