| Public Methods | |
| ? | CmtPathPatternProjectAction (const CmtPathPattern &pattern, Use &use) | 
| bool? | run (const Project &project) | 
| Private Attributes | |
| const CmtPathPattern &? | m_pattern | 
| Use &? | m_current | 
| cmt_string? | m_buffer | 
| 
 | ||||||||||||
| ? | Definition at line 181 of file cmt_cmtpath_pattern.cxx. References m_current, and m_pattern. | 
| 
 | 
| ? | Implements IProjectAction. Definition at line 187 of file cmt_cmtpath_pattern.cxx. References CmtPathPattern::expand(), Project::get_cmtpath(), Project::get_cmtpath_source(), Cmt::get_debug(), Project::get_name(), m_buffer, m_current, m_pattern, and SyntaxParser::parse_requirements_text(). 00188   {
00189     const cmt_string& pname = project.get_name ();
00190     const cmt_string& p = project.get_cmtpath ();
00191     const cmt_string& s = project.get_cmtpath_source ();
00192 
00193     if (s == "default path") return (true);
00194 
00195     m_pattern.expand (m_buffer, p, pname);
00196 
00197     if (Cmt::get_debug ())
00198       {
00199         cout << "CmtPathPattern::apply> text=[" << m_buffer << "]" << endl;
00200       }
00201 
00202     SyntaxParser::parse_requirements_text (m_buffer, "", &m_current);
00203     m_buffer = "";
00204 
00205     return (true);
00206   }
 | 
| 
 | 
| ? | Definition at line 212 of file cmt_cmtpath_pattern.cxx. Referenced by run(). | 
| 
 | 
| ? | Definition at line 211 of file cmt_cmtpath_pattern.cxx. Referenced by CmtPathPatternProjectAction(), and run(). | 
| 
 | 
| ? | Definition at line 210 of file cmt_cmtpath_pattern.cxx. Referenced by CmtPathPatternProjectAction(), and run(). |