00001 /* ////////////////////////////////////////////////////////////////////////// 00002 // // 00003 // This code is Copyright (c) 2010 LizardTech, Inc, 1008 Western Avenue, // 00004 // Suite 200, Seattle, WA 98104. Unauthorized use or distribution // 00005 // prohibited. Access to and use of this code is permitted only under // 00006 // license from LizardTech, Inc. Portions of the code are protected by // 00007 // US and foreign patents and other filings. All Rights Reserved. // 00008 // // 00010 /* PUBLIC */ 00011 00012 #ifndef ImageSegmentMetadata_H 00013 #define ImageSegmentMetadata_H 00014 00015 // lt_lib_base 00016 #include "lt_base.h" 00017 00018 LT_BEGIN_LIZARDTECH_NAMESPACE 00019 namespace Nitf { 00020 00021 00038 class ImageSegmentMetadata 00039 { 00040 public: 00041 // not for public use 00042 ImageSegmentMetadata(); 00043 00044 // not for public use 00045 ImageSegmentMetadata(const ImageSegmentMetadata&); 00046 00047 // not for public use 00048 ~ImageSegmentMetadata(); 00049 00050 // not for public use 00051 ImageSegmentMetadata& operator=(const ImageSegmentMetadata&); 00052 00056 LT_STATUS setIID1(const char*); 00057 00061 const char* getIID1() const; 00062 00066 LT_STATUS setIDATIM(const char*); 00067 00071 const char* getIDATIM() const; 00072 00076 LT_STATUS setTGTID(const char*); 00077 00081 const char* getTGTID() const; 00082 00086 LT_STATUS setIID2(const char*); 00087 00091 const char* getIID2() const; 00092 00096 LT_STATUS setISORCE(const char*); 00097 00101 const char* getISORCE() const; 00102 00111 LT_STATUS setNICOM(int count); 00112 00122 LT_STATUS setICOM(int index, const char* data); 00123 00127 int getNICOM() const; 00128 00137 const char* getICOM(int index) const; 00138 00139 private: 00140 char* m_IID1; // 10 00141 char* m_IDATIM; // 14 00142 char* m_TGTID; // 17 00143 char* m_IID2; // 80 00144 char* m_ISORCE; // 42 00145 int m_NICOM; 00146 char** m_ICOM; // 80 00147 }; 00148 00149 00150 } 00151 LT_END_LIZARDTECH_NAMESPACE 00152 00153 #endif // ImageSegmentMetadata_H
LizardTech |