35#include "src/jazz_bebop/objects.h"
38#ifndef INCLUDED_JAZZ_CATCH2
39#define INCLUDED_JAZZ_CATCH2
41#include "src/catch2/catch.hpp"
47#ifndef INCLUDED_JAZZ_BEBOP_CASTERS
48#define INCLUDED_JAZZ_BEBOP_CASTERS
84 return SERVICE_NOT_IMPLEMENTED;
90typedef std::map<stdName, pCaster>
Casters;
BaseAPI: The parent of API and Core.
Definition base_api.h:122
Caster: An optional converter of the output.
Definition casters.h:67
virtual StatusCode get(pTransaction &p_txn, pBlock p_block)
Convert a block doing whatever the caster does.
Definition casters.h:83
Caster(pBaseAPI api)
The constructor for a Caster.
Definition casters.h:74
stdName name
The name of the Caster.
Definition casters.h:87
A wrapped Name that supports being stacked in an std::vector and used as a key in an std::map.
Definition std_wrap.h:62
A language to access any container by base using locators.
Definition base_api.cpp:39
Casters * pCasters
A pointer to a Casters.
Definition casters.h:91
std::map< stdName, pCaster > Casters
A map of Caster pointers.
Definition casters.h:90
Caster * pCaster
A pointer to a Caster.
Definition casters.h:89
class Block * pBlock
A (forward defined) pointer to a Block.
Definition block.h:66
int StatusCode
Type returned by the Service API.
Definition utils.h:141
Transaction: A wrapper over a Block that defines the communication of a block with a Container.
Definition container.h:162