Boost  v1.57.0
doxygen for www.boost.org
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
boost::python::str Class Reference

#include <str.hpp>

Inheritance diagram for boost::python::str:
Collaboration diagram for boost::python::str:

Public Member Functions

 str ()
 
 str (const char *s)
 
 str (char const *start, char const *finish)
 
 str (char const *start, std::size_t length)
 
template<class T >
 str (T const &other)
 
template<class T >
str center (T const &width) const
 
template<class T >
long count (T const &sub) const
 
template<class T1 , class T2 >
long count (T1 const &sub, T2 const &start) const
 
template<class T1 , class T2 , class T3 >
long count (T1 const &sub, T2 const &start, T3 const &end) const
 
object decode () const
 
template<class T >
object decode (T const &encoding) const
 
template<class T1 , class T2 >
object decode (T1 const &encoding, T2 const &errors) const
 
object encode () const
 
template<class T >
object encode (T const &encoding) const
 
template<class T1 , class T2 >
object encode (T1 const &encoding, T2 const &errors) const
 
template<class T >
bool endswith (T const &suffix) const
 
template<class T1 , class T2 >
bool endswith (T1 const &suffix, T2 const &start) const
 
template<class T1 , class T2 , class T3 >
bool endswith (T1 const &suffix, T2 const &start, T3 const &end) const
 
str expandtabs () const
 
template<class T >
str expandtabs (T const &tabsize) const
 
template<class T >
long find (T const &sub) const
 
template<class T1 , class T2 >
long find (T1 const &sub, T2 const &start) const
 
template<class T1 , class T2 , class T3 >
long find (T1 const &sub, T2 const &start, T3 const &end) const
 
template<class T >
long index (T const &sub) const
 
template<class T1 , class T2 >
long index (T1 const &sub, T2 const &start) const
 
template<class T1 , class T2 , class T3 >
long index (T1 const &sub, T2 const &start, T3 const &end) const
 
template<class T >
str join (T const &sequence) const
 
template<class T >
str ljust (T const &width) const
 
template<class T1 , class T2 >
str replace (T1 const &old, T2 const &new_) const
 
template<class T1 , class T2 , class T3 >
str replace (T1 const &old, T2 const &new_, T3 const &maxsplit) const
 
template<class T >
long rfind (T const &sub) const
 
template<class T1 , class T2 >
long rfind (T1 const &sub, T2 const &start) const
 
template<class T1 , class T2 , class T3 >
long rfind (T1 const &sub, T2 const &start, T3 const &end) const
 
template<class T >
long rindex (T const &sub) const
 
template<class T1 , class T2 >
long rindex (T1 const &sub, T2 const &start) const
 
template<class T1 , class T2 , class T3 >
long rindex (T1 const &sub, T2 const &start, T3 const &end) const
 
template<class T >
str rjust (T const &width) const
 
list split () const
 
template<class T >
list split (T const &sep) const
 
template<class T1 , class T2 >
list split (T1 const &sep, T2 const &maxsplit) const
 
list splitlines () const
 
template<class T >
list splitlines (T const &keepends) const
 
template<class T >
bool startswith (T const &prefix) const
 
template<class T1 , class T2 >
bool startswith (T1 const &prefix, T2 const &start) const
 
template<class T1 , class T2 , class T3 >
bool startswith (T1 const &prefix, T2 const &start, T3 const &end) const
 
template<class T >
str translate (T const &table) const
 
template<class T1 , class T2 >
str translate (T1 const &table, T2 const &deletechars) const
 
str capitalize () const
 
str center (object_cref width) const
 
long count (object_cref sub) const
 
long count (object_cref sub, object_cref start) const
 
long count (object_cref sub, object_cref start, object_cref end) const
 
object decode (object_cref encoding) const
 
object decode (object_cref encoding, object_cref errors) const
 
object encode (object_cref encoding) const
 
