Public Member Functions | |
ProjectPatcher (const cmt_string &p) | |
void | commit () |
void | filter (const cmt_string &line) |
Private Attributes | |
cmt_string | m_output |
const cmt_string & | m_project |
|
Definition at line 51 of file cmt_project.cxx. References m_project.
00051 : m_project (p) 00052 { 00053 } |
|
Definition at line 55 of file cmt_project.cxx. References m_output, and cmt_string::write(). Referenced by Project::create().
|
|
Reimplemented from Awk. Definition at line 60 of file cmt_project.cxx. References CmtSystem::cmt_string_vector, m_output, m_project, and CmtSystem::split().
00061 { 00062 if (m_output != "") 00063 { 00064 m_output += "\n"; 00065 } 00066 00067 CmtSystem::cmt_string_vector words; 00068 CmtSystem::split (line, " \t", words); 00069 if (words[0] == "project") 00070 { 00071 m_output += "project "; 00072 m_output += m_project; 00073 } 00074 else 00075 { 00076 m_output += line; 00077 } 00078 } |
|
Definition at line 81 of file cmt_project.cxx. |
|
Definition at line 82 of file cmt_project.cxx. Referenced by filter(), and ProjectPatcher(). |