My Project
oficina.hpp
1 
13 #ifndef OFICINA_H
14 #define OFICINA_H
15 
16 #include <string>
17 #include "./pelVector.hpp"
18 #include "./peticion.hpp"
19 
20 class Oficina {
21  private:
22  std::string nombre_;
23  std::string pais_;
24  std::string continente_;
25  pel::Vector<Peticion> peticiones_;
26 
27  public:
28  Oficina();
29  Oficina(std::string nombre, std::string pais, std::string continente);
30  ~Oficina();
31 
32  void setNombre(std::string);
33  void setPais(std::string);
34  void setContinente(std::string);
35 
36  std::string getNombre();
37  std::string getPais();
38  std::string getContinente();
39  pel::Vector<Peticion> &getPeticiones();
40 
41  #ifdef CEREAL_CEREAL_HPP_
42  template<class Archive>
43  void serialize(Archive &archive) {
44  archive(cereal::make_nvp("Nombre", nombre_),
45  cereal::make_nvp("PaĆ­s", pais_),
46  cereal::make_nvp("Continente", continente_),
47  cereal::make_nvp("Peticiones", peticiones_));
48  }
49  #endif
50 };
51 
52 #endif // OFICINA_H
Definition: oficina.hpp:20
Oficina()
Definition: oficina.cpp:12