SET_BRANCH_CTRL_ATTRIBUTES
#define SET_BRANCH_CTRL_ATTRIBUTES(_ATTRIB) _tmpNode.SetAttribute(STR_BRANCH_CTRL_ATTRIBUTES, _ATTRIB);
This macro set the branch option permanently
EX1
#include <GetNbox.h> void SET_BRANCH_CTRL_ATTRIBUTES_ex1() { GETN_BOX(trRoot) GETN_BEGIN_BRANCH(GoodDay, "Config") SET_BRANCH_CTRL_ATTRIBUTES(BCA_NO_CLOSE) GETN_CHECK(aaa, "aaa", false) GETN_CHECK(bbb, "bbb", false) GETN_END_BRANCH(GoodDay) if ( GetNBox(trRoot) ) out_tree(trRoot); return; }
GetNbox.h