class ClVarLookupFunction : public std::unary_function<const string &,ClVariable *> {
public:
+ virtual ~ClVarLookupFunction () {};
virtual ClVariable *operator()(const string &) const { return &clvNil; }
};
ClVarLookupInMap(StringToVarMap *pmapVars, bool fAutoCreate)
: _pmapVars(pmapVars), _fAutoCreate(fAutoCreate) { }
+ virtual ~ClVarLookupInMap () {};
+
ClVariable *operator()(const string &str) const
{
if (!_pmapVars)
: pclv(pcfv)
{ if (pmapStrPclv) { (*pmapStrPclv)[pcfv->Name()] = *this; } }
+ // Destructor
+ virtual ~ClVariable() {};
+
/// permit ClVariables to be used as pointers to pclvs
ClAbstractVariable *operator->() { return pclv; }
const ClAbstractVariable *operator->() const { return pclv; }
class FIFOSamplePipe
{
public:
+ virtual ~FIFOSamplePipe () {};
/// Returns a pointer to the beginning of the output samples.
/// This function is provided for accessing the output samples directly.
/// Please be careful for not to corrupt the book-keeping!