Zserio C++ runtime library
1.2.0
Built for Zserio 2.16.0
|
#include <ParsingInfo.h>
Public Member Functions | |
ParsingInfo () | |
ParsingInfo (size_t bitPosition) | |
void | initializeBitSize (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.
|
inlineexplicit |
Constructor from bit position.
bitPosition | Bit position in bits. |
Definition at line 32 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.
|
inline |
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.