numberanalyzer-gw.h

Go to the documentation of this file.
00001 // OSB library ********************************************* -*- C++ -*-
00008 /*
00009   AUTHOR(S): Tang Boon Leong (tbl)
00010 
00011   RCS information
00012    $Name: OSB_060808 $
00013    $Revision: 1.10 $
00014 
00015   License
00016    OSB rating and billing library for communication networks
00017    Copyright (C) 2004, 2005, 2006  OSB systems
00018 
00019    This file may be distributed and/or modify under the terms of the
00020    GNU General Public License (GPL) as published by the Free Software
00021    Foundation which is provided in the file LICENSE.GPL included in the
00022    packaging of this file.
00023 
00024    The file is distributed in the hope that it will be useful, but WITHOUT
00025    ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
00026    FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
00027    for more details.
00028 
00029    Holders of a OSB Commercial License may use this file under the terms
00030    and conditions of this commercial license.
00031  */
00032 #ifndef _NUMBERANALYZERGW_H_
00033 #define _NUMBERANALYZERGW_H_
00034 
00035 // *********************************************************************
00036 // included header files
00037 // + standard includes
00038 
00039 // + local headers
00040 #include "numberanalyzerfactory.h"
00041 
00042 // ************************************************************************
00043 // namespace extensions
00044 namespace OSB_DB {
00045 
00046 // *********************************************************************
00047 // class definitions
00048 
00049     // *****************************************************************
00050     // NumberAnalyzerGw
00057     class NumberAnalyzerGw {
00059         friend class OSB_LIB::NumberAnalyzer;
00060 
00061     public:
00074         long fetch(
00075             const Session&                     session,
00076                   OSB_LIB::NumberAnalyzerList& numberAnalyzers
00077         ) const;
00078 
00094         bool fetch(
00095             const Session&                 session,
00096                   OSB_LIB::NumberAnalyzer& numberAnalyzer
00097         ) const;
00098 
00099     private:
00116         void insNumberAnalyzer(
00117             const Session&                 session,
00118                   OSB_LIB::NumberAnalyzer& numberAnalyzer
00119         ) const;
00120 
00138         void delNumberAnalyzer(
00139             const Session&                 session,
00140                   OSB_LIB::NumberAnalyzer& numberAnalyzer
00141         ) const;
00142 
00158         void updNumberAnalyzer(
00159             const Session&                 session,
00160                   OSB_LIB::NumberAnalyzer& numberAnalyzer
00161         ) const;
00162     };
00163 
00164 // *********************************************************************
00165 // inline definitions
00166 
00167 }                                       // namespace OSB_DB
00168 #endif                                  // #ifndef _NUMBERANALYZERGW_H_

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