qswiki/dynamic/dynamiccontentgetvar.cpp

12 lines
219 B
C++
Raw Normal View 히스토리

#include "dynamiccontentgetvar.h"
std::string DynamicContentGetVar::render()
{
return (*this->map)[this->argument];
}
void DynamicContentGetVar::setMap(std::map<std::string, std::string> &map)
{
this->map = &map;
}