Boost  v1.57.0
doxygen for www.boost.org
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
boost::match_results< BidiIterator, Allocator > Singleton Reference

#include <regex_format.hpp>

Inheritance diagram for boost::match_results< BidiIterator, Allocator >:

Public Types

typedef sub_match< BidiIterator > value_type
 
typedef Allocator::const_reference const_reference
 
typedef const_reference reference
 
typedef vector_type::const_iterator const_iterator
 
typedef const_iterator iterator
 
typedef
re_detail::regex_iterator_traits
< BidiIterator >
::difference_type 
difference_type
 
typedef Allocator::size_type size_type
 
typedef Allocator allocator_type
 
typedef
re_detail::regex_iterator_traits
< BidiIterator >::value_type 
char_type
 
typedef std::basic_string
< char_type
string_type
 
typedef
re_detail::named_subexpressions 
named_sub_type
 

Public Member Functions

 match_results (const Allocator &a=Allocator())
 
 match_results (const match_results &m)
 
match_resultsoperator= (const match_results &m)
 
 ~match_results ()
 
size_type size () const
 
size_type max_size () const
 
bool empty () const
 
difference_type length (int sub=0) const
 
difference_type length (const char_type *sub) const
 
template<class charT >
difference_type length (const charT *sub) const
 
template<class charT , class Traits , class A >
difference_type length (const std::basic_string< charT, Traits, A > &sub) const
 
difference_type position (size_type sub=0) const
 
difference_type position (const char_type *sub) const
 
template<class charT >
difference_type position (const charT *sub) const
 
template<class charT , class Traits , class A >
difference_type position (const std::basic_string< charT, Traits, A > &sub) const
 
string_type str (int sub=0) const
 
string_type str (const char_type *sub) const
 
template<class Traits , class A >
string_type str (const std::basic_string< char_type, Traits, A > &sub) const
 
template<class charT >
string_type str (const charT *sub) const
 
template<class charT , class Traits , class A >
string_type str (const std::basic_string< charT, Traits, A > &sub) const
 
const_reference operator[] (int sub) const
 
const_reference named_subexpression (const char_type *i, const char_type *j) const
 
template<class charT >
const_reference named_subexpression (const charT *i, const charT *j) const
 
int named_subexpression_index (const char_type *i, const char_type *j) const
 
template<class charT >
int named_subexpression_index (const charT *i, const charT *j) const
 
template<class Traits , class A >
const_reference operator[] (const std::basic_string< char_type, Traits, A > &s) const
 
const_reference operator[] (const char_type *p) const
 
template<class charT >
const_reference operator[] (const charT *p) const
 
template<class charT , class Traits , class A >
const_reference operator[] (const std::basic_string< charT, Traits, A > &ns) const
 
const_reference prefix () const
 
const_reference suffix () const
 
const_iterator begin () const
 
const_iterator end () const
 
template<class OutputIterator , class Functor >
OutputIterator format (OutputIterator out, Functor fmt, match_flag_type flags=format_default) const
 
template<class Functor >
string_type format (Functor fmt, match_flag_type flags=format_default) const
 
template<class OutputIterator , class Functor , class RegexT >
OutputIterator format (OutputIterator out, Functor fmt, match_flag_type flags, const RegexT &re) const
 
template<class RegexT , class Functor >
string_type format (Functor fmt, match_flag_type flags, const RegexT &re) const
 
const_reference get_last_closed_paren () const
 
allocator_type get_allocator () const
 
void swap (match_results &that)
 
bool operator== (const match_results &that) const
 
bool operator!= (const match_results &that) const
 
void BOOST_REGEX_CALL set_second (BidiIterator i)
 
void BOOST_REGEX_CALL set_second (BidiIterator i, size_type pos, bool m=true, bool escape_k=false)
 
void BOOST_REGEX_CALL set_size (size_type n, BidiIterator i, BidiIterator j)
 
void BOOST_REGEX_CALL set_base (BidiIterator pos)
 
BidiIterator base () const
 
void BOOST_REGEX_CALL set_first (BidiIterator i)
 
void BOOST_REGEX_CALL set_first (BidiIterator i, size_type pos, bool escape_k=false)
 
void BOOST_REGEX_CALL maybe_assign (const match_results< BidiIterator, Allocator > &m)
 
void BOOST_REGEX_CALL set_named_subs (boost::shared_ptr< named_sub_type > subs)
 

Member Typedef Documentation

