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

#include <klflibview_p.h>

Public Member Functions

 NodeId (ItemKind k=ItemKind(EntryKind), IndexType i=-1)
 
bool valid () const
 
bool isRoot () const
 
bool operator== (const NodeId &other) const
 
bool operator!= (const NodeId &other) const
 
UIDType universalId () const
 

Static Public Member Functions

static NodeId fromUID (UIDType uid)
 
static NodeId rootNode ()
 

Public Attributes

ItemKind kind
 
IndexType index
 

Detailed Description

Definition at line 94 of file klflibview_p.h.

Constructor & Destructor Documentation

KLFLibModelCache::NodeId::NodeId ( ItemKind  k = ItemKind(EntryKind),
IndexType  i = -1 
)
inline

Definition at line 95 of file klflibview_p.h.

Referenced by fromUID(), and rootNode().

Member Function Documentation

static NodeId KLFLibModelCache::NodeId::fromUID ( UIDType  uid)
inlinestatic
bool KLFLibModelCache::NodeId::isRoot ( ) const
inline
bool KLFLibModelCache::NodeId::operator!= ( const NodeId other) const
inline

Definition at line 103 of file klflibview_p.h.

References operator==().

bool KLFLibModelCache::NodeId::operator== ( const NodeId other) const
inline

Definition at line 100 of file klflibview_p.h.

References index, and kind.

Referenced by operator!=().

static NodeId KLFLibModelCache::NodeId::rootNode ( )
inlinestatic
UIDType KLFLibModelCache::NodeId::universalId ( ) const
inline

Definition at line 106 of file klflibview_p.h.

References index, kind, and KLFLibModelCache::UIDKindShift.

Referenced by KLFLibModelCache::createIndexFromId().

bool KLFLibModelCache::NodeId::valid ( ) const
inline

Member Data Documentation

IndexType KLFLibModelCache::NodeId::index
ItemKind KLFLibModelCache::NodeId::kind

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

Generated by doxygen 1.8.6