|
Zserio C++17 runtime library 1.3.0
Built for Zserio 2.20.0
|
#include <ParsingInfo.h>
Public Member Functions | |
| ParsingInfo () | |
| void | setBitPosition (size_t endBitPosition) |
| void | setEndBitPosition (size_t endBitPosition) |
| size_t | getBitPosition () const |
| size_t | getBitSize () const |
The parsing information returned from parsingInfo() method generated in case of '-withParsingInfo' command line option.
Definition at line 16 of file ParsingInfo.h.
|
inline |
Default constructor.
Definition at line 22 of file ParsingInfo.h.
|
inline |
Gets the bit position.
| CppRuntimeException | In case of invalid (uninitialized) bit position. |
Definition at line 65 of file ParsingInfo.h.
|
inline |
Gets the bit size.
| CppRuntimeException | In case of invalid (uninitialized) bit size. |
Definition at line 82 of file ParsingInfo.h.
Initializes the bit position.
| endBitPosition | End bit position to calculate the bit position from. |
Definition at line 32 of file ParsingInfo.h.
Initializes the bit size using the end bit position.
It is supposed that bit position has been already correctly set before this method is called.
| endBitPosition | End bit position to calculate the bit size from. |
| CppRuntimeException | In case of invalid end bit position argument. |
Definition at line 46 of file ParsingInfo.h.