9 #ifndef CARMA_SERVICES_NEIGHBOR_H
10 #define CARMA_SERVICES_NEIGHBOR_H
37 const ::std::string getName()
const;
38 void setName( ::std::string name );
40 const ::std::string getReference()
const;
41 void setReference( ::std::string reference );
43 float getDistance()
const;
44 void setDistance(
const float distance );
46 float getAzimuth()
const;
47 void setAzimuth(
const float azimuth );
49 float getElevation()
const;
50 void setElevation(
const float elevation);
52 float getBrightness()
const;
53 void setBrightness(
const float brightness);
55 bool isOptical()
const;
56 void setOptical(
const bool optical );
58 double getMJD()
const ;
59 void setMJD(
const double mjd );
80 ::std::string reference_;
109 typedef ::std::set< carma::services::Neighbor > NeighborSet ;
114 ::std::ostream&
operator<<(::std::ostream & os,
121 #endif // CARMA_SERVICES_NEIGHBOR_H
Neighbor()
Default constructor.
Data on nearest neighbor to a source.
virtual ~Neighbor()
Destructor.
bool operator<(const Neighbor &neighbor) const
Compares distance member values.
std::ostream & operator<<(std::ostream &os, const carma::services::Angle &angle)
Define the << operator to allow, e.g.
bool operator==(const Neighbor &neighbor)
Compare two Neighbors.