TraDemGen Logo  1.00.8
C++ Simulated Travel Demand Generation Library
TRADEMGEN::BomDisplay Class Reference

Utility class to display TraDemGen objects with a pretty format. More...

#include <trademgen/bom/BomDisplay.hpp>

Static Public Member Functions

static std::string csvDisplay (const SEVMGR::SEVMGR_ServicePtr_T)
 
static void csvDisplay (std::ostream &, const DemandStream &)
 

Detailed Description

Utility class to display TraDemGen objects with a pretty format.

Definition at line 23 of file BomDisplay.hpp.

Member Function Documentation

◆ csvDisplay() [1/2]

std::string TRADEMGEN::BomDisplay::csvDisplay ( const SEVMGR::SEVMGR_ServicePtr_T  iSEVMGR_ServicePtr)
static

Recursively display (dump in the underlying output log stream) the objects of the BOM tree.

Parameters
std::ostream&Output stream in which the BOM tree should be logged/dumped.
constSEVMGR::SEVMGR_ServicePtr_T Pointer on the SEvMgr service handler to display the queue key and to obtain the demand stream list.

Definition at line 45 of file BomDisplay.cpp.

References csvDisplay().

Referenced by TRADEMGEN::TRADEMGEN_Service::csvDisplay(), and csvDisplay().

◆ csvDisplay() [2/2]

void TRADEMGEN::BomDisplay::csvDisplay ( std::ostream &  oStream,
const DemandStream iDemandStream 
)
static

Recursively display (dump in the underlying output log stream) the objects of the BOM tree.

Parameters
std::ostream&Output stream in which the BOM tree should be logged/dumped.
constDemandStream& Root of the BOM tree to be displayed.

Definition at line 87 of file BomDisplay.cpp.

References TRADEMGEN::DemandStream::display().


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