Inheritance diagram for PackageSelector
Public Methods | |
PackageSelector (CmtSystem::cmt_string_vector& uses) | |
void | run (const cmt_string& package, const cmt_string& version, const cmt_string& path) |
Private Attributes | |
CmtSystem::cmt_string_vector& | m_uses |
Definition at line 124 of file cmt_parser.cxx.
|
Definition at line 375 of file cmt_parser.cxx. 00375 : m_uses(uses) 00376 { 00377 } |
|
Reimplemented from FileScanner::actor. Definition at line 380 of file cmt_parser.cxx. 00383 { 00384 cmt_string temp; 00385 00386 temp = path; 00387 //temp += "/"; 00388 //temp += package; 00389 temp += "/"; 00390 temp += version; 00391 temp += "/cmt/requirements"; 00392 00393 if (!CmtSystem::test_file (temp)) 00394 { 00395 temp.replace ("/cmt/", "/mgr/"); 00396 if (!CmtSystem::test_file (temp)) 00397 { 00398 return; 00399 } 00400 } 00401 00402 temp.replace ("/requirements", ""); 00403 cmt_string& use = m_uses.add (); 00404 use = temp; 00405 } |
|
Definition at line 132 of file cmt_parser.cxx. |