27 glsExportPublication** out)
noexcept;
36 const char* outputPath, glsExportPublication** out)
noexcept;
120 ~glsExportPublication();
124 explicit glsExportPublication(Impl*) noexcept;
125 glsExportPublication(const glsExportPublication&) = delete;
126 glsExportPublication& operator=(const glsExportPublication&) = delete;
내보내기 파일 이름과 경로 계획을 처리합니다.
정의 glsExportPublication.h:135
static glsStatus BuildDirectoryPlan(const char *requestJson, char *, std::size_t, std::size_t *) noexcept
한 폴더에 여러 레이어를 내보내기 위한 고유 출력 경로를 계산합니다.
static glsStatus ShapefileOutputExists(const char *stemUtf8, bool *exists) noexcept
해당 이름의 Shapefile 집합 파일이 있는지 조회합니다.
static glsStatus RemoveStaged(glsExportArtifactKind, const char *stagingPath) noexcept
준비 파일이나 준비된 Shapefile 집합의 파일을 삭제합니다.
static glsStatus SanitizeFileStem(const char *, char *, std::size_t, std::size_t *) noexcept
Windows에서 사용할 수 있는 확장자 없는 파일 이름을 만듭니다.
준비 디렉터리에 내보낸 뒤 이전 출력 내용을 보존하며 새 파일로 교체하는 계획입니다.
정의 glsExportPublication.h:16
static glsStatus PrepareGeoPackage(const char *, glsExportPublication **) noexcept
기존 파일이 없는 위치에 새 GeoPackage를 게시할 계획을 준비합니다.
glsStatus CleanupStaging() noexcept
이 계획의 준비 파일과 빈 디렉터리를 제거합니다.
static glsStatus Prepare(glsExportArtifactKind kind, const char *outputPathUtf8, glsExportPublication **out) noexcept
출력의 현재 상태를 캡처하고 게시 계획을 준비합니다.
glsStatus CommitGeoPackage() noexcept
계획에서 준비한 GeoPackage를 게시합니다.
glsStatus GetReportJson(char *, std::size_t, std::size_t *) const noexcept
게시 결과와 복구 상태를 JSON으로 조회합니다.
static glsStatus PrepareFromStaging(glsExportArtifactKind, const char *stagingPath, const char *outputPath, glsExportPublication **out) noexcept
게시 계획을 준비하고 호출자가 작성한 파일을 준비 폴더에 복사합니다.
glsStatus GetStagingPath(char *, std::size_t, std::size_t *) const noexcept
준비 파일을 쓸 절대 경로를 조회합니다.
glsStatus GetTableNamesJson(char *, std::size_t, std::size_t *) const noexcept
계획의 GeoPackage에서 테이블 이름 목록을 JSON 배열로 조회합니다.
glsStatus EnsureActive() const noexcept
게시 계획을 아직 커밋할 수 있는지 검사합니다.
glsStatus Commit() noexcept
준비 파일을 대상 경로에 게시합니다.
glsStatus GetOutputPath(char *, std::size_t, std::size_t *) const noexcept
게시 계획의 절대 출력 경로를 조회합니다.
void Release() noexcept
CleanupStaging()을 호출해 결과와 관계없이 계획을 해제합니다.
bool IsCommitted() const noexcept
새 파일이 대상 위치에 배치됐는지 확인합니다.
공개 gdk_dll API가 공유하는 값 형식, 결과 코드, 호출 규약입니다.
#define GDK_DLL_API
Windows에서는 SDK 심볼을 내보내거나 가져오고, 그 외 플랫폼에서는 SDK 빌드의 심볼을 공개합니다.
정의 glsExport.h:20
void glsReleaseExportPublication(glsExportPublication *) noexcept
Release()와 같이 게시 계획을 해제합니다.
glsExportArtifactKind
내보내기로 게시할 파일 종류입니다.
정의 glsExportPublication.h:6
@ ShapefileSet
확장자를 뺀 경로의 Shapefile 파일 집합을 게시합니다. 확장자는 .shp, .shx, .dbf, .prj, .cpg, .gdkqix, .qix,...
정의 glsExportPublication.h:8
@ SingleFile
출력 경로에 있는 파일 하나를 게시합니다.
정의 glsExportPublication.h:7
glsGdk SDK의 네이티브 C++ API 이름 공간입니다.
정의 glsAttributeTable.h:5
DLL 경계의 공개 함수가 반환하는 상태입니다.
정의 glsTypes.h:83