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

Method get_dir

dds/DCPS/FileSystemStorage.cpp:603–613  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

601}
602
603Directory::Ptr Directory::get_dir(const OPENDDS_VECTOR(OPENDDS_STRING)& path)
604{
605 Directory::Ptr dir = rchandle_from(this);
606 typedef OPENDDS_VECTOR(OPENDDS_STRING)::const_iterator iterator;
607
608 for (iterator iter = path.begin(), end = path.end(); iter != end; ++iter) {
609 dir = dir->get_subdir(iter->c_str());
610 }
611
612 return dir;
613}
614
615Directory::Ptr Directory::get_subdir(const char* name)
616{

Callers 3

cleanup_directoryFunction · 0.80
insertMethod · 0.80
ACE_TMAINFunction · 0.80

Calls 4

rchandle_fromFunction · 0.85
get_subdirMethod · 0.80
beginMethod · 0.45
endMethod · 0.45

Tested by 1

ACE_TMAINFunction · 0.64