Doxygen
FilterHex类 参考

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

静态 Public 成员函数

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

详细描述

The implementation of the "upper" filter

在文件 template.cpp1524 行定义.

成员函数说明

◆ apply()

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

在文件 template.cpp1527 行定义.

1528  {
1529  if (v.isValid())
1530  {
1531  return QCString().sprintf("%x",v.toInt());
1532  }
1533  return v;
1534  }

引用了 TemplateVariant::isValid(), QCString::sprintf() , 以及 TemplateVariant::toInt().


该类的文档由以下文件生成:
TemplateVariant::isValid
constexpr bool isValid() const
Returns TRUE if the variant holds a valid value, or FALSE otherwise
Definition: template.h:203
TemplateVariant::toInt
int toInt() const
Returns the variant as an integer.
Definition: template.cpp:383
QCString::sprintf
QCString & sprintf(const char *format,...)
Definition: qcstring.cpp:24
QCString
This is an alternative implementation of QCString.
Definition: qcstring.h:108