template<class BidiIterator, class Allocator>
typedef Allocator boost::match_results< BidiIterator, Allocator >::allocator_type
template<class BidiIterator, class Allocator>
typedef re_detail::regex_iterator_traits< BidiIterator>::value_type boost::match_results< BidiIterator, Allocator >::char_type
template<class BidiIterator, class Allocator>
typedef vector_type::const_iterator boost::match_results< BidiIterator, Allocator >::const_iterator
template<class BidiIterator, class Allocator>
typedef Allocator::const_reference boost::match_results< BidiIterator, Allocator >::const_reference
template<class BidiIterator, class Allocator>
typedef re_detail::regex_iterator_traits< BidiIterator>::difference_type boost::match_results< BidiIterator, Allocator >::difference_type
template<class BidiIterator, class Allocator>
typedef const_iterator boost::match_results< BidiIterator, Allocator >::iterator
template<class BidiIterator, class Allocator>
typedef re_detail::named_subexpressions boost::match_results< BidiIterator, Allocator >::named_sub_type
template<class BidiIterator, class Allocator>
typedef const_reference boost::match_results< BidiIterator, Allocator >::reference
template<class BidiIterator, class Allocator>
typedef Allocator::size_type boost::match_results< BidiIterator, Allocator >::size_type
template<class BidiIterator, class Allocator>
typedef std::basic_string<char_type> boost::match_results< BidiIterator, Allocator >::string_type
template<class BidiIterator, class Allocator>
typedef sub_match<BidiIterator> boost::match_results< BidiIterator, Allocator >::value_type

Constructor & Destructor Documentation

template<class BidiIterator, class Allocator>
boost::match_results< BidiIterator, Allocator >::match_results ( const Allocator &  a = Allocator())
inlineexplicit
template<class BidiIterator, class Allocator>
boost::match_results< BidiIterator, Allocator >::match_results ( const match_results< BidiIterator, Allocator > &  m)
inline
template<class BidiIterator, class Allocator>
boost::match_results< BidiIterator, Allocator >::~match_results ( )
inline

Member Function Documentation

