MrSID Decode SDK for Raster Reference Manual  9.0.0.3864
FileMetadata.h
Go to the documentation of this file.
1 /* //////////////////////////////////////////////////////////////////////////
2 // //
3 // This code is Copyright (c) 2010 LizardTech, Inc, 1008 Western Avenue, //
4 // Suite 200, Seattle, WA 98104. Unauthorized use or distribution //
5 // prohibited. Access to and use of this code is permitted only under //
6 // license from LizardTech, Inc. Portions of the code are protected by //
7 // US and foreign patents and other filings. All Rights Reserved. //
8 // //
10 /* PUBLIC */
11 
12 #ifndef FileMetadata_H
13 #define FileMetadata_H
14 
15 // lt_lib_base
16 #include "lt_base.h"
17 
19 namespace Nitf {
20 
21 
39 {
40 public:
41  // not for public use
42  FileMetadata();
43 
44  // not for public use
45  FileMetadata(const FileMetadata&);
46 
47  // not for public use
48  ~FileMetadata();
49 
50  // not for public use
52 
56  LT_STATUS setOSTAID(const char*);
57 
61  const char* getOSTAID() const;
62 
66  LT_STATUS setFDT(const char*);
67 
71  const char* getFDT() const;
72 
76  LT_STATUS setFTITLE(const char*);
77 
81  const char* getFTITLE() const;
82 
86  LT_STATUS setONAME(const char*);
87 
91  const char* getONAME() const;
92 
96  LT_STATUS setOPHONE(const char*);
97 
101  const char* getOPHONE() const;
102 
103 private:
104  char* m_OSTAID; // 10
105  char* m_FDT; // 14
106  char* m_FTITLE; // 80
107  char* m_ONAME; // v20 is 27, v21 is 24
108  char* m_OPHONE; // 18
109 };
110 
111 
112 }
114 
115 #endif // FileMetadata_H
LT_STATUS setFDT(const char *)
sets the FDT field
LT_STATUS setOSTAID(const char *)
sets the OSAID field
const char * getFTITLE() const
gets the FTITLE field
#define LT_BEGIN_LIZARDTECH_NAMESPACE
compiler does not support namespaces
Definition: lt_define.h:96
Include file for all LizardTech sources.
lt_uint32 LT_STATUS
An integral status code.
Definition: lt_status.h:39
const char * getOPHONE() const
gets the famous OPHONE field
container for File Header metadata
Definition: FileMetadata.h:38
LT_STATUS setFTITLE(const char *)
sets the FTITLE field
#define LT_END_LIZARDTECH_NAMESPACE
compiler does not support namespaces
Definition: lt_define.h:97
LT_STATUS setONAME(const char *)
sets the ONAME field
const char * getONAME() const
gets the ONAME field
const char * getFDT() const
gets the FDT field
FileMetadata & operator=(const FileMetadata &)
LT_STATUS setOPHONE(const char *)
sets the famous OPHONE field
const char * getOSTAID() const
gets the OSAID field

LizardTech