DummyCatalog implementation. More...
#include <dmlite/cpp/dummy/DummyCatalog.h>
Defines | |
#define | DELEGATE(method,...) |
Little of help here to avoid redundancy. | |
#define | DELEGATE_RETURN(method,...) |
Little of help here to avoid redundancy. |
DummyCatalog implementation.
It makes sense as a base for other decorator plug-ins.
#define DELEGATE | ( | method, | |||
... | ) |
if (this->decorated_ == NULL)\ throw DmException(DM_NOT_IMPLEMENTED, "There is no plugin in the stack that implements "#method);\ this->decorated_->method(__VA_ARGS__);
Little of help here to avoid redundancy.
#define DELEGATE_RETURN | ( | method, | |||
... | ) |
if (this->decorated_ == NULL)\ throw DmException(DM_NOT_IMPLEMENTED, "There is no plugin in the stack that implements "#method);\ return this->decorated_->method(__VA_ARGS__);
Little of help here to avoid redundancy.