configuration-gw.h

Go to the documentation of this file.
00001 // OSB library ************************************************ -*- C++ -*-
00010 /*
00011   AUTHOR(S): Lilian Qin Lan (lan)
00012 
00013   RCS information
00014    $Name: OSB_060808 $
00015    $Revision: 1.24.2.1 $
00016 
00017   License
00018    OSB rating and billing library for communication networks
00019    Copyright (C) 2004, 2005, 2006  OSB systems
00020 
00021    This file may be distributed and/or modify under the terms of the
00022    GNU General Public License (GPL) as published by the Free Software
00023    Foundation which is provided in the file LICENSE.GPL included in the
00024    packaging of this file.
00025 
00026    The file is distributed in the hope that it will be useful, but WITHOUT
00027    ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
00028    FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
00029    for more details.
00030 
00031    Holders of a OSB Commercial License may use this file under the terms
00032    and conditions of this commercial license.
00033  */
00034 #ifndef _CONFIGURATIONGW_H_
00035 #define _CONFIGURATIONGW_H_
00036 
00037 // ************************************************************************
00038 // included header files
00039 // + standard includes
00040 
00041 // + standard includes
00042 #include <list>
00043 #include <string>
00044 
00045 // + local headers
00046 #include "osbid.h"
00047 #include "configuration.h"
00048 
00049 // ************************************************************************
00050 // class declarations
00051 namespace OSB_DB {
00052     class Session;
00053 }
00054 
00055 // ************************************************************************
00056 // namespace extensions
00057 namespace OSB_DB {
00058 
00059 // ************************************************************************
00060 // class definitions
00061 
00062     // ********************************************************************
00063     // class ConfigurationGw
00067     class ConfigurationGw {
00068     public:
00078         bool fetch(
00079             const Session&                session,
00080                   OSB_LIB::Configuration& config
00081         );
00088         void fetch(
00089             const Session&                           session,
00090                   std::list<OSB_LIB::Configuration>& dest
00091         );
00092 
00104         void fetch(
00105             const Session&                     session,
00106             const OSB_LIB::ModuleId            module,
00107                   OSB_LIB::ModuleConfig::List& dest
00108         );
00109     };
00110 }
00111 #endif                                  // #ifndef _CONFIGURATIONGW_H_

Generated on Sat Sep 2 14:06:32 2006 for OSB Library by  doxygen 1.4.7