template<class BidiIterator, class Allocator>
BidiIterator boost::match_results< BidiIterator, Allocator >::base ( ) const
inline
template<class BidiIterator, class Allocator>
const_iterator boost::match_results< BidiIterator, Allocator >::begin ( void  ) const
inline
template<class BidiIterator, class Allocator>
bool boost::match_results< BidiIterator, Allocator >::empty ( void  ) const
inline
template<class BidiIterator, class Allocator>
const_iterator boost::match_results< BidiIterator, Allocator >::end ( void  ) const
inline
template<class BidiIterator, class Allocator>
template<class OutputIterator , class Functor >
OutputIterator boost::match_results< BidiIterator, Allocator >::format ( OutputIterator  out,
Functor  fmt,
match_flag_type  flags = format_default 
) const
inline
template<class BidiIterator, class Allocator>
template<class Functor >
string_type boost::match_results< BidiIterator, Allocator >::format ( Functor  fmt,
match_flag_type  flags = format_default 
) const
inline
template<class BidiIterator, class Allocator>
template<class OutputIterator , class Functor , class RegexT >
OutputIterator boost::match_results< BidiIterator, Allocator >::format ( OutputIterator  out,
Functor  fmt,
match_flag_type  flags,
const RegexT &  re 
) const
inline
template<class BidiIterator, class Allocator>
template<class RegexT , class Functor >
string_type boost::match_results< BidiIterator, Allocator >::format ( Functor  fmt,
match_flag_type  flags,
const RegexT &  re 
) const
inline
template<class BidiIterator, class Allocator>
allocator_type boost::match_results< BidiIterator, Allocator >::get_allocator ( void  ) const
inline
template<class BidiIterator, class Allocator>
const_reference boost::match_results< BidiIterator, Allocator >::get_last_closed_paren ( ) const
inline
template<class BidiIterator, class Allocator>
difference_type boost::match_results< BidiIterator, Allocator >::length ( const char_type sub) const
inline
template<class BidiIterator, class Allocator>
template<class charT >
difference_type boost::match_results< BidiIterator, Allocator >::length ( const charT *  sub) const
inline
template<class BidiIterator, class Allocator>
template<class charT , class Traits , class A >
difference_type boost::match_results< BidiIterator, Allocator >::length ( const std::basic_string< charT, Traits, A > &  sub) const
inline
template<class BidiIterator, class Allocator>
size_type boost::match_results< BidiIterator, Allocator >::max_size ( void  ) const
inline
template<class BidiIterator, class Allocator>
void BOOST_REGEX_CALL boost::match_results< BidiIterator, Allocator >::maybe_assign ( const match_results< BidiIterator, Allocator > &  m)
template<class BidiIterator, class Allocator>
const_reference boost::match_results< BidiIterator, Allocator >::named_subexpression ( const char_type i,
const char_type j 
) const
inline
template<class BidiIterator, class Allocator>
template<class charT >
const_reference boost::match_results< BidiIterator, Allocator >::named_subexpression ( const charT *  i,
const charT *  j 
) const
inline
template<class BidiIterator, class Allocator>
int boost::match_results< BidiIterator, Allocator >::named_subexpression_index ( const char_type i,
const char_type j 
) const
inline
template<class BidiIterator, class Allocator>
template<class charT >
int boost::match_results< BidiIterator, Allocator >::named_subexpression_index ( const charT *  i,
const charT *  j 
) const
inline
template<class BidiIterator, class Allocator>
bool boost::match_results< BidiIterator, Allocator >::operator!= ( const match_results< BidiIterator, Allocator > &  that) const
inline
template<class BidiIterator, class Allocator>
match_results& boost::match_results< BidiIterator, Allocator >::operator= ( const match_results< BidiIterator, Allocator > &  m)
inline
template<class BidiIterator, class Allocator>
bool boost::match_results< BidiIterator, Allocator >::operator== ( const match_results< BidiIterator, Allocator > &  that) const
inline
template<class BidiIterator, class Allocator>
const_reference boost::match_results< BidiIterator, Allocator >::operator[] ( int  sub) const
inline
template<class BidiIterator, class Allocator>
template<class Traits , class A >
const_reference boost::match_results< BidiIterator, Allocator >::operator[] ( const std::basic_string< char_type, Traits, A > &  s) const
inline
template<class BidiIterator, class Allocator>
const_reference boost::match_results< BidiIterator, Allocator >::operator[] ( const char_type p) const
inline
template<class BidiIterator, class Allocator>
template<class charT >
const_reference boost::match_results< BidiIterator, Allocator >::operator[] ( const charT *  p) const
inline
template<class BidiIterator, class Allocator>
template<class charT , class Traits , class A >
const_reference boost::match_results< BidiIterator, Allocator >::operator[] ( const std::basic_string< charT, Traits, A > &  ns) const
inline
template<class BidiIterator, class Allocator>
difference_type boost::match_results< BidiIterator, Allocator >::position ( size_type  sub = 0) const
inline
template<class BidiIterator, class Allocator>
difference_type boost::match_results< BidiIterator, Allocator >::position ( const char_type sub) const
inline
template<class BidiIterator, class Allocator>
template<class charT >
difference_type boost::match_results< BidiIterator, Allocator >::position ( const charT *  sub) const
inline
template<class BidiIterator, class Allocator>
template<class charT , class Traits , class A >
difference_type boost::match_results< BidiIterator, Allocator >::position ( const std::basic_string< charT, Traits, A > &  sub) const
inline
template<class BidiIterator, class Allocator>
void BOOST_REGEX_CALL boost::match_results< BidiIterator, Allocator >::set_base ( BidiIterator  pos)
inline
template<class BidiIterator, class Allocator>
void BOOST_REGEX_CALL boost::match_results< BidiIterator, Allocator >::set_first ( BidiIterator  i)
inline
template<class BidiIterator, class Allocator>
void BOOST_REGEX_CALL boost::match_results< BidiIterator, Allocator >::set_first ( BidiIterator  i,
size_type  pos,
bool  escape_k = false 
)
inline
template<class BidiIterator, class Allocator>
void BOOST_REGEX_CALL boost::match_results< BidiIterator, Allocator >::set_named_subs ( boost::shared_ptr< named_sub_type subs)
inline
template<class BidiIterator, class Allocator>
void BOOST_REGEX_CALL boost::match_results< BidiIterator, Allocator >::set_second ( BidiIterator  i)
inline
template<class BidiIterator, class Allocator>
void BOOST_REGEX_CALL boost::match_results< BidiIterator, Allocator >::set_second ( BidiIterator  i,
size_type  pos,
bool  m = true,
bool  escape_k = false 
)
inline
template<class BidiIterator, class Allocator>
void BOOST_REGEX_CALL boost::match_results< BidiIterator, Allocator >::set_size ( size_type  n,
BidiIterator  i,
BidiIterator  j 
)
inline
template<class BidiIterator, class Allocator>
size_type boost::match_results< BidiIterator, Allocator >::size ( void  ) const
inline
template<class BidiIterator, class Allocator>
string_type boost::match_results< BidiIterator, Allocator >::str ( int  sub = 0) const
inline
template<class BidiIterator, class Allocator>
string_type boost::match_results< BidiIterator, Allocator >::str ( const char_type sub) const
inline
template<class BidiIterator, class Allocator>
template<class Traits , class A >
string_type boost::match_results< BidiIterator, Allocator >::str ( const std::basic_string< char_type, Traits, A > &  sub) const
inline
template<class BidiIterator, class Allocator>
template<class charT >
string_type boost::match_results< BidiIterator, Allocator >::str ( const charT *  sub) const
inline
template<class BidiIterator, class Allocator>
template<class charT , class Traits , class A >
string_type boost::match_results< BidiIterator, Allocator >::str ( const std::basic_string< charT, Traits, A > &  sub) const
inline
template<class BidiIterator, class Allocator>
const_reference boost::match_results< BidiIterator, Allocator >::suffix ( ) const
inline
template<class BidiIterator, class Allocator>
void boost::match_results< BidiIterator, Allocator >::swap ( match_results< BidiIterator, Allocator > &  that)
inline

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