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

Public Member Functions

 Private (DotGfxHierarchyTable *hierarchy, DotNode *n, int id)
 
TemplateVariant get (const char *n) const
 
TemplateVariant graph () const
 

Private Attributes

DotGfxHierarchyTablem_hierarchy
 
DotNodem_node
 
int m_id
 

Static Private Attributes

static PropertyMapper< InheritanceGraphContext::Privates_inst
 

Detailed Description

Definition at line 8286 of file context.cpp.

Constructor & Destructor Documentation

InheritanceGraphContext::Private::Private ( DotGfxHierarchyTable hierarchy,
DotNode n,
int  id 
)
inline

Definition at line 8289 of file context.cpp.

8289  : m_hierarchy(hierarchy), m_node(n), m_id(id)
8290  {
8291  static bool init=FALSE;
8292  if (!init)
8293  {
8294  s_inst.addProperty("graph",&Private::graph);
8295  init=TRUE;
8296  }
8297  }
static PropertyMapper< InheritanceGraphContext::Private > s_inst
Definition: context.cpp:8323
const bool FALSE
Definition: qglobal.h:370
init
Definition: train.py:42
TemplateVariant graph() const
Definition: context.cpp:8302
DotGfxHierarchyTable * m_hierarchy
Definition: context.cpp:8320
const bool TRUE
Definition: qglobal.h:371

Member Function Documentation

TemplateVariant InheritanceGraphContext::Private::get ( const char *  n) const
inline

Definition at line 8298 of file context.cpp.

8299  {
8300  return s_inst.get(this,n);
8301  }
static PropertyMapper< InheritanceGraphContext::Private > s_inst
Definition: context.cpp:8323
std::void_t< T > n
TemplateVariant InheritanceGraphContext::Private::graph ( ) const
inline

Definition at line 8302 of file context.cpp.

8303  {
8304  QGString result;
8305  static bool haveDot = Config_getBool("HAVE_DOT");
8306  static bool graphicalHierarchy = Config_getBool("GRAPHICAL_HIERARCHY");
8307  if (haveDot && graphicalHierarchy)
8308  {
8309  FTextStream t(&result);
8311  /*GOF_BITMAP,
8312  EOF_Html,*/
8315  m_id);
8316  }
8317  return TemplateVariant(result.data(),TRUE);
8318  }
char * data() const
Definition: qgstring.h:42
static QCString result
static QCString htmlFileExtension
Definition: doxygen.h:130
Simplified and optimized version of QTextStream.
Definition: ftextstream.h:11
QCString outputDir
Definition: context.cpp:70
#define Config_getBool(val)
Definition: config.cpp:664
Variant type which can hold one value of a fixed set of types.
Definition: template.h:90
DotGfxHierarchyTable * m_hierarchy
Definition: context.cpp:8320
struct ContextGlobals g_globals
char portable_pathSeparator()
Definition: portable.cpp:355
const bool TRUE
Definition: qglobal.h:371
void createGraph(DotNode *rootNode, FTextStream &t, const char *path, const char *fileName, int id) const
Definition: dot.cpp:2271

Member Data Documentation

DotGfxHierarchyTable* InheritanceGraphContext::Private::m_hierarchy
private

Definition at line 8320 of file context.cpp.

int InheritanceGraphContext::Private::m_id
private

Definition at line 8322 of file context.cpp.

DotNode* InheritanceGraphContext::Private::m_node
private

Definition at line 8321 of file context.cpp.

PropertyMapper< InheritanceGraphContext::Private > InheritanceGraphContext::Private::s_inst
staticprivate

Definition at line 8323 of file context.cpp.


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