GETN_CURRENT_NODE
#define GETN_CURRENT_NODE _tmpNode
Parent of the current node. It can be used when want to pass the current tree node to other functions.
EX1
#include <GetNbox.h> void GETN_CURRENT_NODE_ex1() { GETN_BOX( treeTest ); add_node(GETN_CURRENT_NODE); //pass the parent of the current tree node to other functions. GETN_CHECK(FixIntercept, "Fix Intercept", 0) if(GetNBox(treeTest)) out_tree(treeTest); } void add_node(TreeNode& trNode) { GETN_USE(trNode); GETN_CHECK(FixIntercept, "Fix Intercept", 0) if( GetNBox( trNode )) out_tree( trNode ); }
GETN_CURRENT_SUBNODE
GetNbox.h