rlog: rloglocation.h Source File

Main Page | Modules | Class Hierarchy | Class List | File List | Class Members | Related Pages

# rloglocation.h

    00001 /*****************************************************************************
    00002  * Author:   Valient Gough <vgough@pobox.com>
    00003  *
    00004  *****************************************************************************
    00005  * Copyright (c) 2004, Valient Gough
    00006  *
    00007  * This library is free software; you can distribute it and/or modify it under
    00008  * the terms of the GNU Lesser General Public License (LGPL), as published by
    00009  * the Free Software Foundation; either version 2.1 of the License, or (at your
    00010  * option) any later version.
    00011  *
    00012  * This library is distributed in the hope that it will be useful, but WITHOUT
    00013  * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
    00014  * FITNESS FOR A PARTICULAR PURPOSE.  See the LGPL in the file COPYING for more
    00015  * details.
    00016  *
    00017  */
    00018
    00019
    00020 #ifndef _rloglocation_incl_
    00021 #define _rloglocation_incl_
    00022
    00023 #include <string>
    00024
    00025 #include <rlog/rlog.h>
    00026 #include <rlog/RLogNode.h>
    00027
    00028 namespace rlog
    00029 {
    00030     // documentation in implementation file
    00031     class RLOG_DECL FileNode : public RLogNode
    00032     {
    00033     public:
    00034         FileNode(const char *componentName, const char *fileName);
    00035         FileNode(const char *fileName);
    00036         virtual ~FileNode();
    00037
    00038         static FileNode *Lookup( const char *componentName,
    00039                                  const char *fileName );
    00040         static FileNode *Lookup( const char *fileName );
    00041
    00042         std::string componentName;
    00043         std::string fileName;
    00044
    00045         RLOG_NO_COPY(FileNode);
    00046     };
    00047
    00048 }
    00049
    00050
    00051 #endif
    00052