Inheritance diagram for Grep:
Public Methods |
|
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 31 of file cmt_cvs.cxx.
|
? |
Reimplemented from Awk. Definition at line 1926 of file cmt_cvs.cxx. References m_result. 01927 { 01928 m_result = ""; 01929 } |
|
? |
Reimplemented from Awk. Definition at line 1931 of file cmt_cvs.cxx. References m_result. |
|
? |
Definition at line 1939 of file cmt_cvs.cxx. Referenced by CvsImplementation::show_cvs_infos(). 01940 {
01941 return (m_result);
01942 }
|
|
? |
Definition at line 40 of file cmt_cvs.cxx. |