| Server IP : 216.92.14.13 / Your IP : 216.73.217.126 Web Server : Apache System : Linux vps4089.pairvps.com 5.15.0-190-generic #200-Ubuntu SMP Fri Aug 7 15:06:04 UTC 2026 x86_64 User : rmlac2fmr ( 1040637) PHP Version : 8.2.32 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : ON | Pkexec : ON Directory : /usr/include/log4cpp/ |
Upload File : |
#if !defined(h_738a42b1_1502_4483_948a_a69e7bbbee6a)
#define h_738a42b1_1502_4483_948a_a69e7bbbee6a
#include <string>
#include <map>
#include <memory>
#include "Portability.hh"
#include "Appender.hh"
#include "FactoryParams.hh"
namespace log4cpp
{
class LOG4CPP_EXPORT AppendersFactory
{
public:
typedef FactoryParams params_t;
typedef std::auto_ptr<Appender> (*create_function_t)(const params_t& params);
static AppendersFactory& getInstance();
void registerCreator(const std::string& class_name, create_function_t create_function);
std::auto_ptr<Appender> create(const std::string& class_name, const params_t& params);
bool registered(const std::string& class_name) const;
private:
AppendersFactory(){};
typedef std::map<std::string, create_function_t> creators_t;
typedef creators_t::const_iterator const_iterator;
creators_t creators_;
};
}
#endif // h_738a42b1_1502_4483_948a_a69e7bbbee6a