#include <node_functors.h>
Public Member Functions | |
node_insert_go (StringT const &str_) | |
Constructs function object and initializes it with the source substring. | |
void | operator() (node< StringT > &node_) |
Function call operator, inserts substring at the position pointed by the node. | |
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 node.
StringT | specifies type of the encapsulated string. The default is std::string |
Definition at line 61 of file node_functors.h.
cttl::node_insert_go< StringT >::node_insert_go | ( | StringT const & | str_ | ) |
Constructs function object and initializes it with the source substring.
Definition at line 64 of file node_functors.h.
00065 : 00066 m_str( str_ ) 00067 { 00068 }
void cttl::node_insert_go< StringT >::operator() | ( | node< StringT > & | node_ | ) |
Function call operator, inserts substring at the position pointed by the node.
Definition at line 79 of file node_functors.h.
00080 { 00081 node_.insert_go( m_str ); 00082 }
StringT cttl::node_insert_go< StringT >::m_str |