示例#1
0
 int Initialize(H5::H5Location &object, const std::string & attributeName) {
     attribute = object.openAttribute(attributeName.c_str());
     isInitialized = true;
     return 1;
 }
示例#2
0
 int Initialize(H5::H5Location &object, const std::string & attributeName, bool createIfMissing=false) {
     attribute = object.openAttribute(attributeName.c_str());
     initialized = true;
     return 1;
 }