Commit Graph

27 Commits

Author SHA1 Message Date
Léa Saviot
cb77fbe2ff Fix AllocationFailure when multiple instances 2018-06-28 17:59:06 +02:00
Léa Saviot
069ed145a3 Replace node() with castedNode() 2018-06-28 17:07:24 +02:00
Léa Saviot
c8acf7dbda Add second test case for allcoation fail 2018-06-28 15:56:02 +02:00
Léa Saviot
46d56ade21 Allocation failure fix and test 2018-06-28 15:04:56 +02:00
Léa Saviot
c208da2f90 Increment node numberOfChildren when adding child 2018-06-27 17:36:55 +02:00
Léa Saviot
adc422235b Rule of 5 for TreeReference 2018-06-27 16:17:20 +02:00
Léa Saviot
1e4f65e414 Cleaning 2018-06-27 16:17:20 +02:00
Léa Saviot
920d815b67 Remove dangerous casts 2018-06-27 16:17:20 +02:00
Léa Saviot
2bc5290ff1 Clean unary tests 2018-06-27 16:17:20 +02:00
Léa Saviot
8c536abd80 Remove Cursor class 2018-06-27 16:17:20 +02:00
Léa Saviot
f67eb9c0a8 TreeReferences do not deepcopy unless asked 2018-06-27 16:17:20 +02:00
Léa Saviot
9a7441d045 Define a cursor on layout children 2018-06-27 16:17:13 +02:00
Léa Saviot
b58ab0a8ca LayoutCursor 2018-06-26 15:11:04 +02:00
Léa Saviot
c60bc61d32 Add class cursor on for all TreeReferences 2018-06-26 14:30:04 +02:00
Léa Saviot
0af06b5f3a Add Layouts 2018-06-25 13:37:28 +02:00
Léa Saviot
517b2892bb TreeNode::swap 2018-06-22 15:42:28 +02:00
Léa Saviot
d7ea9f3bf7 Remove debug printing 2018-06-22 15:16:48 +02:00
Léa Saviot
6f598acc10 ReplaceWith and ReplaceChild methods on References 2018-06-22 15:12:19 +02:00
Léa Saviot
9a2c458f49 Clean code 2018-06-22 15:07:24 +02:00
Léa Saviot
c46bb03247 Replace new/delete TreeNode with TreePool::create/discardTreeNode 2018-06-22 15:07:24 +02:00
Léa Saviot
a63d7e35fe Protected/private tree node methods 2018-06-22 15:07:24 +02:00
Léa Saviot
b81d491644 Clean code and debug printing 2018-06-22 15:07:24 +02:00
Léa Saviot
f39f974b76 One tree pool instance 2018-06-22 15:07:24 +02:00
Léa Saviot
8ed138fafe NodeForIdentifier array works properly 2018-06-22 15:07:24 +02:00
Romain Goyet
a301de1378 Addition seems to be working 2018-06-12 17:39:10 +02:00
Romain Goyet
68f663d47e Use operator new/delete directly on ExpressionNode 2018-06-12 16:50:49 +02:00
Romain Goyet
3cd1015614 Initial import 2018-06-12 13:56:20 +02:00