# logloguser.h

Go to the documentation of this file.

    00001 // Module:  Log4CPLUS
    00002 // File:    logloguser.h
    00003 // Created: 6/2003
    00004 // Author:  Tad E. Smith
    00005 //
    00006 //
    00007 // Copyright (C) Tad E. Smith  All rights reserved.
    00008 //
    00009 // This software is published under the terms of the Apache Software
    00010 // License version 1.1, a copy of which has been included with this
    00011 // distribution in the LICENSE.APL file.
    00012 //
    00013
    00016 #ifndef _LOG4CPLUS_HELPERS_LOGLOG_USER
    00017 #define _LOG4CPLUS_HELPERS_LOGLOG_USER
    00018
    00019 #include <log4cplus/config.h>
    00020
    00021
    00022 namespace log4cplus {
    00023     namespace helpers {
    00024         // forward declarations
    00025         class LogLog;
    00026
    00032         class LOG4CPLUS_EXPORT LogLogUser {
    00033         public:
    00034           // ctor and dtor
    00035             LogLogUser();
    00036             LogLogUser(const LogLogUser&);
    00037             virtual ~LogLogUser();
    00038
    00039           // public methods
    00040             LogLog& getLogLog() const;
    00041
    00042           // operators
    00043             LogLogUser& operator=(const LogLogUser& rhs);
    00044
    00045         private:
    00046           // Data
    00047             void* loglogRef;
    00048         };
    00049
    00050     } // end namespace helpers
    00051 } // end namespace log4cplus
    00052
    00053
    00054 #endif // _LOG4CPLUS_HELPERS_LOGLOG_USER
    00055