Main Page | Namespace List | Class Hierarchy | Alphabetical List | Class List | File List | Namespace Members | Class Members | File Members | Related Pages

edge_replace Struct Template Reference

#include <edge_functors.h>

List of all members.


Detailed Description

template<typename PolicyT = policy_default, typename StringT = CTTL_STD_STRING>
struct cttl::edge_replace< PolicyT, StringT >

Function object, which, if called as a function, replaces underlying text of an edge with the string specified when the function object was constructed.

PolicyT
Template parameter specifying white space policy. Default policy is cttl::policy_default.
StringT
Template parameter specifying type of the encapsulated string. The default is std::string

Definition at line 61 of file edge_functors.h.

Public Member Functions

 edge_replace (StringT const &str_)
 Constructs function object and initializes it with the source substring.
void operator() (edge< PolicyT, StringT > &edge_)
 function call operator, replaces underlying text of an edge with the string specified when the function object was constructed.

Public Attributes

StringT m_str
 Stores source string to replace targets.


The documentation for this struct was generated from the following file:
Generated on Thu Nov 2 17:45:00 2006 for Common Text Transformation Library by  doxygen 1.3.9.1