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

edge_second_insert_go 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_second_insert_go< PolicyT, StringT >

Function object, which, if called as a function, inserts substring specified when the function object was constructed, at the offset pointed by the upper boundary of the edge, const_edge::second.

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 192 of file edge_functors.h.

Public Member Functions

 edge_second_insert_go (StringT const &str_)
 Constructs function object and initializes it with the source substring.
void operator() (edge< PolicyT, StringT > &edge_)
 function call operator, inserts substring specified when the function object was constructed, at the offset pointed by the upper boundary of the edge, const_edge::second.

Public Attributes

StringT m_str
 Stores string to insert.


Member Function Documentation

void operator() edge< PolicyT, StringT > &  edge_  )  [inline]
 

function call operator, inserts substring specified when the function object was constructed, at the offset pointed by the upper boundary of the edge, const_edge::second.

Postcondition:
All nodes at the insertion position, as well as at the higher offset positions, are adjusted forward accordingly to the width of the inserted substring.

Definition at line 211 of file edge_functors.h.

References const_edge::second.


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