#include <edge_functors.h>
Public Member Functions | |
edge_first_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 cttl::const_edge::first. | |
Public Attributes | |
StringT | m_str |
Stores string to insert. |
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, cttl::const_edge::first.
PolicyT | specifies space policy. The default policy is cttl::policy_default. | |
StringT | specifies type of the encapsulated string. The default is std::string |
Definition at line 111 of file edge_functors.h.
cttl::edge_first_insert_go< PolicyT, StringT >::edge_first_insert_go | ( | StringT const & | str_ | ) |
Constructs function object and initializes it with the source substring.
Definition at line 114 of file edge_functors.h.
00115 : 00116 m_str( str_ ) 00117 { 00118 }
void cttl::edge_first_insert_go< PolicyT, StringT >::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 cttl::const_edge::first.
Definition at line 131 of file edge_functors.h.
00132 { 00133 edge_.first.insert_go( m_str ); 00134 }
StringT cttl::edge_first_insert_go< PolicyT, StringT >::m_str |