private static void addUpdaterToList(
            SecurityStatusUpdate[] updaters,
            MamaFieldDescriptor fieldDesc,
            SecurityStatusUpdate updater)
        {
            if (fieldDesc == null)
            {
                return;
            }
            int fieldId = fieldDesc.getFid();

            if (fieldId <= mMaxFid)
            {
                updaters[fieldId] = updater;
            }
        }
Beispiel #2
0
        private static void addToUpdatersList(
            AuctionUpdate[]         updaters,
            MamaFieldDescriptor fieldDesc,
            AuctionUpdate updater)
        {
            if (fieldDesc == null)
            {
                return;
            }
            int fieldId = fieldDesc.getFid();

            if (fieldId <= mMaxFid)
            {
                updaters[fieldId] = updater;
            }
        }
Beispiel #3
0
        /// <summary>
        /// Try to get a vector of unsigned 64 bit integers.
        /// </summary>
        public bool tryVectorU64(
			MamaFieldDescriptor descriptor, 
			ref ulong[] result)
        {
            return tryVectorU64 (null, (ushort)descriptor.getFid(), ref result);
        }
Beispiel #4
0
        /// <summary>
        /// Try to get a vector of prices.
        /// </summary>
        public bool tryVectorPrice(
			MamaFieldDescriptor descriptor, 
			ref MamaPrice[] result)
        {
            return tryVectorPrice (null, (ushort)descriptor.getFid(), ref result);
        }
Beispiel #5
0
        /// <summary>
        /// Try to get a vector of signed 32 bit integers.
        /// </summary>
        public bool tryVectorI32(
			MamaFieldDescriptor descriptor, 
			ref int[] result)
        {
            return tryVectorI32 (null, (ushort)descriptor.getFid(), ref result);
        }
Beispiel #6
0
        /// <summary>
        /// Try to get a vector of chars.
        /// </summary>
        public bool tryVectorChar(
			MamaFieldDescriptor descriptor, 
			ref char[] result)
        {
            return tryVectorChar (null, (ushort)descriptor.getFid(), ref result);
        }
Beispiel #7
0
        public bool tryStringAnsi(
			MamaFieldDescriptor descriptor,
			ref IntPtr result)
        {
            return tryStringAnsi (null, (ushort)descriptor.getFid(), ref result);
        }
Beispiel #8
0
        /// <summary>
        /// Try to get a I8, signed 8 bit integer, field.
        /// </summary>
        public bool tryI8(
			MamaFieldDescriptor descriptor,
			ref sbyte result)
        {
            return tryI8 (null, (ushort)descriptor.getFid(), ref result);
        }
Beispiel #9
0
        /// <summary>
        /// Try to get a f64 field.
        /// </summary>
        public bool tryF64(
			MamaFieldDescriptor descriptor,
			ref double result)
        {
            return tryF64 (null, (ushort)descriptor.getFid(), ref result);
        }
Beispiel #10
0
        /// <summary>
        /// Get a vector of prices.
        /// </summary>
        public MamaPrice[] getVectorPrice(
			MamaFieldDescriptor descriptor,
			MamaPrice[] valueIfMissing)
        {
            return getVectorPrice (null, (ushort)descriptor.getFid(), valueIfMissing);
        }
Beispiel #11
0
        /// <summary>
        /// Get a vector of prices.
        /// </summary>
        public MamaPrice[] getVectorPrice(
			MamaFieldDescriptor descriptor)
        {
            return getVectorPrice (null, (ushort)descriptor.getFid());
        }
Beispiel #12
0
        /// <summary>
        /// Get a vector of submessages.
        /// </summary>
        public MamaMsg[] getVectorMsg(
			MamaFieldDescriptor descriptor)
        {
            return getVectorMsg(null, (ushort)descriptor.getFid());
        }
Beispiel #13
0
        /// <summary>
        /// Get a vector of signed 16 bit integers.
        /// </summary>
        public short[] getVectorI16(
			MamaFieldDescriptor descriptor,
			short[] valueIfMissing)
        {
            return getVectorI16 (null, (ushort)descriptor.getFid(), valueIfMissing);
        }
Beispiel #14
0
        /// <summary>
        /// Get a vector of signed 16 bit integers.
        /// </summary>
        public short[] getVectorI16(
			MamaFieldDescriptor descriptor)
        {
            return getVectorI16 (null, (ushort)descriptor.getFid());
        }
Beispiel #15
0
        /// <summary>
        /// Get a vector of 64 bit floating point numbers.
        /// </summary>
        public double[] getVectorF64(
			MamaFieldDescriptor descriptor,
			double[] valueIfMissing)
        {
            return getVectorF64 (null, (ushort)descriptor.getFid(), valueIfMissing);
        }
Beispiel #16
0
        /// <summary>
        /// Get a vector of 64 bit floating point numbers.
        /// </summary>
        public double[] getVectorF64(
			MamaFieldDescriptor descriptor)
        {
            return getVectorF64 (null, (ushort)descriptor.getFid());
        }
