You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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