Classes | Public Member Functions | Private Attributes | Static Private Attributes | List of all members
ModuleTreeContext::Private Class Reference

Classes

struct  Cachable
 

Public Member Functions

 Private ()
 
TemplateVariant get (const char *n) const
 
TemplateVariant tree () const
 
TemplateVariant fileName () const
 
TemplateVariant relPath () const
 
TemplateVariant highlight () const
 
TemplateVariant subhighlight () const
 
TemplateVariant title () const
 
TemplateVariant maxDepth () const
 
TemplateVariant preferredDepth () const
 

Private Attributes

SharedPtr< NestingContextm_moduleTree
 
Cachable m_cache
 

Static Private Attributes

static PropertyMapper< ModuleTreeContext::Privates_inst
 

Detailed Description

Definition at line 7502 of file context.cpp.

Constructor & Destructor Documentation

ModuleTreeContext::Private::Private ( )
inline

Definition at line 7505 of file context.cpp.

7506  {
7508  // Add modules
7509  if (Doxygen::groupSDict)
7510  {
7512  }
7513 
7514  //%% ModuleList tree:
7515  static bool init=FALSE;
7516  if (!init)
7517  {
7518  s_inst.addProperty("tree", &Private::tree);
7519  s_inst.addProperty("fileName", &Private::fileName);
7520  s_inst.addProperty("relPath", &Private::relPath);
7521  s_inst.addProperty("highlight", &Private::highlight);
7522  s_inst.addProperty("subhighlight", &Private::subhighlight);
7523  s_inst.addProperty("title", &Private::title);
7524  s_inst.addProperty("preferredDepth",&Private::preferredDepth);
7525  s_inst.addProperty("maxDepth", &Private::maxDepth);
7526  init=TRUE;
7527  }
7528  }
TemplateVariant maxDepth() const
Definition: context.cpp:7557
static GroupSDict * groupSDict
Definition: doxygen.h:119
TemplateVariant relPath() const
Definition: context.cpp:7541
static NestingContext * alloc(const NestingNodeContext *parent, int level)
Definition: context.h:536
void addModules(const GroupSDict &modules)
Definition: context.cpp:6668
SharedPtr< NestingContext > m_moduleTree
Definition: context.cpp:7576
const bool FALSE
Definition: qglobal.h:370
TemplateVariant title() const
Definition: context.cpp:7553
init
Definition: train.py:42
TemplateVariant fileName() const
Definition: context.cpp:7537
TemplateVariant tree() const
Definition: context.cpp:7533
void reset(T *p=0)
Definition: context.cpp:113
TemplateVariant subhighlight() const
Definition: context.cpp:7549
TemplateVariant preferredDepth() const
Definition: context.cpp:7566
TemplateVariant highlight() const
Definition: context.cpp:7545
static PropertyMapper< ModuleTreeContext::Private > s_inst
Definition: context.cpp:7586
const bool TRUE
Definition: qglobal.h:371

Member Function Documentation

TemplateVariant ModuleTreeContext::Private::fileName ( ) const
inline

Definition at line 7537 of file context.cpp.

7538  {
7539  return "modules";
7540  }
TemplateVariant ModuleTreeContext::Private::get ( const char *  n) const
inline

Definition at line 7529 of file context.cpp.

7530  {
7531  return s_inst.get(this,n);
7532  }
std::void_t< T > n
static PropertyMapper< ModuleTreeContext::Private > s_inst
Definition: context.cpp:7586
TemplateVariant ModuleTreeContext::Private::highlight ( ) const
inline

Definition at line 7545 of file context.cpp.

7546  {
7547  return "modules";
7548  }
TemplateVariant ModuleTreeContext::Private::maxDepth ( ) const
inline

Definition at line 7557 of file context.cpp.

7558  {
7560  {
7563  }
7564  return m_cache.maxDepth;
7565  }
SharedPtr< NestingContext > m_moduleTree
Definition: context.cpp:7576
static int computeMaxDepth(const TemplateListIntf *list)
Definition: context.cpp:5840
T * get() const
Definition: context.cpp:111
const bool TRUE
Definition: qglobal.h:371
TemplateVariant ModuleTreeContext::Private::preferredDepth ( ) const
inline

Definition at line 7566 of file context.cpp.

7567  {
7569  {
7572  }
7573  return m_cache.preferredDepth;
7574  }
TemplateVariant maxDepth() const
Definition: context.cpp:7557
SharedPtr< NestingContext > m_moduleTree
Definition: context.cpp:7576
int toInt() const
Definition: template.cpp:222
T * get() const
Definition: context.cpp:111
static int computePreferredDepth(const TemplateListIntf *list, int maxDepth)
Definition: context.cpp:5880
const bool TRUE
Definition: qglobal.h:371
TemplateVariant ModuleTreeContext::Private::relPath ( ) const
inline

Definition at line 7541 of file context.cpp.

7542  {
7543  return "";
7544  }
TemplateVariant ModuleTreeContext::Private::subhighlight ( ) const
inline

Definition at line 7549 of file context.cpp.

7550  {
7551  return "";
7552  }
TemplateVariant ModuleTreeContext::Private::title ( ) const
inline

Definition at line 7553 of file context.cpp.

7554  {
7555  return theTranslator->trModules();
7556  }
virtual QCString trModules()=0
Translator * theTranslator
Definition: language.cpp:157
TemplateVariant ModuleTreeContext::Private::tree ( ) const
inline

Definition at line 7533 of file context.cpp.

7534  {
7535  return m_moduleTree.get();
7536  }
SharedPtr< NestingContext > m_moduleTree
Definition: context.cpp:7576
T * get() const
Definition: context.cpp:111

Member Data Documentation

Cachable ModuleTreeContext::Private::m_cache
mutableprivate

Definition at line 7585 of file context.cpp.

SharedPtr<NestingContext> ModuleTreeContext::Private::m_moduleTree
private

Definition at line 7576 of file context.cpp.

PropertyMapper< ModuleTreeContext::Private > ModuleTreeContext::Private::s_inst
staticprivate

Definition at line 7586 of file context.cpp.


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