transform-base.hpp File Reference

There are three types of module in a transformation chain: Source, Transform, and Sink. More...

#include "ndn-cxx/detail/common.hpp"
#include "ndn-cxx/util/span.hpp"
#include <vector>
+ Include dependency graph for transform-base.hpp:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  ndn::security::transform::Downstream
 The downstream interface of a transformation module. More...
 
class  ndn::security::transform::Error
 Base class of transformation error. More...
 
class  ndn::security::transform::Sink
 Abstraction of the transformation sink module. More...
 
class  ndn::security::transform::Source
 Abstraction of the transformation source module. More...
 
class  ndn::security::transform::Transform
 Abstraction of an intermediate transformation module. More...
 
class  ndn::security::transform::Upstream
 The upstream interface of a transformation module. More...
 

Namespaces

 ndn
 
 ndn::security
 
 ndn::security::transform
 

Detailed Description

There are three types of module in a transformation chain: Source, Transform, and Sink.

The ideal usage of the transformation would be:

source(...) >> transform1(...) >> transform2(...) >> sink(...);

When error happens in a module, the module will throw out a transform::Error, one can get the location of the module through the getIndex() method of transform::Error.

Definition in file transform-base.hpp.