41 lines
759 B
C++
Executable File
41 lines
759 B
C++
Executable File
/**
|
|
* @RDE_HEADER@
|
|
* TerrainProfileParameter
|
|
* $Id$
|
|
* $HeadURL$
|
|
* $Author$
|
|
*/
|
|
|
|
// Own
|
|
#include "terrain_profile_parameter.h"
|
|
#include "situation_map_utils.h"
|
|
|
|
|
|
//Qt
|
|
#include <QJsonDocument>
|
|
#include <QJsonObject>
|
|
#include <QJsonArray>
|
|
|
|
#include <sstream>
|
|
|
|
|
|
//----------------------------------------------------------------------------
|
|
namespace SituationMap
|
|
{
|
|
|
|
QString TerrainProfileParameter::toString() const
|
|
{
|
|
std::ostringstream stream;
|
|
stream << " m_coordinates = " << m_coordinates;
|
|
return QString::fromLatin1(stream.str().c_str());
|
|
}
|
|
|
|
std::ostream &operator<< (std::ostream &stream,
|
|
const SituationMap::TerrainProfileParameter &value)
|
|
{
|
|
return stream << value.toString();
|
|
}
|
|
|
|
} // namespace SituationMap
|
|
|