GL Studio Safety Critical Embedded C++ Runtime Library
|
#include <gls_util.h>
Public Member Functions | |
InlineReader (const GlsUChar *const inlineData[], const GlsUInt32 inlineDataLength, const GlsUInt32 lineLength) | |
~InlineReader () | |
GlsUChar | ReadByte (void) |
GlsBool | IsDone (void) const |
Protected Attributes | |
const GlsUChar *const * | _inlineData |
const GlsUInt32 | _inlineDataLength |
const GlsUInt32 | _lineLength |
GlsUInt32 | _curLine |
GlsUInt32 | _curLineIndex |
GlsUInt32 | _numBytesRead |
helper class for reading data in inline format
GlsUtil::InlineReader::InlineReader | ( | const GlsUChar *const | inlineData[], |
const GlsUInt32 | inlineDataLength, | ||
const GlsUInt32 | lineLength | ||
) |
Constructor
inlineData | inline data |
inlineDataLength | number of bytes in inline data (not including NULL terminators) |
lineLength | length (in bytes) of one line of data in the inline data (not including NULL terminator) |
GlsUtil::InlineReader::~InlineReader | ( | ) |
Destructor
GlsBool GlsUtil::InlineReader::IsDone | ( | void | ) | const |
Determine if the reader has read all of its inline data
GlsUChar GlsUtil::InlineReader::ReadByte | ( | void | ) |
Read a byte from the inline data
|
protected |
index to current line of inline data
|
protected |
index to current byte of current line
|
protected |
inline data to read
|
protected |
number of bytes in inline data (not including NULL terminators)
|
protected |
length (in bytes) of one line of data in the inline data (not including NULL terminator)
|
protected |
number of bytes read from inline data