public ITEM_ARRAY_ELEMENT() { evaled = 0; index = 0; item = new ddpREFERENCE(); desc = new ddpSTRING(); help = new ddpSTRING(); }
public RESPONSE_CODE() { evaled = 0; val = 0; type = 0; desc = new ddpSTRING(); help = new ddpSTRING(); }
public ENUM_VALUE() { func_class = 0; actions = 0; evaled = 0; val = 0; func_class = 0; desc = new ddpSTRING(); help = new ddpSTRING(); status = new BIT_ENUM_STATUS(); }
public int get_dictionary_string(uint index, ref ddpSTRING str) { //ADDED By Deepak , initializing all vars DICT_TABLE_ENTRY found_ptr = new DICT_TABLE_ENTRY(); bool bf = false; //DICT_TABLE_ENTRY key; //key.ulref = index; /* * Perform a binary search on the standard dictionary table to find the * entry we're looking for. * * * found_ptr = (DICT_TABLE_ENTRY*)B_SEARCH((char*)&key, * (char*)dict_table, (unsigned)num_dict_table_entries, * sizeof(DICT_TABLE_ENTRY), dict_compare);*/ foreach (DICT_TABLE_ENTRY de in dict_table) { if (de.ulref == index) { found_ptr = de; bf = true; break; } } if (!bf) { return(Common.DDL_DICT_STRING_NOT_FOUND); } else { /* * Retrieve the information */ str.flags = Common.DONT_FREE_STRING; str.len = found_ptr.len; str.str = found_ptr.str; return(Common.DDL_SUCCESS); } }
public List <METHOD_PARAM> paramList; // stevev 10may05 public VALUES() { reff = new ddpREFERENCE(); refList = new List <ddpREFERENCE>(); strVal = new ddpSTRING(); enmList = new List <ENUM_VALUE>(); typeSize = new TYPE_SIZE(); transList = new List <TRANSACTION>(); respCdList = new List <RESPONSE_CODE>(); menuItemsList = new List <MENU_ITEM>(); defData = new DEFINITION(); refrshReln = new REFRESH_RELATION(); unitReln = new UNIT_RELATION(); itemArrElmnts = new List <ITEM_ARRAY_ELEMENT>(); memberList = new List <MEMBER>(); pExpr = new ddpExpression(); minMaxList = new List <MIN_MAX_VALUE>(); lineType = new LINE_TYPE(); gridMemList = new List <GRID_SET>(); debugInfo = new ITEM_DEBUG_INFO(); methodType = new METHOD_PARAM(); paramList = new List <METHOD_PARAM>(); }
public ITEM_DEBUG_INFO() { attr_list = new List <ATTR_DEBUG_INFO_T>(); file_name = new ddpSTRING(); }
public GRID_SET() { desc = new ddpSTRING(); values = new List <ddpREFERENCE>(); }
public MEMBER() { item = new ddpREFERENCE(); desc = new ddpSTRING(); help = new ddpSTRING(); }