본문으로 건너뛰기
GDK
메뉴
API 가이드
API 레퍼런스
UI API 가이드
UI API 레퍼런스
테마
밝게
어둡게
자동
목차
Toggle main menu visibility
로딩중...
검색중...
일치하는것 없음
ConnectionLayerUtils.h
1
#pragma once
2
3
#include "connections/model/ConnectionLayerIdentity.h"
4
#include "gdkqt/QtGdkExport.h"
5
6
#include <QSet>
7
#include <QString>
8
#include <QStringList>
9
#include <QVector>
10
11
namespace
GDK {
12
class
glsFeatureLayer;
13
class
glsMapView;
14
}
15
16
namespace
GdkQt::ConnectionLayers {
17
18
// Exported: qt_gdk_demo's MainWindowActionBinder builds graphics layers with
19
// these three.
27
QT_GDK_API
int
nextFeatureLayerZIndex
(GDK::glsMapView* view);
37
QT_GDK_API QString
uniqueLayerId
(GDK::glsMapView* view,
const
QString& baseId);
47
QT_GDK_API QString
uniqueLayerName
(GDK::glsMapView* view,
const
QString& baseName);
48
49
// Exported for the test suite, not for the apps: export_vector_layer_service_test
50
// links qt_gdk_dll and calls this directly, so the annotation is load-bearing.
58
QT_GDK_API QSet<QString>
captureLayerIds
(GDK::glsMapView* view);
59
60
// DLL-internal: no app and no test calls these, so they carry no QT_GDK_API.
61
// Adding one back means something outside the DLL started depending on it --
62
// check that it should before you do.
67
QString
featureLayerDataSourceName
(GDK::glsFeatureLayer* layer);
74
QString
findNewFeatureLayerId
(GDK::glsMapView* view,
75
const
QSet<QString>& previousLayerIds,
76
const
QString& dataSourceName);
84
void
removeNewLayersExcept
(GDK::glsMapView* view,
85
const
QSet<QString>& previousLayerIds,
86
const
QString& keepLayerId);
87
96
QVector<ConnectionModel::MapLayerSnapshot>
captureMapLayerSnapshots
(GDK::glsMapView* view);
97
103
QStringList
applyLayerRemovals
(GDK::glsMapView* view,
const
QStringList& layerIds);
104
105
}
// namespace GdkQt::ConnectionLayers
GdkQt::ConnectionLayers::nextFeatureLayerZIndex
int nextFeatureLayerZIndex(GDK::glsMapView *view)
새 피처 레이어에 줄 z-index를 계산합니다.
GdkQt::ConnectionLayers::featureLayerDataSourceName
QString featureLayerDataSourceName(GDK::glsFeatureLayer *layer)
피처 레이어가 사용하는 데이터 소스의 이름을 읽습니다.
GdkQt::ConnectionLayers::uniqueLayerId
QString uniqueLayerId(GDK::glsMapView *view, const QString &baseId)
지도 뷰에 아직 없는 레이어 ID를 만듭니다.
GdkQt::ConnectionLayers::removeNewLayersExcept
void removeNewLayersExcept(GDK::glsMapView *view, const QSet< QString > &previousLayerIds, const QString &keepLayerId)
이전 ID 집합에 없던 최상위 레이어를 keepLayerId 하나만 남기고 지도 뷰에서 제거합니다.
GdkQt::ConnectionLayers::findNewFeatureLayerId
QString findNewFeatureLayerId(GDK::glsMapView *view, const QSet< QString > &previousLayerIds, const QString &dataSourceName)
이전 ID 집합에 없던 피처 레이어 중 데이터 소스 이름이 일치하는 첫 레이어의 ID를 찾습니다.
GdkQt::ConnectionLayers::uniqueLayerName
QString uniqueLayerName(GDK::glsMapView *view, const QString &baseName)
지도 뷰의 최상위에 추가할 레이어 이름을 제안합니다.
GdkQt::ConnectionLayers::applyLayerRemovals
QStringList applyLayerRemovals(GDK::glsMapView *view, const QStringList &layerIds)
지정한 레이어 ID를 지도 뷰에서 제거합니다.
GdkQt::ConnectionLayers::captureMapLayerSnapshots
QVector< ConnectionModel::MapLayerSnapshot > captureMapLayerSnapshots(GDK::glsMapView *view)
지도 뷰의 최상위 레이어를 모두 값으로 바꿉니다.
GdkQt::ConnectionLayers::captureLayerIds
QSet< QString > captureLayerIds(GDK::glsMapView *view)
지도 뷰의 최상위 레이어 ID를 모두 모읍니다.
connections
catalog
ConnectionLayerUtils.h
다음에 의해 생성됨 :
1.18.0