My Project
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
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::Private
s_inst
 

Detailed Description

Definition at line 8301 of file context.cpp.

Constructor & Destructor Documentation

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

Definition at line 8304 of file context.cpp.

References graph(), Config::init(), and s_inst.

: m_hierarchy(hierarchy), m_node(n), m_id(id)
{
static bool init=FALSE;
if (!init)
{
s_inst.addProperty("graph",&Private::graph);
init=TRUE;
}
}

Member Function Documentation

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

Definition at line 8313 of file context.cpp.

References s_inst.

Referenced by InheritanceGraphContext::get().

{
return s_inst.get(this,n);
}
TemplateVariant InheritanceGraphContext::Private::graph ( ) const
inline

Definition at line 8317 of file context.cpp.

References Config_getBool, DotGfxHierarchyTable::createGraph(), g_globals, Doxygen::htmlFileExtension, m_hierarchy, m_id, m_node, ContextGlobals::outputDir, and portable_pathSeparator().

Referenced by Private().

{
QGString result;
static bool haveDot = Config_getBool(HAVE_DOT);
static bool graphicalHierarchy = Config_getBool(GRAPHICAL_HIERARCHY);
if (haveDot && graphicalHierarchy)
{
FTextStream t(&result);
/*GOF_BITMAP,
EOF_Html,*/
m_id);
}
return TemplateVariant(result.data(),TRUE);
}

Member Data Documentation

DotGfxHierarchyTable* InheritanceGraphContext::Private::m_hierarchy
private

Definition at line 8335 of file context.cpp.

Referenced by graph().

int InheritanceGraphContext::Private::m_id
private

Definition at line 8337 of file context.cpp.

Referenced by graph().

DotNode* InheritanceGraphContext::Private::m_node
private

Definition at line 8336 of file context.cpp.

Referenced by graph().

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

Definition at line 8338 of file context.cpp.

Referenced by get(), and Private().


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