Ignore:
Timestamp:
03/14/18 23:52:40 (7 years ago)
Author:
Maciej Komosinski
Message:

Renamed ParamTree::Node -> ParamTree::ParamTreeNode? to avoid name conflicts with js

File:
1 edited

Legend:

Unmodified
Added
Removed
  • cpp/frams/param/paramtree.h

    r744 r755  
    3535{
    3636public:
    37         class Node;
    38         typedef std::shared_ptr<Node> NodePtr;
    39         class Node
     37        class ParamTreeNode;
     38        typedef std::shared_ptr<ParamTreeNode> NodePtr;
     39        class ParamTreeNode
    4040        {
    4141        public:
    4242                ParamTree *tree;
    43                 Node *parent;
     43                ParamTreeNode *parent;
    4444                string name; //path component name
    4545                int group_index; //original group index or -1 for dummy nodes
     
    4747                NodePtr next_sibling;
    4848
    49                 Node(ParamTree *_tree = NULL, Node *_parent = NULL, const string &_name = "", int _group_index = -1)
     49                ParamTreeNode(ParamTree *_tree = NULL, ParamTreeNode *_parent = NULL, const string &_name = "", int _group_index = -1)
    5050                        :tree(_tree), parent(_parent), name(_name), group_index(_group_index) {}
    5151        };
    52         Node root;
     52        ParamTreeNode root;
    5353        ParamInterface &pi;
    5454
    55         Node *addNode(Node* parent, const string &name, int group);
    56         Node *findNode(Node *parent, const string& name);
     55        ParamTreeNode *addNode(ParamTreeNode* parent, const string &name, int group);
     56        ParamTreeNode *findNode(ParamTreeNode *parent, const string& name);
    5757
    5858        ParamTree(ParamInterface *_pi);
Note: See TracChangeset for help on using the changeset viewer.