Library: FastInfoset
Package: CodingAlgorithm
Header: Poco/FastInfoset/UUIDEncoding.h
This class implements the Fast Infoset encoding for UUID values.
Direct Base Classes: Encoding
All Base Classes: Encoding, Poco::RefCountedObject
Member Functions: check, checkMethod, createContent, decode, decodeMethod, encode, encodeMethod, handle, merge, parse, type, write
Inherited Functions: checkMethod, content, createContent, decodeMethod, duplicate, encodeMethod, handle, merge, referenceCount, release, type, write
explicit UUIDEncoding(
const std::string & data
);
Creates the UUIDEncoding by parsing the string for UUID entries.
explicit UUIDEncoding(
const Poco::UUID & data
);
Creates the UUIDEncoding using the given UUID.
explicit UUIDEncoding(
const std::vector < Poco::UUID > & data
);
Creates the UUIDEncoding using the given data.
~UUIDEncoding();
Destroys the UUIDEncoding.
static Poco::Int32 check(
const std::string & str
);
Encoding::CheckMethod checkMethod() const;
void createContent();
static void decode(
BitStreamReader & reader,
std::string & result
);
static void decode(
BitStreamReader & reader,
std::vector < Poco::UUID > & result
);
static Encoding::Ptr decode(
BitStreamReader & reader
);
Encoding::DecodeMethod decodeMethod() const;
static void encode(
BitStreamWriter & writer,
const std::string & str
);
Parses the string for UUID values, single space chars are allowed between the values but not at the end or at the beginning, every error will result in an empty data return vector.
Encoding::EncodeMethod encodeMethod() const;
void handle(
FISContentHandler * pHandler
) const;
See also: Poco::FastInfoset::Encoding::handle()
bool merge(
const Encoding & enc
);
See also: Poco::FastInfoset::Encoding::merge()
static void parse(
const std::string & str,
std::vector < Poco::UUID > & data
);
Poco::UInt32 type() const;
See also: Poco::FastInfoset::Encoding::type()
void write(
BitStreamWriter & writer
) const;
See also: Poco::FastInfoset::Encoding::write()