39 lines
924 B
C++
39 lines
924 B
C++
#ifndef _OWLPS_POSITIONING_REFERENCEPOINT_HH_
|
|
#define _OWLPS_POSITIONING_REFERENCEPOINT_HH_
|
|
|
|
class Area ;
|
|
class Waypoint ;
|
|
|
|
#include <iostream>
|
|
#include <vector>
|
|
|
|
class Building
|
|
{
|
|
protected:
|
|
std::string name ;
|
|
std::vector<Area*> areas ;
|
|
std::vector<Waypoint*> waypoints ;
|
|
|
|
public :
|
|
Building(const std::string &_name = "Unnamed building") ;
|
|
Building(const Building &b) ;
|
|
|
|
~Building(void) ;
|
|
|
|
std::string get_name(void) const ;
|
|
std::vector<Area*> get_areas(void) const ;
|
|
std::vector<Waypoint*> get_waypoints(void) const ;
|
|
|
|
void set_name(const std::string &_name) ;
|
|
void add_area(const Area *a) ;
|
|
void add_waypoint(const Waypoint *wp) ;
|
|
|
|
Building operator=(const Building &p) ;
|
|
bool operator==(const Building &p) const ;
|
|
inline bool operator!=(const Building &p) const ;
|
|
|
|
friend std::ostream& operator<<(std::ostream &os, const Building &b) ;
|
|
} ;
|
|
|
|
#endif // _OWLPS_POSITIONING_REFERENCEPOINT_HH_
|