model_server/smt_metric/src/MetricElement.cxx
// create an empty block of a certain type
create an empty block of a certain type
create an empty block of a certain type
void MetricElement::set(metricType block_type) {
    Initialize(MetricElement::set(metricType));
    table = NULL;
    offset = 0;
    priv_table = new MetricTable(1); 
    (*priv_table)[0]->assign(block_type, 1, 1);
}
void MetricElement :: set ( metricType block_type ) { Initialize ( MetricElement :: set ( metricType ) ) ; table = NULL ; offset = 0 ; priv_table = new MetricTable ( 1 ) ; ( * priv_table ) [ 0 ] -> assign ( block_type , 1 , 1 ) ; }
create an empty block of a certain type
create an empty block of a certain type