Boost  v1.57.0
doxygen for www.boost.org
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
boost::expressions::c_ascii_pattern_replacer< CharT > Class Template Reference

A character decorator implementation that escapes all non-prontable and non-ASCII characters in the output with C-style escape sequences. More...

#include <c_decorator.hpp>

Inheritance diagram for boost::expressions::c_ascii_pattern_replacer< CharT >:
Collaboration diagram for boost::expressions::c_ascii_pattern_replacer< CharT >:

Public Types

typedef base_type::result_type result_type
 Result type. More...
 
typedef base_type::char_type char_type
 Character type. More...
 
typedef base_type::string_type string_type
 String type. More...
 

Public Member Functions

 c_ascii_pattern_replacer ()
 Default constructor. More...
 
result_type operator() (string_type &str, typename string_type::size_type start_pos=0) const
 Applies string replacements starting from the specified position. More...
 

Detailed Description

template<typename CharT>
class boost::expressions::c_ascii_pattern_replacer< CharT >

A character decorator implementation that escapes all non-prontable and non-ASCII characters in the output with C-style escape sequences.

Member Typedef Documentation

Character type.

Result type.

String type.

Constructor & Destructor Documentation

template<typename CharT >
boost::expressions::c_ascii_pattern_replacer< CharT >::c_ascii_pattern_replacer ( )
inline

Default constructor.

Member Function Documentation

template<typename CharT >
result_type boost::expressions::c_ascii_pattern_replacer< CharT >::operator() ( string_type str,
typename string_type::size_type  start_pos = 0 
) const
inline

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