MrSID Decode SDK for Raster Reference Manual 9.5.5.5244
lti_metadataDumper.h
Go to the documentation of this file.
1//
2// This code is property of Celartem, Inc dba Extensis.
3// Copyright (c) 1995-2023. All rights reserved.
4// Use permitted only under license from Extensis.
5//
6/* PUBLIC */
7
8#ifndef LTIMETADATADUMPER_H
9#define LTIMETADATADUMPER_H
10
11// lt_lib_mrsid_metadata
12#include "lti_metadataWriter.h"
13
14LT_BEGIN_LIZARDTECH_NAMESPACE
15
16class LTIOStreamInf;
18
26{
27public:
39 LTIOStreamInf* stream,
40 bool abbreviated=false);
41
46
51
65 LTIOStreamInf& stream,
66 bool abbreviated=false);
67
68
69
81 LTIOStreamInf& stream,
82 int idx);
83
94 void setWriteInputFilename(bool enable);
95
99 LT_STATUS writeFormatted(bool isShapefile=false) const;
100
105 LTIOStreamInf& stream,
106 bool isShapefile=false);
107
108private:
109 LTIOStreamInf* m_stream;
110 bool m_ownsStream;
111 bool m_writeInputFilename;
112 const bool m_abbreviated;
113
114 // nope
116 LTIMetadataDumper& operator=(const LTIMetadataDumper&);
117};
118
119
120LT_END_LIZARDTECH_NAMESPACE
121
122#endif // LTIMETADATADUMPER_H
lt_uint32 LT_STATUS
An integral status code.
Definition: lt_status.h:30
Abstract definition of a stream.
class for storing metadata associated with an image
dumps contents of database in text form
LT_STATUS writeFormatted(bool isShapefile=false) const
write all well-known records to stream, printing them very prettily (for usage by end-users and UIs)
static LT_STATUS writeFormattedRecord(const LTIMetadataRecord &record, LTIOStreamInf &stream, bool isShapefile=false)
write a given record to stream, printing very prettily
static LT_STATUS writeRecordData(const LTIMetadataRecord &record, LTIOStreamInf &stream, int idx)
write a single data item for a single record to stream
LT_STATUS write() const
write records to stream
LTIMetadataDumper(const LTIMetadataDatabase &database, LTIOStreamInf *stream, bool abbreviated=false)
constructor
static LT_STATUS writeRecord(const LTIMetadataRecord &record, LTIOStreamInf &stream, bool abbreviated=false)
write a single record to stream
void setWriteInputFilename(bool enable)
INPUT_NAME metadata control.
~LTIMetadataDumper()
destructor
representation of a metadata record
abstract class for exporting a metadata database

Extensis