/// <summary>
 /// Creates an instance of the data element with the provided value.
 /// </summary>
 /// <param name="elem">The value of the element to store in the object file.</param>
 public Int64DataElement(long elem)
 {
     m_Elem     = elem;
     m_Metadata = new BasicMetadataComponent(ObjectTypeCode.Dword);
 }
Пример #2
0
 /// <summary>
 /// Creates an instance of the data element with the provided value.
 /// </summary>
 /// <param name="elem">The value of the element to store in the object file.</param>
 public UInt32DataElement(uint elem)
 {
     m_Elem     = elem;
     m_Metadata = new BasicMetadataComponent(ObjectTypeCode.Word);
 }
 /// <summary>
 /// Creates an instance of the data element with the provided value.
 /// </summary>
 /// <param name="elem">The value of the element to store in the object file.</param>
 public UInt16DataElement(ushort elem)
 {
     m_Elem     = elem;
     m_Metadata = new BasicMetadataComponent(ObjectTypeCode.Half);
 }
Пример #4
0
 /// <summary>
 /// Creates an instance of the data element with the provided value.
 /// </summary>
 /// <param name="elem">The value of the element to store in the object file.</param>
 public ByteDataElement(byte elem)
 {
     m_Elem     = elem;
     m_Metadata = new BasicMetadataComponent(ObjectTypeCode.Byte);
 }