BFLibCPP 0.1
CPP Library
Loading...
Searching...
No Matches
BF::Dictionary< K, V, S >::Entry Class Reference

#include <dictionary.hpp>

Inheritance diagram for BF::Dictionary< K, V, S >::Entry:
Collaboration diagram for BF::Dictionary< K, V, S >::Entry:

Public Member Functions

key () const
 
value () const
 
- Public Member Functions inherited from BF::Object
 Object ()
 
 Object (Object &obj)
 
virtual ~Object ()
 

Static Public Member Functions

static int Compare (Entry *a, Entry *b)
 
- Static Public Member Functions inherited from BF::Object
static void retain (Object *obj)
 
static void release (Object *obj)
 
static int retainCount (Object *obj)
 
static int retainCount (Object &obj)
 

Friends

class Dictionary< K, V, S >
 

Detailed Description

template<typename K, typename V, typename S = int>
class BF::Dictionary< K, V, S >::Entry

Holds an entry for value that can be located by key

Member Function Documentation

◆ Compare()

template<typename K , typename V , typename S = int>
static int BF::Dictionary< K, V, S >::Entry::Compare ( Entry * a,
Entry * b )
inlinestatic

Used for tree to organize

a == b -> 0 a < b -> -1 a > b -> 1

◆ key()

template<typename K , typename V , typename S = int>
K BF::Dictionary< K, V, S >::Entry::key ( ) const
inline

◆ value()

template<typename K , typename V , typename S = int>
V BF::Dictionary< K, V, S >::Entry::value ( ) const
inline

Friends And Related Symbol Documentation

◆ Dictionary< K, V, S >

template<typename K , typename V , typename S = int>
friend class Dictionary< K, V, S >
friend

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