#include "paramset.h"
#include "error.h"
#include <sstream>
#include <string>
Go to the source code of this file.
Defines | |
#define | CHECK_UNUSED(v) |
#define | DEL_PARAMS(name) |
#define CHECK_UNUSED | ( | v | ) |
Value:
for (i = 0; i < (v).size(); ++i) \ if (!(v)[i]->lookedUp) \ { \ std::stringstream ss; \ ss<<"Parameter '"<<(v)[i]->name<<"' not used"; \ luxError(LUX_NOERROR,LUX_WARNING,ss.str().c_str()); \ }
Referenced by lux::ParamSet::ReportUnused().
#define DEL_PARAMS | ( | name | ) |
Value:
for (u_int i = 0; i < (name).size(); ++i) \ delete (name)[i]; \ (name).erase((name).begin(), (name).end())
Referenced by lux::ParamSet::Clear().