106 "element '" <<
name <<
"' is not of type GROUP");
107 return std::dynamic_pointer_cast<Group>(
group );
114 "element '" <<
name <<
"' is not of type TABLE");
115 return std::dynamic_pointer_cast<Table>(
table );
122 "element '" <<
name <<
"' is not of type DSET");
123 return std::dynamic_pointer_cast<Dataset>(
dset );
141 *
ii = std::make_shared<Group>(
name,
this);
190 (index.
pack()[0])->get();
194#if H5_VERS_MINOR > 10
199 switch (
oinfo.type) {
201 *index = std::make_shared<Group>(
sname,
icd->parent);
206 *index = std::make_shared<Table>(
sname,
icd->parent);
209 *index = std::make_shared<Dataset>(
sname,
icd->parent);
#define CXZ_ASSERT(statement, errmsg)
MArray & init(const RangePtr &range)
MArray & extend(const RangePtr &range)
const DPack & pack() const
YIndex & at(const Vector< DType > &meta)
virtual bool ro() const =0
const String & name() const
virtual String path() const =0
const ContentBase * mParent
virtual String filename() const =0
const MArray< ContentPtr > & get() const
virtual String filename() const override
Sptr< Group > getGroup(const String &name) const
Sptr< Dataset > getDataset(const String &name) const
MArray< ContentPtr > mCont
Sptr< Table > getTable(const String &name) const
virtual Group & close() override
Group & addGroup(const String &name)
virtual Group & open() override
virtual bool exists() const override
virtual ContentType type() const override
virtual bool ro() const override
AIndex< ContentPtr > getIndexTo(const String &name) const
virtual String path() const override
Group(const String &gname, const ContentBase *_parent)
static bool isTable(hid_t loc_id, const char *name)
static herr_t initCont(hid_t id, const char *name, const H5L_info_t *info, void *x)
Sptr< ContentBase > ContentPtr
static herr_t addName(hid_t id, const char *name, const H5L_info_t *info, void *x)
std::vector< T, Allocator< T > > Vector
Sptr< Range > rangeCast(const RangePtr r)
std::shared_ptr< T > Sptr