My Project
Public Member Functions | List of all members
Nego Class Reference

Clase Nego Un Nego es un vuelo concreto. Contiente Origen y Destino, unas Plazas, una Fecha concreta y pertenece a un único Owner. More...

#include <nego.hpp>

Public Member Functions

 Nego ()
 
 Nego (std::string origen, std::string destino, std::size_t numeroPlazas, Fecha fecha)
 
void setNego (std::string origen, std::string destino, std::size_t numeroPlazas, Fecha fecha)
 
void setOrigen (std::string origen)
 
void setDestino (std::string destino)
 
void setNumeroPlazas (std::size_t numeroPlazas)
 
void setFecha (Fecha fecha)
 
std::string getOrigen ()
 
std::string getDestino ()
 
std::size_t getNumeroPlazas ()
 
Fecha getFecha ()
 
void devolverPlazas (std::size_t asientos)
 devolverPlazas Al borrar una peticion (o una oficina con peticiones), es necesario devolver esas plazas que fueron asignadas al Nego que corresponda.
 

Detailed Description

Clase Nego Un Nego es un vuelo concreto. Contiente Origen y Destino, unas Plazas, una Fecha concreta y pertenece a un único Owner.

Copyright 2015 ViajeFacil

Author
Hugo Ferrando Seage
David Jiménez Cuevas
Estefanía Ortego García

Los negos: una compañía crea negos, son los encargados de gestionar los paquetes y billetes aéreos, que le darán a los owners y estos a las oficinas correspondientes.

Constructor & Destructor Documentation

Nego::Nego ( )

Copyright 2015 ViajeFacil

Author
Hugo Ferrando Seage
David Jiménez Cuevas
Estefanía Ortego García

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