Library: FastInfoset
Package: CodingAlgorithm
Header: Poco/FastInfoset/NullRefEncoding.h
An optimized version of NullEncoding that stores only a reference to the string.
Direct Base Classes: NullEncoding
All Base Classes: Encoding, NullEncoding, Poco::RefCountedObject
Member Functions: content, handle, merge, reset, write
Inherited Functions: check, checkMethod, content, createContent, decode, decodeMethod, duplicate, encode, encodeMethod, handle, merge, referenceCount, release, type, write
explicit NullRefEncoding(
const std::string & data
);
Creates the NullRefEncoding using the given data.
Only a reference to the data is stored.
~NullRefEncoding();
Destroys the NullRefEncoding.
const std::string & content() const;
See also: Poco::FastInfoset::Encoding::content()
std::string & content();
See also: Poco::FastInfoset::Encoding::content()
void handle(
Poco::XML::ContentHandler * pHandler
) const;
See also: Poco::FastInfoset::Encoding::handle()
void handle(
FISContentHandler * pHandler
) const;
bool merge(
const Encoding & enc
);
See also: Poco::FastInfoset::NullEncoding::merge()
void reset(
const std::string & data
);
void write(
BitStreamWriter & writer
) const;
See also: Poco::FastInfoset::NullEncoding::write()