OST_OBJMAP(3)
β¨ NAME β¨
ost::objMap< T, K, S > β bestie, this is a library function situation (section 3 of the manual, GNU CommonC++ flavor π ). What does it do? It's used to create and manage a hash index of objects through a common type. Periodt.
π SYNOPSIS π
#include <objmap.h>
πΈ Static Public Member Functions πΈ
static T * getObject (keystring key)β the one you call when you actually wanna find somebody in the index, no cap.
π¦ Protected Member Functions π¦
virtual unsigned keyIndex (K k)unsigned getSize (void)objMap (const K key)
π Protected Attributes π
T * objNextconst K objKey
β Static Protected Attributes β
static T * objIndex [S]
π DETAILED DESCRIPTION π
template<class T, class K, unsigned S>
class ost::objMap< T, K, S >
Okay so it's literally this: a template that is used to create and manage a hash index of objects through a common type. The objects can be examined, and a specific instance can be located by a hash key. Iconic behavior, honestly.
Author: David Sugar dyfet@gnutelephony.org
hash indexed searchable template chain. π«Ά
π₯ CONSTRUCTOR & DESTRUCTOR DOCUMENTATION π₯
template<class T , class K , unsigned S> ost::objMap< T, K, S >::objMap (const K key) [inline], [protected]
There it is. The constructor. Inline, protected, doing its little thing. We love a protected constructor, it's giving exclusive π
β¨ MEMBER FUNCTION DOCUMENTATION β¨
template<class T , class K , unsigned S> T * ost::objMap< T, K, S >::getObject (keystring key) [static]
template<class T , class K , unsigned S> unsigned ost::objMap< T, K, S >::getSize (void) [inline], [protected]
template<class T , class K , unsigned S> virtual unsigned ost::objMap< T, K, S >::keyIndex (K k) [inline], [protected], [virtual]
Referenced by ost::objMap< T, keystring, S >::objMap(). π¦
π MEMBER DATA DOCUMENTATION π
template<class T , class K , unsigned S> T * ost::objMap< T, K, S >::objIndex () [static], [protected]
Referenced by ost::objMap< T, keystring, S >::objMap().
template<class T , class K , unsigned S> const K ost::objMap< T, K, S >::objKey [protected]
Referenced by ost::objMap< T, keystring, S >::objMap().
template<class T , class K , unsigned S> T* ost::objMap< T, K, S >::objNext [protected]
Referenced by ost::objMap< T, keystring, S >::objMap().
π AUTHOR π
Generated automatically by Doxygen for GNU CommonC++ from the source code. Not me writing this by hand, the robots did it, and honestly? Slay, robots. π€π
That's the whole page, bestie! π This one came out of the GNU CommonC++ library, generated on Sun Dec 27 2020, and it lives at ost::objMap< T, K, S >(3). Go forth and hash-index your objects, you absolute icon. πΈβ¨π¦
π¦ where this page comes from
- ubuntu jammy: libcommoncpp2-doc 1.8.1-10
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms