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