Inheritance diagram for Grep:
Public Member Functions | |
void | begin () |
void | filter (const cmt_string &line) |
const cmt_string & | result () const |
Private Attributes | |
cmt_string | m_result |
o All lines of the input string are collected when they contain the specified pattern. o The input string and the selector pattern are specified in the constructor:
Grep (input_string, pattern)
o All selected lines are accumulated (appended) into the internal variable m_result . 'space' is the separator.
o The accumulator is retrieved by the result () method.
Definition at line 33 of file cmt_cvs.cxx.
|
Reimplemented from Awk. Definition at line 2202 of file cmt_cvs.cxx. References m_result.
02203 { 02204 m_result = ""; 02205 } |
|
Reimplemented from Awk. Definition at line 2207 of file cmt_cvs.cxx. References m_result.
|
|
Definition at line 2215 of file cmt_cvs.cxx. References m_result. Referenced by CvsImplementation::checkout_from_project_file(), and CvsImplementation::get_cvs_infos_with_offset().
02216 { 02217 return (m_result); 02218 } |
|
Definition at line 42 of file cmt_cvs.cxx. |