Beispiel #17
0
        /// <summary>
        /// Try to get a bool field.
        /// </summary>
        public bool tryBool(
			MamaFieldDescriptor descriptor,
			ref bool result)
        {
            return tryBool (null, (ushort)descriptor.getFid(), ref result);
        }
Beispiel #18
0
        /// <summary>
        /// Get a vector of strings (char*).
        /// </summary>
        public string[] getVectorString(
			MamaFieldDescriptor descriptor)
        {
            return getVectorString (null, (ushort)descriptor.getFid());
        }
Beispiel #19
0
        public bool tryI64(
			MamaFieldDescriptor descriptor,
			ref NullableLong result)
        {
            return tryI64(null, (ushort)descriptor.getFid(), ref result);
        }
Beispiel #20
0
        /// <summary>
        /// Get a vector of strings (char*).
        /// </summary>
        public string[] getVectorString(
			MamaFieldDescriptor descriptor,
			string[] valueIfMissing)
        {
            return getVectorString (null, (ushort)descriptor.getFid(), valueIfMissing);
        }
Beispiel #21
0
        /// <summary>
        /// Try to get a submessage.
        /// </summary>
        public bool tryMsg(
			MamaFieldDescriptor descriptor,
			ref MamaMsg result)
        {
            return tryMsg (null, (ushort)descriptor.getFid(), ref result);
        }
Beispiel #22
0
        /// <summary>
        /// Get a vector of unsigned 32 bit integers.
        /// </summary>
        public uint[] getVectorU32(
			MamaFieldDescriptor descriptor)
        {
            return getVectorU32 (null, (ushort)descriptor.getFid());
        }
Beispiel #23
0
        /// <summary>
        /// Try to get a U32, unsigned 32 bit integer, field.
        /// </summary>
        public bool tryU32(
			MamaFieldDescriptor descriptor,
			ref uint result)
        {
            return tryU32 (null, (ushort)descriptor.getFid(), ref result);
        }
Beispiel #24
0
        /// <summary>
        /// Get a vector of unsigned 32 bit integers.
        /// </summary>
        public uint[] getVectorU32(
			MamaFieldDescriptor descriptor,
			uint[] valueIfMissing)
        {
            return getVectorU32 (null, (ushort)descriptor.getFid(), valueIfMissing);
        }
Beispiel #25
0
        /// <summary>
        /// Try to get a vector of timestamps.
        /// </summary>
        public bool tryVectorDateTime(
			MamaFieldDescriptor descriptor, 
			ref DateTime[] result)
        {
            return tryVectorDateTime (null, (ushort)descriptor.getFid(), ref result);
        }
Beispiel #26
0
        /// <summary>
        /// Get a vector of unsigned 64 bit integers.
        /// </summary>
        public ulong[] getVectorU64(
			MamaFieldDescriptor descriptor)
        {
            return getVectorU64 (null, (ushort)descriptor.getFid());
        }
Beispiel #27
0
        public bool tryVectorMsg(
			MamaFieldDescriptor descriptor,
			ref MamaMsg[] result)
        {
            return tryVectorMsgImpl (null, (ushort)descriptor.getFid(), ref result, false);
        }
Beispiel #28
0
        /// <summary>
        /// Get a vector of unsigned 64 bit integers.
        /// </summary>
        public ulong[] getVectorU64(
			MamaFieldDescriptor descriptor,
			ulong[] valueIfMissing)
        {
            return getVectorU64 (null, (ushort)descriptor.getFid(), valueIfMissing);
        }
Beispiel #29
0
        /// <summary>
        /// Try to get a vector of strings (char*).
        /// </summary>
        public bool tryVectorString(
			MamaFieldDescriptor descriptor, 
			ref string[] result)
        {
            return tryVectorString (null, (ushort)descriptor.getFid(), ref result);
        }
Beispiel #30
0
        /// <summary>
        /// Get a vector of unsigned 8 bit integers.
        /// </summary>
        public byte[] getVectorU8(
			MamaFieldDescriptor descriptor)
        {
            return getVectorU8 (null, (ushort)descriptor.getFid());
        }
Beispiel #31
0
        /// <summary>
        /// Try to get a vector of unsigned 8 bit integers.
        /// </summary>
        public bool tryVectorU8(
			MamaFieldDescriptor descriptor, 
			ref byte[] result)
        {
            return tryVectorU8 (null, (ushort)descriptor.getFid(), ref result);
        }
Beispiel #32
0
        /// <summary>
        /// Get a vector of unsigned 8 bit integers.
        /// </summary>
        public byte[] getVectorU8(
			MamaFieldDescriptor descriptor,
			byte[] valueIfMissing)
        {
            return getVectorU8 (null, (ushort)descriptor.getFid(), valueIfMissing);
        }