Apache Log4cxx  Version 1.4.0
Loading...
Searching...
No Matches
log4cxx::helpers::SingletonHolder< T > Class Template Reference

Wraps any singleton object so it can be added to APRInitializer. More...

#include <singletonholder.h>

Inheritance diagram for log4cxx::helpers::SingletonHolder< T >:
log4cxx::helpers::Object

Public Member Functions

const helpers::ClassgetClass () const override
T & value ()
Public Member Functions inherited from log4cxx::helpers::Object
virtual ~Object ()
virtual bool instanceof (const Class &clazz) const =0
virtual const void * cast (const Class &clazz) const =0

Detailed Description

template<class T>
class log4cxx::helpers::SingletonHolder< T >

Wraps any singleton object so it can be added to APRInitializer.

Member Function Documentation

◆ getClass()

template<class T>
const helpers::Class & log4cxx::helpers::SingletonHolder< T >::getClass ( ) const
inlineoverridevirtual

◆ value()

template<class T>
T & log4cxx::helpers::SingletonHolder< T >::value ( )
inline

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