Home My Page Projects Code Snippets Project Openings diderot
Summary Activity Tracker Tasks SCM

SCM Repository

[diderot] Diff of /branches/vis15/src/lib/include/diderot/options-inst.hxx
ViewVC logotype

Diff of /branches/vis15/src/lib/include/diderot/options-inst.hxx

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 3932, Sun Jun 5 15:49:46 2016 UTC revision 3933, Sun Jun 5 19:29:10 2016 UTC
# Line 216  Line 216 
216              }              }
217              else {              else {
218                  hestOptAdd (                  hestOptAdd (
219                      hOpt, this->_name.c_str(), valName, airTypeDouble, this->_dim, this->_dim &this->_val,                      hOpt, this->_name.c_str(), valName, airTypeDouble, this->_dim, this->_dim, &this->_val,
220                      nullptr, this->_desc.c_str());                      nullptr, this->_desc.c_str());
221              }              }
222          }          }
# Line 277  Line 277 
277      options<REAL,INT>::~options ()      options<REAL,INT>::~options ()
278      {      {
279          for (auto it = this->_opts.begin();  it != this->_opts.end();  it++) {          for (auto it = this->_opts.begin();  it != this->_opts.end();  it++) {
280              delete it;              delete (*it);
281          }          }
282      }      }
283    
# Line 330  Line 330 
330    
331        // register options with hest        // register options with hest
332          for (auto it = this->_opts.begin();  it != this->_opts.end();  it++) {          for (auto it = this->_opts.begin();  it != this->_opts.end();  it++) {
333              it->register_opt ();              (*it)->register_opt (&hopt);
334          }          }
335    
336          hestParseOrDie (          hestParseOrDie (
# Line 342  Line 342 
342    
343        // copy option values back into input variables        // copy option values back into input variables
344          for (auto it = this->_opts.begin();  it != this->_opts.end();  it++) {          for (auto it = this->_opts.begin();  it != this->_opts.end();  it++) {
345              it->init_input ();              (*it)->init_input ();
346          }          }
347    
348          airMopOkay(mop);          airMopOkay(mop);

Legend:
Removed from v.3932  
changed lines
  Added in v.3933

root@smlnj-gforge.cs.uchicago.edu
ViewVC Help
Powered by ViewVC 1.0.0