Poco::FastInfoset

class NullRefEncoding

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 virtual

~NullRefEncoding();

Destroys the NullRefEncoding.

Member Functions

content virtual inline

const std::string & content() const;

content virtual

std::string & content();

handle virtual

void handle(
    Poco::XML::ContentHandler * pHandler
) const;

handle virtual

void handle(
    FISContentHandler * pHandler
) const;

merge virtual

bool merge(
    const Encoding & enc
);

reset inline

void reset(
    const std::string & data
);

write virtual

void write(
    BitStreamWriter & writer
) const;

Securely control IoT edge devices from anywhere   Connect a Device