RMOL Logo Get Revenue Management Optimisation Library at SourceForge.net. Fast, secure and Free Open Source software downloads

RMOL_Types.hpp

Go to the documentation of this file.
00001 #ifndef __RMOL_RMOL_TYPES_HPP
00002 #define __RMOL_RMOL_TYPES_HPP
00003 
00004 // //////////////////////////////////////////////////////////////////////
00005 // Import section
00006 // //////////////////////////////////////////////////////////////////////
00007 // STL
00008 #include <vector>
00009 #include <list>
00010 
00011 namespace RMOL {
00012 
00013    // ///////// Exceptions ///////////
00014   class RootException : public std::exception {
00015   };
00016 
00017   class FileNotFoundException : public RootException {
00018   };
00019   
00020   class NonInitialisedServiceException : public RootException {
00021   };
00022 
00023   class MemoryAllocationException : public RootException {
00024   };
00025 
00026   class ObjectNotFoundException : public RootException {
00027   };
00028 
00029   class DocumentNotFoundException : public RootException {
00030   };
00031 
00032 
00033   // /////////////// Log /////////////
00035   namespace LOG {
00036     typedef enum {
00037       CRITICAL = 0,
00038       ERROR,
00039       NOTIFICATION,
00040       WARNING,
00041       DEBUG,
00042       VERBOSE,
00043       LAST_VALUE
00044     } EN_LogLevel;
00045   }
00046 
00047   // //////// Type definitions /////////
00050   typedef double ResourceCapacity_T;
00051 
00054   typedef double BookingLimit_T;
00055 
00058   typedef std::vector<double> BidPriceVector_T;
00059 
00061   typedef std::list<double> EmsrValueList_T;
00062 
00065   typedef std::vector<double> BookingLimitVector_T;
00066 
00067 }
00068 #endif // __RMOL_RMOL_TYPES_HPP
SourceForge Logo

Generated on Tue Apr 14 17:57:51 2009 for RMOL by Doxygen 1.5.8