1 #ifndef ZSERIO_PARSING_INFO_INC_H
2 #define ZSERIO_PARSING_INFO_INC_H
23 m_bitPosition(INVALID_BIT_POSITION),
24 m_bitSize(INVALID_BIT_SIZE)
33 m_bitPosition(bitPosition),
34 m_bitSize(INVALID_BIT_SIZE)
49 if (endBitPosition < bitPosition)
52 << endBitPosition <<
" < " << bitPosition <<
")!";
67 if (m_bitPosition == INVALID_BIT_POSITION)
84 if (m_bitSize == INVALID_BIT_SIZE)
93 static constexpr
size_t INVALID_BIT_POSITION = std::numeric_limits<size_t>::max();
94 static constexpr
size_t INVALID_BIT_SIZE = std::numeric_limits<size_t>::max();
ParsingInfo(size_t bitPosition)
void initializeBitSize(size_t endBitPosition)
size_t getBitSize() const
size_t getBitPosition() const