155 lines
6.2 KiB
C++
Executable File
155 lines
6.2 KiB
C++
Executable File
/**
|
|
* @RDE_HEADER@
|
|
* Utilities for SituationMap
|
|
* $Id$
|
|
* $HeadURL$
|
|
* $Author$
|
|
*/
|
|
|
|
#pragma once
|
|
|
|
// Own
|
|
#include "situation_map_types.h"
|
|
|
|
|
|
// arcgis
|
|
#include <arcgis/SceneViewTypes.h> // SurfacePlacement
|
|
#include <arcgis/Error.h>
|
|
|
|
|
|
// Qt
|
|
#include <QPointF>
|
|
#include <QSize>
|
|
#include <QRectF>
|
|
|
|
|
|
#include <iosfwd>
|
|
|
|
// Forward:
|
|
namespace Esri
|
|
{
|
|
namespace ArcGISRuntime
|
|
{
|
|
enum class GraphicsRenderingMode;
|
|
enum class ElevationSourceType;
|
|
enum class LayerType;
|
|
enum class LicenseStatus;
|
|
enum class LoadStatus;
|
|
enum class NetworkCachePolicy;
|
|
enum class SceneLocationVisibility;
|
|
enum class ViewpointType;
|
|
enum class GeometryType;
|
|
class Viewpoint;
|
|
class Camera;
|
|
|
|
}
|
|
}
|
|
|
|
|
|
//----------------------------------------------------------------------------
|
|
|
|
SITUATIONMAP_EXPORT std::ostream &operator<< (std::ostream &stream,
|
|
const SituationMap::PositionCont &value);
|
|
|
|
|
|
SITUATIONMAP_EXPORT std::ostream &operator<< (std::ostream &stream,
|
|
const QColor &value);
|
|
|
|
namespace SituationMap
|
|
{
|
|
SITUATIONMAP_EXPORT std::ostream &operator<< (std::ostream &stream,
|
|
const SituationMap::DrawStatus value);
|
|
|
|
SITUATIONMAP_EXPORT std::ostream &operator<< (std::ostream &stream,
|
|
const SituationMap::GridType value);
|
|
|
|
SITUATIONMAP_EXPORT std::ostream &operator<< (std::ostream &stream,
|
|
const SituationMap::LayerType value);
|
|
|
|
SITUATIONMAP_EXPORT std::ostream &operator<< (std::ostream &stream,
|
|
const SituationMap::BasemapType value);
|
|
|
|
SITUATIONMAP_EXPORT std::ostream &operator<< (std::ostream &stream,
|
|
const SituationMap::RenderingMode value);
|
|
|
|
SITUATIONMAP_EXPORT std::ostream &operator<< (std::ostream &stream,
|
|
const SituationMap::SurfacePlacement value);
|
|
|
|
SITUATIONMAP_EXPORT std::ostream &operator<< (std::ostream &stream,
|
|
const SituationMap::EsriNetworkCacheSettings value);
|
|
|
|
}
|
|
|
|
SITUATIONMAP_EXPORT QString toString(const QRectF &value);
|
|
SITUATIONMAP_EXPORT QString toString(const QColor &value);
|
|
|
|
namespace SituationMap
|
|
{
|
|
SITUATIONMAP_EXPORT QString toString(SituationMap::DrawStatus value);
|
|
|
|
SITUATIONMAP_EXPORT QString toString(SituationMap::GridType value);
|
|
SITUATIONMAP_EXPORT bool fromString(SituationMap::GridType &gridType, const QString &str);
|
|
|
|
SITUATIONMAP_EXPORT QString toString(SituationMap::LayerType value);
|
|
SITUATIONMAP_EXPORT QString toString(SituationMap::BasemapType value);
|
|
|
|
SITUATIONMAP_EXPORT QString toString(SituationMap::RenderingMode value);
|
|
SITUATIONMAP_EXPORT bool fromString(SituationMap::RenderingMode &renderingMode, const QString &str);
|
|
|
|
SITUATIONMAP_EXPORT QString toString(SituationMap::SurfacePlacement value);
|
|
SITUATIONMAP_EXPORT bool fromString(SituationMap::SurfacePlacement &surfacePlacement, const QString &str);
|
|
|
|
SITUATIONMAP_EXPORT QString toDisplayString(SituationMap::BasemapType value);
|
|
|
|
}
|
|
|
|
namespace Esri
|
|
{
|
|
namespace ArcGISRuntime
|
|
{
|
|
SITUATIONMAP_EXPORT QString toString(const Esri::ArcGISRuntime::Error &value);
|
|
|
|
SITUATIONMAP_EXPORT QString toString(const Esri::ArcGISRuntime::ElevationSourceType value);
|
|
SITUATIONMAP_EXPORT QString toString(const Esri::ArcGISRuntime::GraphicsRenderingMode value);
|
|
SITUATIONMAP_EXPORT QString toString(const Esri::ArcGISRuntime::GeometryType value);
|
|
SITUATIONMAP_EXPORT QString toString(const Esri::ArcGISRuntime::LayerType value);
|
|
SITUATIONMAP_EXPORT QString toString(const Esri::ArcGISRuntime::LicenseStatus value);
|
|
SITUATIONMAP_EXPORT QString toString(const Esri::ArcGISRuntime::LoadStatus value);
|
|
#if ACRGIS_VERSION >= 0x640700 // 100.8.0 / Update 8
|
|
SITUATIONMAP_EXPORT QString toString(const Esri::ArcGISRuntime::NetworkCachePolicy value);
|
|
#endif // ACRGIS_VERSION
|
|
SITUATIONMAP_EXPORT QString toString(const Esri::ArcGISRuntime::SceneLocationVisibility value);
|
|
SITUATIONMAP_EXPORT QString toString(const Esri::ArcGISRuntime::SurfacePlacement value);
|
|
SITUATIONMAP_EXPORT QString toString(const Esri::ArcGISRuntime::ViewpointType value);
|
|
|
|
|
|
SITUATIONMAP_EXPORT std::ostream &operator<< (std::ostream &stream,
|
|
const Esri::ArcGISRuntime::Error &value);
|
|
|
|
SITUATIONMAP_EXPORT std::ostream &operator<< (std::ostream &stream,
|
|
const Esri::ArcGISRuntime::ElevationSourceType value);
|
|
SITUATIONMAP_EXPORT std::ostream &operator<< (std::ostream &stream,
|
|
const Esri::ArcGISRuntime::GraphicsRenderingMode value);
|
|
SITUATIONMAP_EXPORT std::ostream &operator<< (std::ostream &stream,
|
|
const Esri::ArcGISRuntime::GeometryType value);
|
|
SITUATIONMAP_EXPORT std::ostream &operator<< (std::ostream &stream,
|
|
const Esri::ArcGISRuntime::LayerType value);
|
|
SITUATIONMAP_EXPORT std::ostream &operator<< (std::ostream &stream,
|
|
const Esri::ArcGISRuntime::LicenseStatus value);
|
|
SITUATIONMAP_EXPORT std::ostream &operator<< (std::ostream &stream,
|
|
const Esri::ArcGISRuntime::LoadStatus value);
|
|
SITUATIONMAP_EXPORT std::ostream &operator<< (std::ostream &stream,
|
|
const Esri::ArcGISRuntime::NetworkCachePolicy value);
|
|
SITUATIONMAP_EXPORT std::ostream &operator<< (std::ostream &stream,
|
|
const Esri::ArcGISRuntime::SceneLocationVisibility value);
|
|
SITUATIONMAP_EXPORT std::ostream &operator<< (std::ostream &stream,
|
|
const Esri::ArcGISRuntime::SurfacePlacement value);
|
|
SITUATIONMAP_EXPORT std::ostream &operator<< (std::ostream &stream,
|
|
const Esri::ArcGISRuntime::ViewpointType value);
|
|
SITUATIONMAP_EXPORT std::ostream &operator<< (std::ostream &stream,
|
|
const Esri::ArcGISRuntime::Viewpoint &value);
|
|
SITUATIONMAP_EXPORT std::ostream &operator<< (std::ostream &stream,
|
|
const Esri::ArcGISRuntime::Camera &value);
|
|
}
|
|
}
|