Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

ost_refobject(3) [debian man page]

ost::RefObject(3)					     Library Functions Manual						 ost::RefObject(3)

NAME
ost::RefObject - A reference countable object. SYNOPSIS
#include <object.h> Public Member Functions virtual void * getObject (void)=0 The actual object being managed can be returned by this method as a void and then recast to the actual type. Protected Member Functions RefObject () The constructor simply initializes the count. virtual ~RefObject () The destructor is called when the reference count returns to zero. Protected Attributes unsigned refCount Friends class RefPointer Detailed Description A reference countable object. This is used in association with smart pointers (RefPointer). Author: David Sugar dyfet@gnutelephony.org Object managed by smart pointer reference count. Constructor &; Destructor Documentation ost::RefObject::RefObject () [inline], [protected] The constructor simply initializes the count. virtual ost::RefObject::~RefObject () [protected], [virtual] The destructor is called when the reference count returns to zero. This is done through a virtual destructor. Member Function Documentation virtual void* ost::RefObject::getObject (void) [pure virtual] The actual object being managed can be returned by this method as a void and then recast to the actual type. This removes the need to dynamic cast from RefObject and the dependence on rtti this implies. Returns: underlying object being referenced. Friends And Related Function Documentation friend class RefPointer [friend] Member Data Documentation unsigned ost::RefObject::refCount [protected] Author Generated automatically by Doxygen for GNU CommonC++ from the source code. GNU CommonC++ Sat Jun 23 2012 ost::RefObject(3)

Check Out this Related Man Page

ost::objMap< T, K, S >(3)				     Library Functions Manual					 ost::objMap< T, K, S >(3)

NAME
ost::objMap< T, K, S > - Used to create and manage a hash index of objects through a common type. SYNOPSIS
#include <objmap.h> Static Public Member Functions static T * getObject (keystring key) Protected Member Functions virtual unsigned keyIndex (K k) unsigned getSize (void) objMap (const K key) Protected Attributes T * objNext const K objKey Static Protected Attributes static T * objIndex [S] Detailed Description template<class T, class K, unsigned S>class ost::objMap< T, K, S > Used to create and manage a hash index of objects through a common type. The objects can be examined and a specific instance located by a hash key. 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 Kkey) [inline], [protected] Member Function Documentation template<class T , class K , unsigned S> T * ost::objMap< T, K, S >::getObject (keystringkey) [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 (Kk) [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. GNU CommonC++ Sat Jun 23 2012 ost::objMap< T, K, S >(3)
Man Page