Feature #18

Friendlification of OutputData class

Added by pospelov over 8 years ago. Updated over 8 years ago.

Status:ArchivedStart date:08 May 2012
Priority:NormalDue date:
Assignee:pospelov% Done:

0%

Category:-
Target version:Sprint 2

Description

It would be nice to hide axis&index business of OutputData structure (still but being able to use it) and have something like

OutputData<FresnelCoeff_t > *myOutput = new OutputData<FresnelCoeff_t>
myOutput->addAxis("alpha",0.0,180.0,10);
myOutput->addAxis("index",0,1,2);
myOutput->rewind();
while(myOutput.next()) {
double alpha = output->getAxis(0)->currentValue();
int index = output->getAxis(1)->currentValue();
FresnelCoeff_t coeff = output->currentValue();
}
myOutput.reset(); // to clear structure from data
myOutput.clear(); // to clear structure from data and axes

History

#1 Updated by herck over 8 years ago

  • Description updated (diff)
  • Status changed from Backlog to Sprint

#2 Updated by herck over 8 years ago

  • Status changed from Sprint to Resolved

#3 Updated by herck over 8 years ago

  • Assignee changed from herck to pospelov

#4 Updated by pospelov over 8 years ago

  • Status changed from Resolved to Archived

#5 Updated by herck over 8 years ago

  • Target version set to Sprint 2

Also available in: Atom PDF