object encode (object_cref encoding, object_cref errors) const
 
bool endswith (object_cref suffix) const
 
bool endswith (object_cref suffix, object_cref start) const
 
bool endswith (object_cref suffix, object_cref start, object_cref end) const
 
str expandtabs (object_cref tabsize) const
 
long find (object_cref sub) const
 
long find (object_cref sub, object_cref start) const
 
long find (object_cref sub, object_cref start, object_cref end) const
 
long index (object_cref sub) const
 
long index (object_cref sub, object_cref start) const
 
long index (object_cref sub, object_cref start, object_cref end) const
 
bool isalnum () const
 
bool isalpha () const
 
bool isdigit () const
 
bool islower () const
 
bool isspace () const
 
bool istitle () const
 
bool isupper () const
 
str join (object_cref sequence) const
 
str ljust (object_cref width) const
 
str lower () const
 
str lstrip () const
 
str replace (object_cref old, object_cref new_) const
 
str replace (object_cref old, object_cref new_, object_cref maxsplit) const
 
long rfind (object_cref sub) const
 
long rfind (object_cref sub, object_cref start) const
 
long rfind (object_cref sub, object_cref start, object_cref end) const
 
long rindex (object_cref sub) const
 
long rindex (object_cref sub, object_cref start) const
 
long rindex (object_cref sub, object_cref start, object_cref end) const
 
str rjust (object_cref width) const
 
str rstrip () const
 
list split (object_cref sep) const
 
list split (object_cref sep, object_cref maxsplit) const
 
list splitlines (object_cref keepends) const
 
bool startswith (object_cref prefix) const
 
bool startswith (object_cref prefix, object_cref start) const
 
bool startswith (object_cref prefix, object_cref start, object_cref end) const
 
str strip () const
 
str swapcase () const
 
str title () const
 
str translate (object_cref table) const
 
str translate (object_cref table, object_cref deletechars) const
 
str upper () const
 

Constructor & Destructor Documentation

boost::python::str::str ( )
inline
boost::python::str::str ( const char *  s)
inline
boost::python::str::str ( char const *  start,
char const *  finish 
)
inline
boost::python::str::str ( char const *  start,
std::size_t  length 
)
inline
template<class T >
boost::python::str::str ( T const &  other)
inlineexplicit

Member Function Documentation

str boost::python::detail::str_base::capitalize ( ) const
inherited
str boost::python::detail::str_base::center ( object_cref  width) const
inherited

Referenced by center().

template<class T >
str boost::python::str::center ( T const &  width) const
inline
long boost::python::detail::str_base::count ( object_cref  sub) const
inherited

Referenced by count().

long boost::python::detail::str_base::count ( object_cref  sub,
object_cref  start 
) const
inherited
long boost::python::detail::str_base::count ( object_cref  sub,
object_cref  start,
object_cref  end 
) const
inherited
template<class T >
long boost::python::str::count ( T const &  sub) const
inline
template<class T1 , class T2 >
long boost::python::str::count ( T1 const &  sub,
T2 const &  start 
) const
inline
template<class T1 , class T2 , class T3 >
long boost::python::str::count ( T1 const &  sub,
T2 const &  start,
T3 const &  end 
) const
inline
object boost::python::detail::str_base::decode ( object_cref  encoding) const
inherited
object boost::python::detail::str_base::decode ( object_cref  encoding,
object_cref  errors 
) const
inherited
object boost::python::str::decode ( ) const
inline
template<class T >
object boost::python::str::decode ( T const &  encoding) const
inline
template<class T1 , class T2 >
object boost::python::str::decode ( T1 const &  encoding,
T2 const &  errors 
) const
inline
object boost::python::detail::str_base::encode ( object_cref  encoding) const
inherited
object boost::python::detail::str_base::encode ( object_cref  encoding,
object_cref  errors 
) const
inherited
object boost::python::str::encode ( ) const
inline
template<class T >
object boost::python::str::encode ( T const &  encoding) const
inline
template<class T1 , class T2 >
object boost::python::str::encode ( T1 const &  encoding,
T2 const &  errors 
) const
inline
bool boost::python::detail::str_base::endswith ( object_cref  suffix) const
inherited

