36 void close()
override;
37 void refresh()
override;
38 void enableSWMR()
override;
39 Dataset *openChildDataset(
const std::string &name_, ElementType *objectType,
ScopedHID *type);
43 void flush()
override;
48 return getFileAsGroup()->createChildObject<T>(path.substr(1));
51 if((pos=path.find_last_of(
'/'))==std::string::npos)
56 throw Exception(getPath(),
"Got a path (including /) but this object is not a group");
57 return group->createChildObject<T>(path.substr(pos+1));
61 T* openChildObject(
const std::string &path) {
63 return getFileAsGroup()->openChildObject<T>(path.substr(1));
66 if((pos=path.find_first_of(
'/'))==std::string::npos)
71 throw Exception(getPath(),
"Got a path (including /) but this object is not a group");
72 return group->openChildObject<T>(path.substr(pos+1));
74 Object *openChildObject(
const std::string &name_, ElementType *objectType=
nullptr,
ScopedHID *type=
nullptr);
75 std::list<std::string> getChildObjectNames();