Binary enum entry.
More...
#include <binary_enum_entry.h>
Binary enum entry.
Represents a single entry of enum in a binary form.
◆ BinaryEnumEntry()
ignite::binary::BinaryEnumEntry::BinaryEnumEntry |
( |
int32_t |
typeId, |
|
|
int32_t |
ordinal |
|
) |
| |
|
inline |
Constructor.
- Parameters
-
typeId | Type ID of the enum. |
ordinal | Ordinal of the enum value. |
◆ GetOrdinal()
int32_t ignite::binary::BinaryEnumEntry::GetOrdinal |
( |
| ) |
const |
|
inline |
Get ordinal of the enum value.
- Returns
- Ordinal.
◆ GetTypeId()
int32_t ignite::binary::BinaryEnumEntry::GetTypeId |
( |
| ) |
const |
|
inline |
Get type ID.
Type ID can never equal zero. If the Type ID equals zero, the instance is not valid, and could only be acquired by manual construction or by reading NULL value.
- Returns
- Type ID.
◆ IsNull()
bool ignite::binary::BinaryEnumEntry::IsNull |
( |
| ) |
const |
|
inline |
Check whether value was acquired by reading a NULL value.
- Returns
true
if acquired by reading a NULL value.
The documentation for this class was generated from the following file: