SEvMgr Logo  1.00.0
C++ Simulation-Oriented Discrete Event Management Library
 All Classes Namespaces Files Functions Variables Typedefs Friends Macros Pages
sevmgr_demo.cpp File Reference
#include <cassert>
#include <sstream>
#include <fstream>
#include <vector>
#include <list>
#include <string>
#include <boost/program_options.hpp>
#include <stdair/stdair_basic_types.hpp>
#include <stdair/basic/ProgressStatusSet.hpp>
#include <stdair/bom/EventStruct.hpp>
#include <stdair/bom/BomDisplay.hpp>
#include <stdair/service/Logger.hpp>
#include <stdair/bom/BookingRequestStruct.hpp>
#include <stdair/bom/BookingRequestTypes.hpp>
#include <sevmgr/SEVMGR_Service.hpp>
#include <sevmgr/config/sevmgr-paths.hpp>

Go to the source code of this file.

Functions

const stdair::Filename_T K_SEVMGR_DEFAULT_LOG_FILENAME ("sevmgr_demo.log")
int readConfiguration (int argc, char *argv[], stdair::Filename_T &ioLogFilename)
int main (int argc, char *argv[])

Variables

const int K_SEVMGR_EARLY_RETURN_STATUS = 99

Function Documentation

const stdair::Filename_T K_SEVMGR_DEFAULT_LOG_FILENAME ( "sevmgr_demo.log"  )

Default name and location for the log file.

Referenced by readConfiguration().

int readConfiguration ( int  argc,
char *  argv[],
stdair::Filename_T &  ioLogFilename 
)

Read and parse the command line options.

Definition at line 37 of file sevmgr_demo.cpp.

References K_SEVMGR_DEFAULT_LOG_FILENAME(), K_SEVMGR_EARLY_RETURN_STATUS, PACKAGE_NAME, PACKAGE_VERSION, and PREFIXDIR.

Referenced by main().


Variable Documentation

const int K_SEVMGR_EARLY_RETURN_STATUS = 99

Early return status (so that it can be differentiated from an error).

Definition at line 32 of file sevmgr_demo.cpp.

Referenced by main(), and readConfiguration().