Exemple #1
0
 public ITEM_ARRAY_ELEMENT()
 {
     evaled = 0;
     index  = 0;
     item   = new ddpREFERENCE();
     desc   = new ddpSTRING();
     help   = new ddpSTRING();
 }
Exemple #2
0
 public RESPONSE_CODE()
 {
     evaled = 0;
     val    = 0;
     type   = 0;
     desc   = new ddpSTRING();
     help   = new ddpSTRING();
 }
Exemple #3
0
 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();
 }
Exemple #4
0
        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);
            }
        }
Exemple #5
0
        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>();
        }
Exemple #6
0
 public ITEM_DEBUG_INFO()
 {
     attr_list = new List <ATTR_DEBUG_INFO_T>();
     file_name = new ddpSTRING();
 }
Exemple #7
0
 public GRID_SET()
 {
     desc   = new ddpSTRING();
     values = new List <ddpREFERENCE>();
 }
Exemple #8
0
 public MEMBER()
 {
     item = new ddpREFERENCE();
     desc = new ddpSTRING();
     help = new ddpSTRING();
 }