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