[KLF Application][KLF Tools][KLF Backend][KLF Home]
KLatexFormula Project
Public Member Functions | Public Attributes | List of all members
KLFLibModelCache::Node Struct Reference

#include <klflibview_p.h>

Inheritance diagram for KLFLibModelCache::Node:
Inheritance graph
[legend]
Collaboration diagram for KLFLibModelCache::Node:
Collaboration graph
[legend]

Public Member Functions

 Node ()
 
 Node (ItemKind k)
 
 Node (const Node &other)
 
virtual ~Node ()
 

Public Attributes

bool allocated
 Whether this node is used. when false, this Node object is just unused memory space in the cache list. More...
 
ItemKind kind
 
NodeId parent
 
QList< NodeIdchildren
 
bool allChildrenFetched
 TRUE if all the children of this node have been fetched and stored into children, FALSE if possibly there may be more children, we may need to query the resource. More...
 

Detailed Description

Definition at line 118 of file klflibview_p.h.

Constructor & Destructor Documentation

KLFLibModelCache::Node::Node ( )
inline

Definition at line 119 of file klflibview_p.h.

KLFLibModelCache::Node::Node ( ItemKind  k)
inline

Definition at line 120 of file klflibview_p.h.

KLFLibModelCache::Node::Node ( const Node other)
inline

Definition at line 122 of file klflibview_p.h.

virtual KLFLibModelCache::Node::~Node ( )
inlinevirtual

Definition at line 124 of file klflibview_p.h.

Member Data Documentation

bool KLFLibModelCache::Node::allChildrenFetched

TRUE if all the children of this node have been fetched and stored into children, FALSE if possibly there may be more children, we may need to query the resource.

Definition at line 132 of file klflibview_p.h.

Referenced by KLFLibModelCache::cacheFindCategoryLabel(), KLFLibModelCache::canFetchMore(), KLFLibModelCache::fetchMore(), KLFLibModel::hasChildren(), KLFLibModelCache::lastNode(), KLFLibModelCache::nextNode(), operator<<(), and KLFLibModelCache::rebuildCache().

bool KLFLibModelCache::Node::allocated

Whether this node is used. when false, this Node object is just unused memory space in the cache list.

Definition at line 126 of file klflibview_p.h.

QList<NodeId> KLFLibModelCache::Node::children
ItemKind KLFLibModelCache::Node::kind

Definition at line 127 of file klflibview_p.h.

Referenced by KLFLibModelCache::fetchMore(), and operator<<().

NodeId KLFLibModelCache::Node::parent

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

Generated by doxygen 1.8.11