File tree Expand file tree Collapse file tree 3 files changed +7
-26
lines changed Expand file tree Collapse file tree 3 files changed +7
-26
lines changed Load Diff This file was deleted.
Original file line number Diff line number Diff line change 1
1
# wsjcpp-obj-tree
2
- [ ![ Build Status] ( https://api.travis-ci.com/wsjcpp/wsjcpp-obj-tree.svg?branch=master )] ( https://travis-ci.com/wsjcpp/wsjcpp-obj-tree ) [ ![ Total alerts ] ( https://img.shields.io/lgtm/alerts/g/wsjcpp/wsjcpp-obj-tree.svg?logo=lgtm&logoWidth=18 )] ( https://lgtm.com/projects/g/wsjcpp/wsjcpp-obj-tree/alerts/ ) [ ![ Language grade: C/C++ ] ( https://img.shields.io/lgtm/grade/cpp/g/wsjcpp/wsjcpp-obj-tree.svg?logo=lgtm&logoWidth=18 )] ( https://lgtm.com/projects/g/wsjcpp/wsjcpp-obj-tree/context:cpp )
2
+ [ ![ Build Status] ( https://api.travis-ci.com/wsjcpp/wsjcpp-obj-tree.svg?branch=master )] ( https://travis-ci.com/wsjcpp/wsjcpp-obj-tree )
3
3
4
4
Multi Object Tree
5
5
6
6
* Check circles in tree
7
7
* Every node have list of pointers to childs and pointer to parent
8
- * Tree can has several root nodes
9
8
* Chain style declaration for more comfortable
10
9
* Every node can be customized
11
10
* Tree has full list of pointers to nodes so searching in nodes is non recursive
@@ -43,13 +42,13 @@ Run help:
43
42
$ ./wsjcpp-obj-tree --help
44
43
45
44
Usage: ./wsjcpp-obj-tree [OPTIONS]
46
- Options:
45
+ Options:
47
46
--help | -h help
48
- Input or source data can be (only one):
47
+ Input or source data can be (only one):
49
48
--input < file> | -i < file> input binary file with tree
50
49
--random N | -r N generate random data (more than 0 and less than 1000000)
51
50
--example | -e hardcoded example
52
- Output data can be (only one):
51
+ Output data can be (only one):
53
52
--output < file> | -o < file> output binary file for tree
54
53
--print | -p output binary file for tree
55
54
Original file line number Diff line number Diff line change @@ -24,10 +24,10 @@ class WsjcppObjTreeNodeBuilding : public WsjcppObjTreeNode {
24
24
public:
25
25
WsjcppObjTreeNodeBuilding (WsjcppObjTree *pTree, const Address &nValue = Address());
26
26
static uint16_t staticType () { return WSJCPP_OBJ_TREE_NODE_BUILDING; };
27
-
27
+
28
28
const Address &getValue ();
29
29
void setValue (const Address &nValue);
30
-
30
+
31
31
// custom
32
32
void setNumberOfFloors (int n);
33
33
int getNumberOfFloors ();
@@ -46,7 +46,7 @@ class WsjcppObjTreeNodeBuilding : public WsjcppObjTreeNode {
46
46
47
47
bool readString (std::ifstream &f, std::string &nVal, std::string &sError );
48
48
bool writeString (std::ofstream &f, std::string nVal, std::string &sError );
49
-
49
+
50
50
};
51
51
52
52
WSJCPP_OBJ_TREE_CHAIN_DECLARE_INLINE (Address, WsjcppObjTreeNodeBuilding)
You can’t perform that action at this time.
0 commit comments