GETN_ADD_INT_MAP
#define GETN_ADD_INT_MAP(_STR_INT_VALS) _tmpSubNode.SetAttribute(STR_INTMAP_ATTRIB, _STR_INT_VALS);
To setup the int type value for the relative string in string list. If not set, the int value for the string in string list will begin from 0 and increment as 1.
Ex1
#include <GetNbox.h> void GETN_ADD_INT_MAP_ex1() { vector<string> vs = {"t-Test", "Correlation", "NLSF","None"}; string strCombo; strCombo.SetTokens(vs, '|'); GETN_BOX(tr); GETN_LIST(item, "", 3, strCombo) GETN_ADD_INT_MAP("2|3|11|0") GETN_OPTION_DISPLAY_FORMAT(DISPLAY_EDITOR_LEFT) if( GetNBox( tr, "Title", "Description")) out_int("you have picked ", tr.item.nVal); }
GETN_COMBO
GetNbox.h