Doxygen
FilterNoWrap类 参考

The implementation of the "default" filter 更多...

静态 Public 成员函数

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

详细描述

The implementation of the "default" filter

在文件 template.cpp1410 行定义.

成员函数说明

◆ apply()

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

在文件 template.cpp1413 行定义.

1414  {
1415  if (!v.isValid() || !v.isString())
1416  {
1417  return v;
1418  }
1419  QCString s = v.toString();
1420  return substitute(s," "," ");
1421  }

引用了 TemplateVariant::isString(), TemplateVariant::isValid(), substitute() , 以及 TemplateVariant::toString().


该类的文档由以下文件生成:
substitute
QCString substitute(const QCString &s, const QCString &src, const QCString &dst)
substitute all occurrences of src in s by dst
Definition: qcstring.cpp:465
TemplateVariant::toString
QCString toString() const
Returns the variant as a string.
Definition: template.cpp:399
TemplateVariant::isValid
constexpr bool isValid() const
Returns TRUE if the variant holds a valid value, or FALSE otherwise
Definition: template.h:203
TemplateVariant::isString
constexpr bool isString() const
Returns TRUE if the variant holds a string value
Definition: template.h:209
QCString
This is an alternative implementation of QCString.
Definition: qcstring.h:108