paramset.cpp File Reference

#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 Documentation

#define CHECK_UNUSED (  ) 

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().


Generated on Sat Aug 15 19:14:40 2009 for lux by  doxygen 1.5.9