Class BitmapField
Represents bitmap field (SBE set type).
Namespace: OnixS.CmeMdHandler
Assembly: OnixS.CmeMdHandler.dll
Syntax
public class BitmapField : object
Constructors
BitmapField()
Constructor.
Declaration
public BitmapField()
BitmapField(IFieldSet, Int32)
Constructor.
Declaration
public BitmapField(IFieldSet fieldSet, int tag)
Parameters
Type | Name | Description |
---|---|---|
IFieldSet | fieldSet | Fieldset that contains value. |
System.Int32 | tag | Fix tag. |
BitmapField(Int32)
Constructor.
Declaration
public BitmapField(int bits)
Parameters
Type | Name | Description |
---|---|---|
System.Int32 | bits | Raw value. |
Properties
Any
Check if any of bits is set.
Declaration
public bool Any { get; }
Property Value
Type | Description |
---|---|
System.Boolean | True if any of bits is set, false otherwise. |
Methods
Assign(IFieldSet, Int32)
Assign existing object to new value.
Declaration
public void Assign(IFieldSet fieldSet, int tag)
Parameters
Type | Name | Description |
---|---|---|
IFieldSet | fieldSet | Fieldset that contains value |
System.Int32 | tag | Fix tag. |
Assign(Int32)
Assign existing object to new value.
Declaration
public void Assign(int value)
Parameters
Type | Name | Description |
---|---|---|
System.Int32 | value | Raw value. |
Get(Int32)
Get bit value.
Declaration
public bool Get(int bit)
Parameters
Type | Name | Description |
---|---|---|
System.Int32 | bit | Bit number. |
Returns
Type | Description |
---|---|
System.Boolean | True if bit is set, false otherwise. |
ToString()
Returns string representation of the object.
Declaration
public override string ToString()
Returns
Type | Description |
---|---|
System.String | String representation of the object. |