Apache Log4cxx: class.h Source File (original) (raw)
Go to the documentation of this file.
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18#ifndef _LOG4CXX_HELPERS_CLASS_H
19#define _LOG4CXX_HELPERS_CLASS_H
20
22#include
23
24namespace LOG4CXX_NS
25{
26namespace helpers
27{
28class Object;
29
30
32{
33 public:
36#if LOG4CXX_ABI_VERSION <= 15
37 [[ deprecated( "Use getName() instead" ) ]]
39#endif
43
44 protected:
46
47 private:
50 typedef std::map<LogString, const Class*> ClassMap;
51 static ClassMap& getRegistry();
52 static void registerClasses();
53};
54}
55}
56
57#endif
virtual LogString getName() const =0
LogString toString() const
static const Class & forName(const LogString &className)
static bool registerClass(const Class &newClass)
virtual Object * newInstance() const
base class for java-like objects.
Definition: object.h:106
std::basic_string< logchar > LogString
Definition: logstring.h:60