backdatedobject-gw.h

Go to the documentation of this file.
00001 // OSB library ********************************************* -*- C++ -*-
00008 /*
00009   AUTHOR(S): Darryl Kang (dk)
00010 
00011   RCS information
00012    $Name: OSB_060808 $
00013    $Revision: 1.9 $
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 _BACKDATEDOBJECTGW_H_
00033 #define _BACKDATEDOBJECTGW_H_
00034 
00035 // *********************************************************************
00036 // included header files
00037 
00038 // + standard includes
00039 
00040 // + local headers
00041 #include "backdatedobject.h"
00042 
00043 // *********************************************************************
00044 // class declarations
00045 namespace OSB_LIB {
00046     class OsbException;
00047     class BackDatedObject;
00048 }
00049 
00050 namespace OSB_DB {
00051     class Session;
00052 }
00053 
00054 // ************************************************************************
00055 // namespace extensions
00056 namespace OSB_DB {
00057 
00058 // *********************************************************************
00059 // class definitions
00060 
00061     // class BackDatedObjectGw
00069     class BackDatedObjectGw {
00076         friend class OSB_LIB::BackDatedObject;
00077     public:
00085         long fetch(
00086             const Session&                   session,
00087                   OSB_LIB::BackDatedObjects& tos);
00088 
00089     private:
00097         bool insert(
00098             const Session&                  session,
00099             const OSB_LIB::BackDatedObject& to);
00100     };
00101 
00102 // *********************************************************************
00103 // inline definitions
00104 }                                       // namespace OSB_DB
00105 
00106 #endif                                  // #ifndef _BACKDATEDOBJECTGW_H_

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