| 613 | } |
| 614 | |
| 615 | Directory::Ptr Directory::get_subdir(const char* name) |
| 616 | { |
| 617 | ACE_TString t_name = ACE_TEXT_CHAR_TO_TCHAR(name); |
| 618 | Map::iterator it = dirs_.find(t_name); |
| 619 | |
| 620 | if (it == dirs_.end()) { |
| 621 | return make_new_subdir(t_name); |
| 622 | |
| 623 | } else { |
| 624 | return DCPS::make_rch<Directory>(full_path(it->second), it->first, rchandle_from(this)); |
| 625 | } |
| 626 | } |
| 627 | |
| 628 | Directory::Ptr Directory::create_next_dir() |
| 629 | { |