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

Static Private Attributes

static PropertyMapper< FileTreeContext::Privates_inst
 

Detailed Description

Definition at line 7137 of file context.cpp.

Constructor & Destructor Documentation

FileTreeContext::Private::Private ( )
inline

Definition at line 7140 of file context.cpp.

7141  {
7142  // Add dirs tree
7145  {
7147  }
7149  {
7151  }
7152  //%% DirFile tree:
7153  static bool init=FALSE;
7154  if (!init)
7155  {
7156  s_inst.addProperty("tree", &Private::tree);
7157  s_inst.addProperty("fileName", &Private::fileName);
7158  s_inst.addProperty("relPath", &Private::relPath);
7159  s_inst.addProperty("highlight", &Private::highlight);
7160  s_inst.addProperty("subhighlight", &Private::subhighlight);
7161  s_inst.addProperty("title", &Private::title);
7162  s_inst.addProperty("preferredDepth",&Private::preferredDepth);
7163  s_inst.addProperty("maxDepth", &Private::maxDepth);
7164  init=TRUE;
7165  }
7166  }
TemplateVariant tree() const
Definition: context.cpp:7171
TemplateVariant subhighlight() const
Definition: context.cpp:7187
TemplateVariant preferredDepth() const
Definition: context.cpp:7204
static NestingContext * alloc(const NestingNodeContext *parent, int level)
Definition: context.h:536
SharedPtr< NestingContext > m_dirFileTree
Definition: context.cpp:7214
const bool FALSE
Definition: qglobal.h:370
static FileNameList * inputNameList
Definition: doxygen.h:109
TemplateVariant highlight() const
Definition: context.cpp:7183
init
Definition: train.py:42
void addDirs(const DirSDict &)
Definition: context.cpp:6643
TemplateVariant fileName() const
Definition: context.cpp:7175
TemplateVariant title() const
Definition: context.cpp:7191
static DirSDict * directories
Definition: doxygen.h:139
void reset(T *p=0)
Definition: context.cpp:113
TemplateVariant relPath() const
Definition: context.cpp:7179
TemplateVariant maxDepth() const
Definition: context.cpp:7195
static PropertyMapper< FileTreeContext::Private > s_inst
Definition: context.cpp:7225
const bool TRUE
Definition: qglobal.h:371
void addFiles(const FileNameList &)
Definition: context.cpp:6653

Member Function Documentation

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

Definition at line 7175 of file context.cpp.

7176  {
7177  return "files";
7178  }
TemplateVariant FileTreeContext::Private::get ( const char *  n) const
inline

Definition at line 7167 of file context.cpp.

7168  {
7169  return s_inst.get(this,n);
7170  }
std::void_t< T > n
static PropertyMapper< FileTreeContext::Private > s_inst
Definition: context.cpp:7225
TemplateVariant FileTreeContext::Private::highlight ( ) const
inline

Definition at line 7183 of file context.cpp.

7184  {
7185  return "files";
7186  }
TemplateVariant FileTreeContext::Private::maxDepth ( ) const
inline

Definition at line 7195 of file context.cpp.

7196  {
7198  {
7201  }
7202  return m_cache.maxDepth;
7203  }
SharedPtr< NestingContext > m_dirFileTree
Definition: context.cpp:7214
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 FileTreeContext::Private::preferredDepth ( ) const
inline

Definition at line 7204 of file context.cpp.

7205  {
7207  {
7210  }
7211  return m_cache.preferredDepth;
7212  }
SharedPtr< NestingContext > m_dirFileTree
Definition: context.cpp:7214
int toInt() const
Definition: template.cpp:222
TemplateVariant maxDepth() const
Definition: context.cpp:7195
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 FileTreeContext::Private::relPath ( ) const
inline

Definition at line 7179 of file context.cpp.

7180  {
7181  return "";
7182  }
TemplateVariant FileTreeContext::Private::subhighlight ( ) const
inline

Definition at line 7187 of file context.cpp.

7188  {
7189  return "filelist";
7190  }
TemplateVariant FileTreeContext::Private::title ( ) const
inline

Definition at line 7191 of file context.cpp.

7192  {
7193  return theTranslator->trFileList();
7194  }
Translator * theTranslator
Definition: language.cpp:157
virtual QCString trFileList()=0
TemplateVariant FileTreeContext::Private::tree ( ) const
inline

Definition at line 7171 of file context.cpp.

7172  {
7173  return m_dirFileTree.get();
7174  }
SharedPtr< NestingContext > m_dirFileTree
Definition: context.cpp:7214
T * get() const
Definition: context.cpp:111

Member Data Documentation

Cachable FileTreeContext::Private::m_cache
mutableprivate

Definition at line 7224 of file context.cpp.

SharedPtr<NestingContext> FileTreeContext::Private::m_dirFileTree
private

Definition at line 7214 of file context.cpp.

PropertyMapper< FileTreeContext::Private > FileTreeContext::Private::s_inst
staticprivate

Definition at line 7225 of file context.cpp.


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