1#if defined(HAVE_CONFIG_H)
14 unsigned int nameSize,
16 const std::bitset<256>& terminators)
18 mName(startName, nameSize),
78 else if (!mValue.
empty())
An alternative to std::string, encapsulates an arbitrary buffer of bytes.
bool empty() const noexcept
Checks whether the Data is empty.
This is one of the places where new parameter types must be defined.
Provides string-parsing functionality with protection from buffer overflow.
CurrentPosition skipWhitespace()
CurrentPosition position() const
CurrentPosition skipToOneOf(const char *cs)
CurrentPosition skipChar()
void data(Data &data, const char *start) const
make the passed in data share memory with the buffer (uses Data::Share)
const char * skipToEndQuote(char quote='"')
static const char * EQUALS
static const char * DOUBLE_QUOTE
Generically used to represent any parameter that is not known by the implmentation.
UnknownParameter(const char *startName, unsigned int nameSize, ParseBuffer &pb, const std::bitset< 256 > &terminators)
EncodeStream & encode(EncodeStream &stream) const
virtual const Data & getName() const
virtual Parameter * clone() const
dcm! – add UnusedChecking(_enum) below;
EncodeStream & operator<<(EncodeStream &strm, const BaseException &e)