Classes | Public Member Functions | Private Attributes | Static Private Attributes | List of all members
ClassTreeContext::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_classTree
 
Cachable m_cache
 

Static Private Attributes

static PropertyMapper< ClassTreeContext::Privates_inst
 

Detailed Description

Definition at line 6692 of file context.cpp.

Constructor & Destructor Documentation

ClassTreeContext::Private::Private ( )
inline

Definition at line 6695 of file context.cpp.

6696  {
6699  {
6701  }
6702  if (Doxygen::classSDict)
6703  {
6705  }
6706  //%% Nesting tree
6707  static bool init=FALSE;
6708  if (!init)
6709  {
6710  s_inst.addProperty("tree", &Private::tree);
6711  s_inst.addProperty("fileName", &Private::fileName);
6712  s_inst.addProperty("relPath", &Private::relPath);
6713  s_inst.addProperty("highlight", &Private::highlight);
6714  s_inst.addProperty("subhighlight", &Private::subhighlight);
6715  s_inst.addProperty("title", &Private::title);
6716  s_inst.addProperty("preferredDepth",&Private::preferredDepth);
6717  s_inst.addProperty("maxDepth", &Private::maxDepth);
6718  init=TRUE;
6719  }
6720  }
void addNamespaces(const NamespaceSDict &nsDict, bool rootOnly, bool addClasses)
Definition: context.cpp:6638
static NestingContext * alloc(const NestingNodeContext *parent, int level)
Definition: context.h:536
const bool FALSE
Definition: qglobal.h:370
init
Definition: train.py:42
TemplateVariant fileName() const
Definition: context.cpp:6729
TemplateVariant preferredDepth() const
Definition: context.cpp:6771
static NamespaceSDict * namespaceSDict
Definition: doxygen.h:120
TemplateVariant tree() const
Definition: context.cpp:6725
TemplateVariant relPath() const
Definition: context.cpp:6733
void reset(T *p=0)
Definition: context.cpp:113
static PropertyMapper< ClassTreeContext::Private > s_inst
Definition: context.cpp:6792
TemplateVariant subhighlight() const
Definition: context.cpp:6741
void addClasses(const ClassSDict &clDict, bool rootOnly)
Definition: context.cpp:6633
TemplateVariant highlight() const
Definition: context.cpp:6737
SharedPtr< NestingContext > m_classTree
Definition: context.cpp:6781
TemplateVariant title() const
Definition: context.cpp:6745
static ClassSDict * classSDict
Definition: doxygen.h:99
const bool TRUE
Definition: qglobal.h:371
TemplateVariant maxDepth() const
Definition: context.cpp:6762

Member Function Documentation

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

Definition at line 6729 of file context.cpp.

6730  {
6731  return "annotated";
6732  }
TemplateVariant ClassTreeContext::Private::get ( const char *  n) const
inline

Definition at line 6721 of file context.cpp.

6722  {
6723  return s_inst.get(this,n);
6724  }
std::void_t< T > n
static PropertyMapper< ClassTreeContext::Private > s_inst
Definition: context.cpp:6792
TemplateVariant ClassTreeContext::Private::highlight ( ) const
inline

Definition at line 6737 of file context.cpp.

6738  {
6739  return "classes";
6740  }
TemplateVariant ClassTreeContext::Private::maxDepth ( ) const
inline

Definition at line 6762 of file context.cpp.

6763  {
6765  {
6768  }
6769  return m_cache.maxDepth;
6770  }
static int computeMaxDepth(const TemplateListIntf *list)
Definition: context.cpp:5840
SharedPtr< NestingContext > m_classTree
Definition: context.cpp:6781
T * get() const
Definition: context.cpp:111
const bool TRUE
Definition: qglobal.h:371
TemplateVariant ClassTreeContext::Private::preferredDepth ( ) const
inline

Definition at line 6771 of file context.cpp.

6772  {
6774  {
6777  }
6778  return m_cache.preferredDepth;
6779  }
int toInt() const
Definition: template.cpp:222
SharedPtr< NestingContext > m_classTree
Definition: context.cpp:6781
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 maxDepth() const
Definition: context.cpp:6762
TemplateVariant ClassTreeContext::Private::relPath ( ) const
inline

Definition at line 6733 of file context.cpp.

6734  {
6735  return "";
6736  }
TemplateVariant ClassTreeContext::Private::subhighlight ( ) const
inline

Definition at line 6741 of file context.cpp.

6742  {
6743  return "classlist";
6744  }
TemplateVariant ClassTreeContext::Private::title ( ) const
inline

Definition at line 6745 of file context.cpp.

6746  {
6747  static bool fortranOpt = Config_getBool("OPTIMIZE_FOR_FORTRAN");
6748  static bool vhdlOpt = Config_getBool("OPTIMIZE_OUTPUT_VHDL");
6749  if (fortranOpt)
6750  {
6752  }
6753  else if (vhdlOpt)
6754  {
6756  }
6757  else
6758  {
6759  return theTranslator->trClasses();
6760  }
6761  }
virtual QCString trClasses()=0
virtual QCString trCompoundListFortran()=0
static QCString trDesignUnitList()
#define Config_getBool(val)
Definition: config.cpp:664
Translator * theTranslator
Definition: language.cpp:157
TemplateVariant ClassTreeContext::Private::tree ( ) const
inline

Definition at line 6725 of file context.cpp.

6726  {
6727  return m_classTree.get();
6728  }
SharedPtr< NestingContext > m_classTree
Definition: context.cpp:6781
T * get() const
Definition: context.cpp:111

Member Data Documentation

Cachable ClassTreeContext::Private::m_cache
mutableprivate

Definition at line 6791 of file context.cpp.

SharedPtr<NestingContext> ClassTreeContext::Private::m_classTree
private

Definition at line 6781 of file context.cpp.

PropertyMapper< ClassTreeContext::Private > ClassTreeContext::Private::s_inst
staticprivate

Definition at line 6792 of file context.cpp.


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