TraDemGen Logo  1.00.0
C++ Simulated Travel Demand Generation Library
 All Classes Namespaces Files Functions Variables Typedefs Friends Pages
TRADEMGEN::DemandDistribution Struct Reference

Class modeling the distribution of a demand type. More...

#include <trademgen/basic/DemandDistribution.hpp>

+ Inheritance diagram for TRADEMGEN::DemandDistribution:

List of all members.

Public Member Functions

 DemandDistribution (const stdair::NbOfRequests_T &iMean, const stdair::StdDevValue_T &iStdDev)
 DemandDistribution ()
 DemandDistribution (const DemandDistribution &)
 ~DemandDistribution ()
void fromStream (std::istream &ioIn)
const std::string describe () const
std::string display () const

Public Attributes

stdair::NbOfRequests_T _meanNumberOfRequests
stdair::StdDevValue_T _stdDevNumberOfRequests

Detailed Description

Class modeling the distribution of a demand type.

Definition at line 20 of file DemandDistribution.hpp.

Constructor & Destructor Documentation

TRADEMGEN::DemandDistribution::DemandDistribution ( const stdair::NbOfRequests_T &  iMean,
const stdair::StdDevValue_T &  iStdDev 


Definition at line 15 of file DemandDistribution.cpp.

TRADEMGEN::DemandDistribution::DemandDistribution ( )

Default constructor.

Definition at line 22 of file DemandDistribution.cpp.

TRADEMGEN::DemandDistribution::DemandDistribution ( const DemandDistribution iDemandDistribution)

Copy constructor.

Definition at line 31 of file DemandDistribution.cpp.

TRADEMGEN::DemandDistribution::~DemandDistribution ( )


Definition at line 26 of file DemandDistribution.cpp.

Member Function Documentation

void TRADEMGEN::DemandDistribution::fromStream ( std::istream &  ioIn)

Read a Business Object from an input stream.

istream&the input stream.

Definition at line 37 of file DemandDistribution.cpp.

const std::string TRADEMGEN::DemandDistribution::describe ( ) const

Display of the structure.

Definition at line 41 of file DemandDistribution.cpp.

References _meanNumberOfRequests, and _stdDevNumberOfRequests.

Referenced by display(), and TRADEMGEN::DemandStream::display().

std::string TRADEMGEN::DemandDistribution::display ( ) const

Display demand distribution.

Definition at line 49 of file DemandDistribution.cpp.

References describe().

Member Data Documentation

stdair::NbOfRequests_T TRADEMGEN::DemandDistribution::_meanNumberOfRequests
stdair::StdDevValue_T TRADEMGEN::DemandDistribution::_stdDevNumberOfRequests

Standard deviation of number of requests.

Definition at line 72 of file DemandDistribution.hpp.

Referenced by describe(), and TRADEMGEN::DemandStream::getStdDevNumberOfRequests().

The documentation for this struct was generated from the following files: