Class representing all possible LIS representation codes.
More...
|
static int | Get (Type dataType) |
| Return representation code for the corresponding data type.
|
|
static int | GetSize (int representationCode) |
| Return size in bytes of an entry of the specified representation code.
|
|
static Type | GetValueType (int representationCode) |
| Return the value type (i..Net type) of the specified representation code.
|
|
|
const int | ASCII = 65 |
| String.
|
|
const int | FFIXED = 70 |
| Four byte fixed point.
|
|
const int | FSHORT = 49 |
| Two byte floating point.
|
|
const int | FSINGL = 50 |
| Four byte floating point.
|
|
const int | MASK = 77 |
| Mask bits.
|
|
const int | SLONG = 73 |
| Four byte signed integer.
|
|
const int | SSHORT = 56 |
| One byte signed integer [-127,128].
|
|
const int | UNORM = 79 |
| Two byte unsigned integer.
|
|
const int | USHORT = 66 |
| One byte unsigned integer [0,255].
|
|
const int | VSINGL = 68 |
| Four byte floating point.
|
|
Class representing all possible LIS representation codes.
See LIS documentation Appendix B. The terms used below is not used in LIS. They are taken from the DLIS documentation where an equivalent representation code exists.
◆ Get()
static int Get |
( |
Type | dataType | ) |
|
|
static |
Return representation code for the corresponding data type.
- Parameters
-
dataType | Data type to get representation code for. Non-null. |
- Returns
- Corresponding representation code.
- Exceptions
-
ArgumentNullException | If dataType is null. |
◆ GetSize()
static int GetSize |
( |
int | representationCode | ) |
|
|
static |
Return size in bytes of an entry of the specified representation code.
- Parameters
-
representationCode | Representation code to check. |
- Returns
- Size in bytes. [0,>
◆ GetValueType()
static Type GetValueType |
( |
int | representationCode | ) |
|
|
static |
Return the value type (i..Net type) of the specified representation code.
- Parameters
-
representationCode | Representation code to check. |
- Returns
- Value type of representation code. Never null.
The documentation for this class was generated from the following file:
- Petroware/LogIo/Lis/LisRepresentationCode.cs