Exemplo n.º 1
0
        public static void initDataType()
        {
            datatypes["UINT8"]  = new KBEDATATYPE_UINT8();
            datatypes["UINT16"] = new KBEDATATYPE_UINT16();
            datatypes["UINT32"] = new KBEDATATYPE_UINT32();
            datatypes["UINT64"] = new KBEDATATYPE_UINT64();

            datatypes["INT8"]  = new KBEDATATYPE_INT8();
            datatypes["INT16"] = new KBEDATATYPE_INT16();
            datatypes["INT32"] = new KBEDATATYPE_INT32();
            datatypes["INT64"] = new KBEDATATYPE_INT64();

            datatypes["FLOAT"]  = new KBEDATATYPE_FLOAT();
            datatypes["DOUBLE"] = new KBEDATATYPE_DOUBLE();

            datatypes["STRING"]  = new KBEDATATYPE_STRING();
            datatypes["VECTOR2"] = new KBEDATATYPE_VECTOR2();
            datatypes["VECTOR3"] = new KBEDATATYPE_VECTOR3();
            datatypes["VECTOR4"] = new KBEDATATYPE_VECTOR4();
            datatypes["PYTHON"]  = new KBEDATATYPE_PYTHON();
            datatypes["UNICODE"] = new KBEDATATYPE_UNICODE();
            datatypes["MAILBOX"] = new KBEDATATYPE_MAILBOX();
            datatypes["BLOB"]    = new KBEDATATYPE_BLOB();
        }
		public static void initDataType()
		{
			datatypes["UINT8"] = new KBEDATATYPE_UINT8();
			datatypes["UINT16"] = new KBEDATATYPE_UINT16();
			datatypes["UINT32"] = new KBEDATATYPE_UINT32();
			datatypes["UINT64"] = new KBEDATATYPE_UINT64();
			
			datatypes["INT8"] = new KBEDATATYPE_INT8();
			datatypes["INT16"] = new KBEDATATYPE_INT16();
			datatypes["INT32"] = new KBEDATATYPE_INT32();
			datatypes["INT64"] = new KBEDATATYPE_INT64();
			
			datatypes["FLOAT"] = new KBEDATATYPE_FLOAT();
			datatypes["DOUBLE"] = new KBEDATATYPE_DOUBLE();
			
			datatypes["STRING"] = new KBEDATATYPE_STRING();
			datatypes["VECTOR2"] = new KBEDATATYPE_VECTOR2();
			datatypes["VECTOR3"] = new KBEDATATYPE_VECTOR3();
			datatypes["VECTOR4"] = new KBEDATATYPE_VECTOR4();
			datatypes["PYTHON"] = new KBEDATATYPE_PYTHON();
			datatypes["UNICODE"] = new KBEDATATYPE_UNICODE();
			datatypes["MAILBOX"] = new KBEDATATYPE_MAILBOX();
			datatypes["BLOB"] = new KBEDATATYPE_BLOB();
		}