Files
qt-migration-legatus/qt6-after/qt6-migrated-legatus/Lts/Viewer/SituationMap/Map/situation_map_utils.h
T
berrux-dev 2b957d1edb Port SymbologyImpl Esri processors to the ArcGIS 300 QFuture async API
TaskWatcher (searchSymbols/fetchSymbol/createSwatch + completion signals) -> QFuture (searchSymbolsAsync/fetchSymbolAsync/createSwatchAsync + QFutureWatcher finished/result getter); flat arcgis/ includes; arcgisversion.h shim (external SDK). advancedSymbology now builds+links vs 300 (0 errors); SymbologyXML CTest 6/6, 0 assertion failures. Migration-only vs legacy; one documented forced delta: 300 has no spec-only DictionarySymbolStyle. Summary: MIGRATION_SUMMARY_ARCGIS300_SYMBOLOGY.md.
2026-10-07 06:24:35 +02:00

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 <SceneViewTypes.h> // SurfacePlacement
#include <Error.h>
// Qt
#include <QtCore/QPointF>
#include <QtCore/QSize>
#include <QtCore/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);
}
}