My Project
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Classes | Public Member Functions | Private Attributes | Static Private Attributes | List of all members
ClassHierarchyContext::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
 
DotGfxHierarchyTablegetHierarchy () const
 
TemplateVariant diagrams () const
 
TemplateVariant title () const
 
TemplateVariant maxDepth () const
 
TemplateVariant preferredDepth () const
 

Private Attributes

SharedPtr< NestingContextm_classTree
 
Cachable m_cache
 

Static Private Attributes

static PropertyMapper
< ClassHierarchyContext::Private
s_inst
 

Detailed Description

Definition at line 5929 of file context.cpp.

Constructor & Destructor Documentation

ClassHierarchyContext::Private::Private ( )
inline

Member Function Documentation

TemplateVariant ClassHierarchyContext::Private::diagrams ( ) const
inline

Definition at line 5987 of file context.cpp.

References TemplateList::alloc(), InheritanceGraphContext::alloc(), TemplateList::append(), ClassHierarchyContext::Private::Cachable::diagrams, SharedPtr< T >::get(), getHierarchy(), m_cache, SharedPtr< T >::reset(), and DotGfxHierarchyTable::subGraphs().

Referenced by Private().

{
{
if (hierarchy->subGraphs())
{
int id=0;
QListIterator<DotNode> li(*hierarchy->subGraphs());
DotNode *n;
for (li.toFirst();(n=li.current());++li)
{
diagrams->append(InheritanceGraphContext::alloc(hierarchy,n,id++));
}
}
m_cache.diagrams.reset(diagrams);
}
return m_cache.diagrams.get();
}
TemplateVariant ClassHierarchyContext::Private::fileName ( ) const
inline

Definition at line 5963 of file context.cpp.

Referenced by Private().

{
return "hierarchy";
}
TemplateVariant ClassHierarchyContext::Private::get ( const char *  n) const
inline

Definition at line 5955 of file context.cpp.

References s_inst.

Referenced by ClassHierarchyContext::get().

{
return s_inst.get(this,n);
}
DotGfxHierarchyTable* ClassHierarchyContext::Private::getHierarchy ( ) const
inline
TemplateVariant ClassHierarchyContext::Private::highlight ( ) const
inline

Definition at line 5971 of file context.cpp.

Referenced by Private().

{
return "classes";
}
TemplateVariant ClassHierarchyContext::Private::maxDepth ( ) const
inline
TemplateVariant ClassHierarchyContext::Private::preferredDepth ( ) const
inline
TemplateVariant ClassHierarchyContext::Private::relPath ( ) const
inline

Definition at line 5967 of file context.cpp.

Referenced by Private().

{
return "";
}
TemplateVariant ClassHierarchyContext::Private::subhighlight ( ) const
inline

Definition at line 5975 of file context.cpp.

Referenced by Private().

{
return "classhierarchy";
}
TemplateVariant ClassHierarchyContext::Private::title ( ) const
inline

Definition at line 6007 of file context.cpp.

References Config_getBool, theTranslator, Translator::trClassHierarchy(), and VhdlDocGen::trDesignUnitHierarchy().

Referenced by Private().

{
static bool vhdlOpt = Config_getBool(OPTIMIZE_OUTPUT_VHDL);
if (vhdlOpt)
{
}
else
{
}
}
TemplateVariant ClassHierarchyContext::Private::tree ( ) const
inline

Definition at line 5959 of file context.cpp.

References SharedPtr< T >::get(), and m_classTree.

Referenced by Private().

{
return m_classTree.get();
}

Member Data Documentation

Cachable ClassHierarchyContext::Private::m_cache
mutableprivate

Definition at line 6050 of file context.cpp.

Referenced by diagrams(), getHierarchy(), maxDepth(), and preferredDepth().

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

Definition at line 6038 of file context.cpp.

Referenced by maxDepth(), preferredDepth(), Private(), and tree().

PropertyMapper< ClassHierarchyContext::Private > ClassHierarchyContext::Private::s_inst
staticprivate

Definition at line 6051 of file context.cpp.

Referenced by get(), and Private().


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