[KLF Application][KLF Tools][KLF Backend][KLF Home]
KLatexFormula Project

KLFLibModelCache::NodeId Struct Reference

#include <klflibview_p.h>

List of all members.

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

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

bool KLFLibModelCache::NodeId::isRoot (  )  const [inline]

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!=().

bool KLFLibModelCache::NodeId::operator!= ( const NodeId &  other  )  const [inline]

Definition at line 103 of file klflibview_p.h.

References operator==().

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().

static NodeId KLFLibModelCache::NodeId::fromUID ( UIDType  uid  )  [inline, static]

static NodeId KLFLibModelCache::NodeId::rootNode (  )  [inline, static]


Member Data Documentation


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

Generated by doxygen 1.5.6