Changeset 734 for cpp/frams/param/paramtree.h
- Timestamp:
- 02/15/18 00:44:00 (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
cpp/frams/param/paramtree.h
r728 r734 1 // This file is a part of Framsticks SDK. http://www.framsticks.com/ 2 // Copyright (C) 1999-2018 Maciej Komosinski and Szymon Ulatowski. 3 // See LICENSE.txt for details. 4 1 5 #ifndef _PARAMTREE_H_ 2 6 #define _PARAMTREE_H_ … … 38 42 ParamTree *tree; 39 43 Node *parent; 40 SString name; //path component name44 string name; //path component name 41 45 int group_index; //original group index or -1 for dummy nodes 42 46 NodePtr first_child; 43 47 NodePtr next_sibling; 44 48 45 Node(ParamTree *_tree = NULL, Node *_parent = NULL, const SString &_name = "", int _group_index = -1)49 Node(ParamTree *_tree = NULL, Node *_parent = NULL, const string &_name = "", int _group_index = -1) 46 50 :tree(_tree), parent(_parent), name(_name), group_index(_group_index) {} 47 51 }; … … 49 53 ParamInterface π 50 54 51 Node *addNode(Node* parent, const SString &name, int group);52 Node *findNode(Node *parent, const SString& name);55 Node *addNode(Node* parent, const string &name, int group); 56 Node *findNode(Node *parent, const string& name); 53 57 54 58 ParamTree(ParamInterface &_pi);
Note: See TracChangeset
for help on using the changeset viewer.