TraDemGen Logo  1.00.0
C++ Simulated Travel Demand Generation Library
 All Classes Namespaces Files Functions Variables Typedefs Friends Pages
DemandDistribution.hpp
Go to the documentation of this file.
1 #ifndef __TRADEMGEN_BAS_DEMAND_DISTRIBUTION_HPP
2 #define __TRADEMGEN_BAS_DEMAND_DISTRIBUTION_HPP
3 
4 // //////////////////////////////////////////////////////////////////////
5 // Import section
6 // //////////////////////////////////////////////////////////////////////
7 // STL
8 #include <string>
9 // StdAir
10 #include <stdair/stdair_basic_types.hpp>
11 #include <stdair/basic/StructAbstract.hpp>
12 // TraDemGen
14 
15 namespace TRADEMGEN {
16 
20  struct DemandDistribution : public stdair::StructAbstract {
21  public:
22  // ////////// Constructors and destructors /////////
26  DemandDistribution (const stdair::NbOfRequests_T& iMean,
27  const stdair::StdDevValue_T& iStdDev);
40 
41 
42  public:
43  // ////////////// Display Support Methods //////////
49  void fromStream (std::istream& ioIn);
50 
54  const std::string describe() const;
55 
59  std::string display() const;
60 
61 
62  public:
63  // ////////// Attributes //////////
67  stdair::NbOfRequests_T _meanNumberOfRequests;
68 
72  stdair::StdDevValue_T _stdDevNumberOfRequests;
73  };
74 
75 }
76 #endif // __TRADEMGEN_BAS_DEMAND_DISTRIBUTION_HPP