MrSID Decode SDK for Raster Reference Manual 9.5.4.4709

- Main Page
- Namespaces
- Classes
- Files
- Examples

- File List
- File Members

SecurityBlock.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 SecurityBlock_H
13 #define SecurityBlock_H
14
15 // lt_lib_base
16 #include "lt_base.h"
17
18 // local
19 #include "nitf_types.h"
20
21 LT_BEGIN_LIZARDTECH_NAMESPACE
22 class LTIMetadataDatabase;
23
24 namespace Nitf {
25
26 class FieldReader;
27 class MetadataHelper;
28 class SecurityMetadata;
29
30
42 class SecurityBlock
43 {
44 public:
45 SecurityBlock(FieldReader&, Version, const char* tagPrefix);
46 ~SecurityBlock();
47
48 LT_STATUS addMetadata(LTIMetadataDatabase&);
49
50 const SecurityMetadata* getMetadata() const;
51
52 private:
53 void read20();
54 void read21();
55
56 const Version m_version;
57 FieldReader& m_reader;
58
59 MetadataHelper* m_mdHelper;
60
61 SecurityMetadata* m_metadata;
62
63 // nope
64 SecurityBlock(SecurityBlock&);
65 SecurityBlock& operator=(const SecurityBlock&);
66 };
67
68
69 }
70 LT_END_LIZARDTECH_NAMESPACE
71
72 #endif // SecurityBlock_H

LizardTech