14 AIRINV_ServiceContext::AIRINV_ServiceContext()
15 : _ownStdairService (false), _ownSEVMGRService (true),
20 AIRINV_ServiceContext::
21 AIRINV_ServiceContext (
const stdair::AirlineCode_T& iAirlineCode)
22 : _ownStdairService (false), _ownSEVMGRService (true),
23 _airlineCode (iAirlineCode) {
27 AIRINV_ServiceContext::AIRINV_ServiceContext (
const AIRINV_ServiceContext&)
28 : _ownStdairService (false), _ownSEVMGRService (true),
33 AIRINV_ServiceContext::~AIRINV_ServiceContext() {
37 const std::string AIRINV_ServiceContext::shortDisplay()
const {
38 std::ostringstream oStr;
39 oStr <<
"AIRINV_ServiceContext[" << _airlineCode
40 <<
"] -- Owns StdAir service: " << _ownStdairService;
45 const std::string AIRINV_ServiceContext::display()
const {
46 std::ostringstream oStr;
47 oStr << shortDisplay();
52 const std::string AIRINV_ServiceContext::describe()
const {
53 return shortDisplay();
57 void AIRINV_ServiceContext::reset() {
64 _stdairService.reset();
70 _airracService.reset();
73 _sevmgrService.reset();