NebulaStream
0.6.213
NebulaStream is a data and application management framework for the internet of things
|
Line information structure. More...
Public Types | |
enum class | eFlag : uint8_t { LiteralScalarFlag , FoldedScalarFlag , ScalarNewlineFlag } |
Public Member Functions | |
ReaderLine (std::string data="", const size_t no=0, const size_t offset=0, const Node::eType type=Node::eType::None, const unsigned char flags=0) | |
Constructor. More... | |
void | SetFlag (const eFlag flag) |
Set flag. More... | |
void | SetFlags (const unsigned char flags) |
Set flags by mask value. More... | |
void | UnsetFlag (const eFlag flag) |
Unset flag. More... | |
void | UnsetFlags (const unsigned char flags) |
Unset flags by mask value. More... | |
bool | GetFlag (const eFlag flag) const |
Get flag value. More... | |
void | CopyScalarFlags (ReaderLine *from) |
Copy and replace scalar flags from another ReaderLine. More... | |
Public Attributes | |
std::string | Data |
Data of line. More... | |
size_t | No |
Line number. More... | |
size_t | Offset |
Offset to first character in data. More... | |
Node::eType | Type |
Type of line. More... | |
unsigned char | Flags |
Flags of line. More... | |
ReaderLine * | NextLine {nullptr} |
Pointer to next line. More... | |
Static Public Attributes | |
static const unsigned char | FlagMask [3] = {0x01, 0x02, 0x04} |
Line information structure.
|
strong |
|
inlineexplicit |
Constructor.
|
inline |
Copy and replace scalar flags from another ReaderLine.
|
inline |
|
inline |
Set flags by mask value.
References Flags.
|
inline |
|
inline |
Unset flags by mask value.
References Flags.
std::string Yaml::ReaderLine::Data |
Data of line.
|
static |
Referenced by CopyScalarFlags(), GetFlag(), SetFlag(), and UnsetFlag().
unsigned char Yaml::ReaderLine::Flags |
Flags of line.
Referenced by CopyScalarFlags(), GetFlag(), SetFlag(), SetFlags(), UnsetFlag(), and UnsetFlags().
ReaderLine* Yaml::ReaderLine::NextLine {nullptr} |
Pointer to next line.
size_t Yaml::ReaderLine::No |
Line number.
size_t Yaml::ReaderLine::Offset |
Offset to first character in data.
Node::eType Yaml::ReaderLine::Type |
Type of line.