MCPcopy Create free account
hub / github.com/OpenDDS/OpenDDS / get_subdir

Method get_subdir

dds/DCPS/FileSystemStorage.cpp:615–626  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

613}
614
615Directory::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
628Directory::Ptr Directory::create_next_dir()
629{

Callers 2

get_dirMethod · 0.80
ACE_TMAINFunction · 0.80

Calls 3

rchandle_fromFunction · 0.85
findMethod · 0.45
endMethod · 0.45

Tested by 1

ACE_TMAINFunction · 0.64