Changeset 744


Ignore:
Timestamp:
02/26/18 20:38:20 (7 years ago)
Author:
Maciej Komosinski
Message:

ParamTree? constructor changed (to make it easier for javascript) to accept ParamInterface?* instead of ParamInterface?&

Location:
cpp/frams
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • cpp/frams/_demos/paramtree_paramlist_test.cpp

    r732 r744  
    4040        combined += &modelgeo.par;
    4141
    42         ParamTree tree(combined);
     42        ParamTree tree(&combined);
    4343
    4444        printTree(&tree.root);
  • cpp/frams/_demos/paramtree_stdin_test.cpp

    r730 r744  
    5252        printf("%d groups\n\n", param.getGroupCount());
    5353
    54         ParamTree tree(param);
     54        ParamTree tree(&param);
    5555
    5656        printTree(&tree.root);
  • cpp/frams/param/paramtree.cpp

    r734 r744  
    4040}
    4141
    42 ParamTree::ParamTree(ParamInterface &_pi)
    43         :pi(_pi)
     42ParamTree::ParamTree(ParamInterface *_pi)
     43        :pi(*_pi)
    4444{
    4545        int g;
  • cpp/frams/param/paramtree.h

    r734 r744  
    5656        Node *findNode(Node *parent, const string& name);
    5757
    58         ParamTree(ParamInterface &_pi);
     58        ParamTree(ParamInterface *_pi);
    5959};
    6060
Note: See TracChangeset for help on using the changeset viewer.