-
Notifications
You must be signed in to change notification settings - Fork 1
MetadataExample1
Adrian Quintana edited this page Dec 11, 2017
·
1 revision
MetaData md ; // metadata object FileName fn; // metadata file Name double Xoff; fn.compose("two","metadata/ReadWriteAppendBlock.xmd"); //read metadata labeled two md.read(fn); // read metadata String errorMessage; FOR_ALL_OBJECTS_IN_METADATA(md) //loop through all lines { if (md.getValue(MDL_X, Xoff,__iter.objId))//get value for attribute X std::cerr << "The value is: " << Xoff; else { errorMessage=formatString("Cannot find label