#include <stdint.h>#include <vector>#include <omnetpp.h>Go to the source code of this file.
Classes | |
| class | AbstractNcsNodeInfo |
| class | EuclideanNcsNodeInfo |
| class | GnpNpsCoordsInfo |
| class | SimpleCoordsInfo |
| class | VivaldiCoordsInfo |
| class | AbstractNcs |
Functions | |
| std::ostream & | operator<< (std::ostream &os, const GnpNpsCoordsInfo &info) |
| std::ostream & | operator<< (std::ostream &os, const SimpleCoordsInfo &info) |
| std::ostream & | operator<< (std::ostream &os, const VivaldiCoordsInfo &info) |
Definition in file CoordinateSystem.h.
| std::ostream& operator<< | ( | std::ostream & | os, | |
| const GnpNpsCoordsInfo & | info | |||
| ) |
Definition at line 72 of file CoordinateSystem.cc.
| std::ostream& operator<< | ( | std::ostream & | os, | |
| const VivaldiCoordsInfo & | info | |||
| ) |
Definition at line 142 of file CoordinateSystem.cc.
{
if (!info.getCoords().size()) throw cRuntimeError("dim = 0");
os << "< ";
uint8_t i;
for (i = 0; i < info.getCoords().size() - 1; ++i) {
os << info.getCoords(i) << ", ";
}
os << info.getCoords(i) << " >";
os << ", Err = " << info.getError();
if (info.getHeightVector() != -1.0)
os << ", HeightVec = " << info.getHeightVector();
return os;
}
| std::ostream& operator<< | ( | std::ostream & | os, | |
| const SimpleCoordsInfo & | info | |||
| ) |
1.7.1