本文整理汇总了C#中Wombat.MamaFieldDescriptor类的典型用法代码示例。如果您正苦于以下问题:C# MamaFieldDescriptor类的具体用法?C# MamaFieldDescriptor怎么用?C# MamaFieldDescriptor使用的例子?那么恭喜您, 这里精选的类代码示例或许可以为您提供帮助。
MamaFieldDescriptor类属于Wombat命名空间,在下文中一共展示了MamaFieldDescriptor类的15个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的C#代码示例。
示例1: tryVectorU64
/// <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);
}
示例2: tryVectorPrice
/// <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);
}
示例3: tryVectorI32
/// <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);
}
示例4: tryVectorChar
/// <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);
}
示例5: tryStringAnsi
public bool tryStringAnsi(
MamaFieldDescriptor descriptor,
ref IntPtr result)
{
return tryStringAnsi (null, (ushort)descriptor.getFid(), ref result);
}
示例6: tryI8
/// <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);
}
示例7: getVectorString
/// <summary>
/// Get a vector of strings (char*).
/// </summary>
public string[] getVectorString(
MamaFieldDescriptor descriptor,
string[] valueIfMissing)
{
return getVectorString (null, (ushort)descriptor.getFid(), valueIfMissing);
}
示例8: getVectorPrice
/// <summary>
/// Get a vector of prices.
/// </summary>
public MamaPrice[] getVectorPrice(
MamaFieldDescriptor descriptor,
MamaPrice[] valueIfMissing)
{
return getVectorPrice (null, (ushort)descriptor.getFid(), valueIfMissing);
}
示例9: getVectorMsg
/// <summary>
/// Get a vector of submessages.
/// </summary>
public MamaMsg[] getVectorMsg(
MamaFieldDescriptor descriptor)
{
return getVectorMsg(null, (ushort)descriptor.getFid());
}
示例10: getVectorI16
/// <summary>
/// Get a vector of signed 16 bit integers.
/// </summary>
public short[] getVectorI16(
MamaFieldDescriptor descriptor,
short[] valueIfMissing)
{
return getVectorI16 (null, (ushort)descriptor.getFid(), valueIfMissing);
}
示例11: tryF64
/// <summary>
/// Try to get a f64 field.
/// </summary>
public bool tryF64(
MamaFieldDescriptor descriptor,
ref double result)
{
return tryF64 (null, (ushort)descriptor.getFid(), ref result);
}
示例12: tryI64
public bool tryI64(
MamaFieldDescriptor descriptor,
ref NullableLong result)
{
return tryI64(null, (ushort)descriptor.getFid(), ref result);
}
示例13: getVectorU32
/// <summary>
/// Get a vector of unsigned 32 bit integers.
/// </summary>
public uint[] getVectorU32(
MamaFieldDescriptor descriptor)
{
return getVectorU32 (null, (ushort)descriptor.getFid());
}
示例14: tryMsg
/// <summary>
/// Try to get a submessage.
/// </summary>
public bool tryMsg(
MamaFieldDescriptor descriptor,
ref MamaMsg result)
{
return tryMsg (null, (ushort)descriptor.getFid(), ref result);
}
示例15: tryU32
/// <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);
}