Static Public Member Functions | List of all members
FilterGet Class Reference

The implementation of the "get" filter. More...

Static Public Member Functions

static TemplateVariant apply (const TemplateVariant &v, const TemplateVariant &arg)
 

Detailed Description

The implementation of the "get" filter.

Definition at line 621 of file template.cpp.

Member Function Documentation

static TemplateVariant FilterGet::apply ( const TemplateVariant v,
const TemplateVariant arg 
)
inlinestatic

Definition at line 624 of file template.cpp.

625  {
627  {
629  //printf("\nok[%s]=%d\n",arg.toString().data(),result.type());
630  return result;
631  }
632  else
633  {
634  //printf("\nnok[%s]\n",arg.toString().data());
635  return FALSE;
636  }
637  }
static QCString result
virtual TemplateVariant get(const char *name) const =0
const bool FALSE
Definition: qglobal.h:370
QCString toString() const
Definition: template.h:232
bool isValid() const
Definition: template.h:161
Variant type which can hold one value of a fixed set of types.
Definition: template.h:90
TemplateStructIntf * toStruct() const
Definition: template.h:264
Type type() const
Definition: template.h:142

The documentation for this class was generated from the following file: