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 125 of file cmt_parser.cxx.
|
Definition at line 376 of file cmt_parser.cxx. 00376 : m_uses(uses) 00377 { 00378 } |
|
Reimplemented from FileScanner::actor. Definition at line 381 of file cmt_parser.cxx. 00384 { 00385 cmt_string temp; 00386 00387 temp = path; 00388 //temp += "/"; 00389 //temp += package; 00390 temp += "/"; 00391 temp += version; 00392 temp += "/cmt/requirements"; 00393 00394 if (!CmtSystem::test_file (temp)) 00395 { 00396 temp.replace ("/cmt/", "/mgr/"); 00397 if (!CmtSystem::test_file (temp)) 00398 { 00399 return; 00400 } 00401 } 00402 00403 temp.replace ("/requirements", ""); 00404 cmt_string& use = m_uses.add (); 00405 use = temp; 00406 } |
|
Definition at line 133 of file cmt_parser.cxx. |