17#ifndef __MODEL_CHEF_H__
18#define __MODEL_CHEF_H__
20#include <circlechef.pb.h>
34 virtual const char *
base(
void)
const = 0;
35 virtual size_t size(
void)
const = 0;
45 const char *
base(
void)
const {
return _impl->base(); }
46 size_t size(
void)
const {
return _impl->size(); }
49 std::unique_ptr<Impl> _impl;
GeneratedModel(std::unique_ptr< Impl > &&impl)
const char * base(void) const
GeneratedModel cook(const ModelRecipe &model_recipe)
virtual const char * base(void) const =0
virtual size_t size(void) const =0