rpevaltype.h

Go to the documentation of this file.
00001 // OSB library ************************************************ -*- C++ -*-
00007 /*
00008   AUTHOR(S): Stephan Broennimann (vb)
00009 
00010   RCS information
00011    $Name: OSB_060808 $
00012    $Revision: 1.7.2.1 $
00013 
00014   License
00015    OSB rating and billing library for communication networks
00016    Copyright (C) 2004, 2005, 2006  OSB systems
00017 
00018    This file may be distributed and/or modify under the terms of the
00019    GNU General Public License (GPL) as published by the Free Software
00020    Foundation which is provided in the file LICENSE.GPL included in the
00021    packaging of this file.
00022 
00023    The file is distributed in the hope that it will be useful, but WITHOUT
00024    ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
00025    FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
00026    for more details.
00027 
00028    Holders of a OSB Commercial License may use this file under the terms
00029    and conditions of this commercial license.
00030  */
00031 #ifndef _RPEVALTYPE_H_
00032 #define _RPEVALTYPE_H_
00033 
00034 // ************************************************************************
00035 // included header files
00036 // + standard includes
00037 
00038 // + libraries
00039 
00040 // + local headers
00041 #include "rpeval.h"
00042 
00043 // + class declarations
00044 
00045 // ************************************************************************
00046 // namespace extensions
00047 namespace OSB_LIB {
00048 
00049 // ************************************************************************
00050 // forward declarations
00051 
00052 // ************************************************************************
00053 // type definitions
00054 
00055 // ************************************************************************
00056 // class definitions
00057 
00067     struct RpEvalType : public RatedPartyEval::Type {
00071         enum Type {
00072             rpeMinType      = 1,        
00073             rpeFixedTs      = 1,        
00074             rpeServedNwAddr = 2,        
00075             rpeServedImsi   = 3,        
00076             rpeInTrunk      = 4,        
00077             rpeOutTrunk     = 5,        
00078             rpeUserType     = 128,      
00079             rpeMaxType      = 255       
00080         };
00082         RpEvalType(
00083             const RatedPartyEval::Type& type = RatedPartyEval::Type()
00084         );
00086         RpEvalType(Type type);
00087 
00089         operator Type() const;
00090 /* wait until needed
00091  *      //! Compare against product item type.
00092  *      bool operator==(const RatedPartyEval::Type& rhs) const;
00093  */
00094     };                                  // struct RpEvalType
00095 
00096 // ************************************************************************
00097 // free functions
00103 /* wait until needed
00104  *  bool operator==(
00105  *      const RatedPartyEval::Type& lhs,
00106  *      const RpEvalType&           rhs
00107  *  );
00108  */
00109 
00110 }                                       // namespace OSB_LIB
00111 
00112 // ************************************************************************
00113 // inline definitions
00114 namespace OSB_LIB {
00115 }                                       // namespace OSB_LIB
00116 #endif                                  // #ifndef _RPEVALTYPE_H_

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