/** * * [[fileName]].cc * This file is generated by drogon_ctl * */ #include "[[fileName]].h" #include <%c++ auto namespaceVector=@@.get>("namespaceVector"); std::string namespaceStr; for(auto &name:namespaceVector) { namespaceStr.append(name); namespaceStr.append("::"); } if(!namespaceStr.empty()) { namespaceStr.resize(namespaceStr.length()-2); $$<<"using namespace "<("className").length(), ' '); %> void [[className]]::getOne(const HttpRequestPtr &req, {%indentStr%} std::function &&callback, {%indentStr%} std::string &&id) { } void [[className]]::get(const HttpRequestPtr &req, {%indentStr%} std::function &&callback) { } void [[className]]::create(const HttpRequestPtr &req, {%indentStr%} std::function &&callback) { } void [[className]]::updateOne(const HttpRequestPtr &req, {%indentStr%} std::function &&callback, {%indentStr%} std::string &&id) { } /* void [[className]]::update(const HttpRequestPtr &req, {%indentStr%} std::function &&callback) { }*/ void [[className]]::deleteOne(const HttpRequestPtr &req, {%indentStr%} std::function &&callback, {%indentStr%} std::string &&id) { }