Doxygen
NavPathElemContext::Private类 参考
+ NavPathElemContext::Private 的协作图:

Public 成员函数

 Private (const Definition *def)
 
TemplateVariant get (const QCString &n) const
 
StringVector fields () const
 

Private 成员函数

TemplateVariant isLinkable () const
 
TemplateVariant anchor () const
 
TemplateVariant fileName () const
 
TemplateVariant isReference () const
 
TemplateVariant externalReference () const
 
TemplateVariant text () const
 
QCString relPathAsString () const
 

Private 属性

const Definitionm_def
 

静态 Private 属性

static const PropertyMap< NavPathElemContext::Privates_inst
 

详细描述

在文件 context.cpp6986 行定义.

构造及析构函数说明

◆ Private()

NavPathElemContext::Private::Private ( const Definition def)
inline

在文件 context.cpp6989 行定义.

6989 : m_def(def) {}

成员函数说明

◆ anchor()

TemplateVariant NavPathElemContext::Private::anchor ( ) const
inlineprivate

在文件 context.cpp6998 行定义.

6998 { return m_def->anchor(); }

引用了 Definition::anchor() , 以及 m_def.

◆ externalReference()

TemplateVariant NavPathElemContext::Private::externalReference ( ) const
inlineprivate

在文件 context.cpp7001 行定义.

7001 { return m_def->externalReference(relPathAsString()); }

引用了 Definition::externalReference(), m_def , 以及 relPathAsString().

◆ fields()

StringVector NavPathElemContext::Private::fields ( ) const
inline

在文件 context.cpp6993 行定义.

6993 { return s_inst.fields(); }

引用了 PropertyMap< T >::fields() , 以及 s_inst.

◆ fileName()

TemplateVariant NavPathElemContext::Private::fileName ( ) const
inlineprivate

在文件 context.cpp6999 行定义.

6999 { return m_def->getOutputFileBase(); }

引用了 Definition::getOutputFileBase() , 以及 m_def.

◆ get()

TemplateVariant NavPathElemContext::Private::get ( const QCString n) const
inline

在文件 context.cpp6992 行定义.

6992 { return s_inst.get(this,n); }

引用了 PropertyMap< T >::get() , 以及 s_inst.

◆ isLinkable()

TemplateVariant NavPathElemContext::Private::isLinkable ( ) const
inlineprivate

在文件 context.cpp6997 行定义.

6997 { return m_def->isLinkable(); }

引用了 Definition::isLinkable() , 以及 m_def.

◆ isReference()

TemplateVariant NavPathElemContext::Private::isReference ( ) const
inlineprivate

在文件 context.cpp7000 行定义.

7000 { return m_def->isReference(); }

引用了 Definition::isReference() , 以及 m_def.

◆ relPathAsString()

QCString NavPathElemContext::Private::relPathAsString ( ) const
inlineprivate

在文件 context.cpp7023 行定义.

7024  {
7025  static bool createSubdirs = Config_getBool(CREATE_SUBDIRS);
7026  return createSubdirs ? QCString("../../") : QCString("");
7027  }

引用了 Config_getBool.

被这些函数引用 externalReference().

◆ text()

TemplateVariant NavPathElemContext::Private::text ( ) const
inlineprivate

在文件 context.cpp7002 行定义.

7003  {
7006  if (type==Definition::TypeGroup)
7007  {
7008  text = (toGroupDef(m_def))->groupTitle();
7009  }
7010  else if (type==Definition::TypePage && ((toPageDef(m_def))->hasTitle()))
7011  {
7012  text = (toPageDef(m_def))->title();
7013  }
7014  else if (type==Definition::TypeClass)
7015  {
7016  if (text.right(2)=="-p")
7017  {
7018  text = text.left(text.length()-2);
7019  }
7020  }
7021  return text;
7022  }

引用了 Definition::definitionType(), Definition::localName(), m_def, toGroupDef(), toPageDef(), Definition::TypeClass, Definition::TypeGroup , 以及 Definition::TypePage.

类成员变量说明

◆ m_def

const Definition* NavPathElemContext::Private::m_def
private

在文件 context.cpp7029 行定义.

被这些函数引用 anchor(), externalReference(), fileName(), isLinkable(), isReference() , 以及 text().

◆ s_inst

const PropertyMap< NavPathElemContext::Private > NavPathElemContext::Private::s_inst
staticprivate
初始值:
{
{ "isLinkable", &Private::isLinkable },
{ "fileName", &Private::fileName },
{ "anchor", &Private::anchor },
{ "text", &Private::text },
{ "isReference", &Private::isReference },
{ "externalReference",&Private::externalReference }
}

在文件 context.cpp7030 行定义.

被这些函数引用 fields() , 以及 get().


该类的文档由以下文件生成:
NavPathElemContext::Private::isLinkable
TemplateVariant isLinkable() const
Definition: context.cpp:6997
NavPathElemContext::Private::text
TemplateVariant text() const
Definition: context.cpp:7002
toGroupDef
GroupDef * toGroupDef(Definition *d)
Definition: groupdef.cpp:1766
PropertyMap::get
TemplateVariant get(const T *obj, const QCString &n) const
Definition: context.cpp:126
Definition::isLinkable
virtual bool isLinkable() const =0
Definition::TypePage
@ TypePage
Definition: definition.h:93
NavPathElemContext::Private::anchor
TemplateVariant anchor() const
Definition: context.cpp:6998
Definition::TypeGroup
@ TypeGroup
Definition: definition.h:91
NavPathElemContext::Private::fileName
TemplateVariant fileName() const
Definition: context.cpp:6999
PropertyMap::fields
StringVector fields() const
Definition: context.cpp:131
toPageDef
PageDef * toPageDef(Definition *d)
Definition: pagedef.cpp:408
NavPathElemContext::Private::externalReference
TemplateVariant externalReference() const
Definition: context.cpp:7001
Definition::externalReference
virtual QCString externalReference(const QCString &relPath) const =0
NavPathElemContext::Private::isReference
TemplateVariant isReference() const
Definition: context.cpp:7000
Definition::isReference
virtual bool isReference() const =0
Definition::getOutputFileBase
virtual QCString getOutputFileBase() const =0
Definition::DefType
DefType
Definition: definition.h:85
Definition::TypeClass
@ TypeClass
Definition: definition.h:87
Definition::definitionType
virtual DefType definitionType() const =0
NavPathElemContext::Private::s_inst
static const PropertyMap< NavPathElemContext::Private > s_inst
Definition: context.cpp:7030
Definition::anchor
virtual QCString anchor() const =0
Config_getBool
#define Config_getBool(name)
Definition: config.h:33
NavPathElemContext::Private::m_def
const Definition * m_def
Definition: context.cpp:7029
NavPathElemContext::Private::relPathAsString
QCString relPathAsString() const
Definition: context.cpp:7023
Definition::localName
virtual QCString localName() const =0
QCString
This is an alternative implementation of QCString.
Definition: qcstring.h:108