Referenced by endswith().

bool boost::python::detail::str_base::endswith ( object_cref  suffix,
object_cref  start 
) const
inherited
bool boost::python::detail::str_base::endswith ( object_cref  suffix,
object_cref  start,
object_cref  end 
) const
inherited
template<class T >
bool boost::python::str::endswith ( T const &  suffix) const
inline
template<class T1 , class T2 >
bool boost::python::str::endswith ( T1 const &  suffix,
T2 const &  start 
) const
inline
template<class T1 , class T2 , class T3 >
bool boost::python::str::endswith ( T1 const &  suffix,
T2 const &  start,
T3 const &  end 
) const
inline
str boost::python::detail::str_base::expandtabs ( object_cref  tabsize) const
inherited
str boost::python::str::expandtabs ( ) const
inline
template<class T >
str boost::python::str::expandtabs ( T const &  tabsize) const
inline
long boost::python::detail::str_base::find ( object_cref  sub) const
inherited

Referenced by find().

long boost::python::detail::str_base::find ( object_cref  sub,
object_cref  start 
) const
inherited
long boost::python::detail::str_base::find ( object_cref  sub,
object_cref  start,
object_cref  end 
) const
inherited
template<class T >
long boost::python::str::find ( T const &  sub) const
inline
template<class T1 , class T2 >
long boost::python::str::find ( T1 const &  sub,
T2 const &  start 
) const
inline
template<class T1 , class T2 , class T3 >
long boost::python::str::find ( T1 const &  sub,
T2 const &  start,
T3 const &  end 
) const
inline
long boost::python::detail::str_base::index ( object_cref  sub) const
inherited

Referenced by index().

long boost::python::detail::str_base::index ( object_cref  sub,
object_cref  start 
) const
inherited
long boost::python::detail::str_base::index ( object_cref  sub,
object_cref  start,
object_cref  end 
) const
inherited
template<class T >
long boost::python::str::index ( T const &  sub) const
inline
template<class T1 , class T2 >
long boost::python::str::index ( T1 const &  sub,
T2 const &  start 
) const
inline
template<class T1 , class T2 , class T3 >
long boost::python::str::index ( T1 const &  sub,
T2 const &  start,
T3 const &  end 
) const
inline
bool boost::python::detail::str_base::isalnum ( ) const
inherited
bool boost::python::detail::str_base::isalpha ( ) const
inherited
bool boost::python::detail::str_base::isdigit ( ) const
inherited
bool boost::python::detail::str_base::islower ( ) const
inherited
bool boost::python::detail::str_base::isspace ( ) const
inherited
bool boost::python::detail::str_base::istitle ( ) const
inherited
bool boost::python::detail::str_base::isupper ( ) const
inherited
str boost::python::detail::str_base::join ( object_cref  sequence) const
inherited

Referenced by join().

template<class T >
str boost::python::str::join ( T const &  sequence) const
inline
str boost::python::detail::str_base::ljust ( object_cref  width) const
inherited

Referenced by ljust().

template<class T >
str boost::python::str::ljust ( T const &  width) const
inline
str boost::python::detail::str_base::lower ( ) const
inherited
str boost::python::detail::str_base::lstrip ( ) const
inherited
str boost::python::detail::str_base::replace ( object_cref  old,
object_cref  new_ 
) const
inherited

Referenced by replace().

str boost::python::detail::str_base::replace ( object_cref  old,
object_cref  new_,
object_cref  maxsplit 
) const
inherited
template<class T1 , class T2 >
str boost::python::str::replace ( T1 const &  old,
T2 const &  new_ 
) const
inline
template<class T1 , class T2 , class T3 >
str boost::python::str::replace ( T1 const &  old,
T2 const &  new_,
T3 const &  maxsplit 
) const
inline
long boost::python::detail::str_base::rfind ( object_cref  sub) const
inherited

