logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

ost::objCounter< T > - Generic template class for creating classes which maintain an active count of the

Author

       Generated automatically by Doxygen for GNU CommonC++ from the source code.

GNU CommonC++                                    Sun Dec 27 2020                         ost::objCounter<T>(3)

Constructor & Destructor Documentation

template<classT>ost::objCounter<T>::objCounter()[inline],[protected]
       References ost::objCounter< T >::objCount.

   template<classT>virtualost::objCounter<T>::~objCounter()[inline],[protected],[virtual]
       References ost::objCounter< T >::objCount.

Detailed Description

template<classT>
       class ost::objCounter< T >" Generic template class for creating classes which maintain an active count of
       the number of instances currently in active use.

       This is a form of global reference count.

       Author
           David Sugar dyfet@gnutelephony.org

       Object instance global reference count.

Member Data Documentation

template<classT>unsignedost::objCounter<T>::objCount=0[static],[protected]
       Referenced by ost::objCounter< T >::objCounter(), and ost::objCounter< T >::~objCounter().

Name

       ost::objCounter< T > - Generic template class for creating classes which maintain an active count of the
       number of instances currently in active use.

Synopsis

       #include <objcount.h>

   ProtectedMemberFunctionsobjCounter ()
       virtual ~objCounter ()

   StaticProtectedAttributes
       static unsigned objCount = 0

See Also