Ignore:
Timestamp:
02/15/18 00:44:00 (3 years ago)
Author:
Maciej Komosinski
Message:

SString -> std::string

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
    15#ifndef _PARAMTREE_H_
    26#define _PARAMTREE_H_
     
    3842                ParamTree *tree;
    3943                Node *parent;
    40                 SString name; //path component name
     44                string name; //path component name
    4145                int group_index; //original group index or -1 for dummy nodes
    4246                NodePtr first_child;
    4347                NodePtr next_sibling;
    4448
    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)
    4650                        :tree(_tree), parent(_parent), name(_name), group_index(_group_index) {}
    4751        };
     
    4953        ParamInterface π
    5054
    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);
    5357
    5458        ParamTree(ParamInterface &_pi);
Note: See TracChangeset for help on using the changeset viewer.