Referenced by rfind().

long boost::python::detail::str_base::rfind ( object_cref  sub,
object_cref  start 
) const
inherited
long boost::python::detail::str_base::rfind ( object_cref  sub,
object_cref  start,
object_cref  end 
) const
inherited
template<class T >
long boost::python::str::rfind ( T const &  sub) const
inline
template<class T1 , class T2 >
long boost::python::str::rfind ( T1 const &  sub,
T2 const &  start 
) const
inline
template<class T1 , class T2 , class T3 >
long boost::python::str::rfind ( T1 const &  sub,
T2 const &  start,
T3 const &  end 
) const
inline
long boost::python::detail::str_base::rindex ( object_cref  sub) const
inherited

Referenced by rindex().

long boost::python::detail::str_base::rindex ( object_cref  sub,
object_cref  start 
) const
inherited
long boost::python::detail::str_base::rindex ( object_cref  sub,
object_cref  start,
object_cref  end 
) const
inherited
template<class T >
long boost::python::str::rindex ( T const &  sub) const
inline
template<class T1 , class T2 >
long boost::python::str::rindex ( T1 const &  sub,
T2 const &  start 
) const
inline
template<class T1 , class T2 , class T3 >
long boost::python::str::rindex ( T1 const &  sub,
T2 const &  start,
T3 const &  end 
) const
inline
str boost::python::detail::str_base::rjust ( object_cref  width) const
inherited

Referenced by rjust().

template<class T >
str boost::python::str::rjust ( T const &  width) const
inline
str boost::python::detail::str_base::rstrip ( ) const
inherited
list boost::python::detail::str_base::split ( object_cref  sep) const
inherited
list boost::python::detail::str_base::split ( object_cref  sep,
object_cref  maxsplit 
) const
inherited
list boost::python::str::split ( ) const
inline
template<class T >
list boost::python::str::split ( T const &  sep) const
inline
template<class T1 , class T2 >
list boost::python::str::split ( T1 const &  sep,
T2 const &  maxsplit 
) const
inline
list boost::python::detail::str_base::splitlines ( object_cref  keepends) const
inherited
list boost::python::str::splitlines ( ) const
inline
template<class T >
list boost::python::str::splitlines ( T const &  keepends) const
inline
bool boost::python::detail::str_base::startswith ( object_cref  prefix) const
inherited

Referenced by startswith().

bool boost::python::detail::str_base::startswith ( object_cref  prefix,
object_cref  start 
) const
inherited
bool boost::python::detail::str_base::startswith ( object_cref  prefix,
object_cref  start,
object_cref  end 
) const
inherited
template<class T >
bool boost::python::str::startswith ( T const &  prefix) const
inline
template<class T1 , class T2 >
bool boost::python::str::startswith ( T1 const &  prefix,
T2 const &  start 
) const
inline
template<class T1 , class T2 , class T3 >
bool boost::python::str::startswith ( T1 const &  prefix,
T2 const &  start,
T3 const &  end 
) const
inline
str boost::python::detail::str_base::strip ( ) const
inherited
str boost::python::detail::str_base::swapcase ( ) const
inherited
str boost::python::detail::str_base::title ( ) const
inherited
str boost::python::detail::str_base::translate ( object_cref  table) const
inherited

Referenced by translate().

str boost::python::detail::str_base::translate ( object_cref  table,
object_cref  deletechars 
) const
inherited
template<class T >
str boost::python::str::translate ( T const &  table) const
inline
template<class T1 , class T2 >
str boost::python::str::translate ( T1 const &  table,
T2 const &  deletechars 
) const
inline
str boost::python::detail::str_base::upper ( ) const
inherited

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