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

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

Static Public Member Functions

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

Detailed Description

The implementation of the "default" filter.

Definition at line 1243 of file template.cpp.

Member Function Documentation

static TemplateVariant FilterNoWrap::apply ( const TemplateVariant v,
const TemplateVariant  
)
inlinestatic

Definition at line 1246 of file template.cpp.

1247  {
1248  if (!v.isValid() || v.type()!=TemplateVariant::String)
1249  {
1250  return v;
1251  }
1252  QCString s = v.toString();
1253  return substitute(s," "," ");
1254  }
QCString toString() const
Definition: template.h:232
bool isValid() const
Definition: template.h:161
Type type() const
Definition: template.h:142
static QCString * s
Definition: config.cpp:1042
QCString substitute(const QCString &s, const QCString &src, const QCString &dst)
substitute all occurrences of src in s by dst
Definition: util.cpp:5088

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