Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/UIElements/Dialog.cpp

    r24a5e0 r5a7243  
    102102Dialog::MoleculeQuery::MoleculeQuery(string title, molecule **_target, MoleculeListClass *_molecules) :
    103103    Query(title),
    104     tmp(0),
     104    target(_target),
    105105    molecules(_molecules),
    106     target(_target)
    107 
     106    tmp(0)
    108107{}
    109108
     
    117116
    118117Dialog::VectorQuery::VectorQuery(std::string title,Vector *_target,const double *const _cellSize,bool _check) :
    119   Query(title),
    120   cellSize(_cellSize),
    121   check(_check),
    122   target(_target)
     118  Query(title), target(_target), cellSize(_cellSize), check(_check)
    123119{
    124120tmp = new Vector();
     
    133129  *target = *tmp;
    134130}
     131
     132// Element Queries
     133Dialog::ElementQuery::ElementQuery(std::string title, element **_target) :
     134  Query(title),
     135  target(_target),
     136  tmp(0)
     137  {}
     138
     139Dialog::ElementQuery::~ElementQuery(){}
     140
     141void Dialog::ElementQuery::setResult(){
     142  *target=tmp;
     143}
Note: See TracChangeset for help on using the changeset viewer.