File tree Expand file tree Collapse file tree 2 files changed +9
-1
lines changed
include/ossim/support_data Expand file tree Collapse file tree 2 files changed +9
-1
lines changed Original file line number Diff line number Diff line change 24
24
class OSSIM_DLL ossimNitfGenericTag : public ossimNitfRegisteredTag
25
25
{
26
26
public:
27
+
28
+ typedef std::map<ossimString, ossimString> FieldMap;
29
+
27
30
ossimNitfGenericTag (ossimString tag, ossim_uint32 tagLength=0 );
28
31
29
32
virtual void parseStream (std::istream &in);
@@ -76,7 +79,9 @@ class OSSIM_DLL ossimNitfGenericTag : public ossimNitfRegisteredTag
76
79
77
80
// Parses field value from reverse polish noatation for loop and if conditions
78
81
int parseRPN (ossimString input, std::vector<std::vector<ossim_int32>> suffixIn) const ;
79
- std::map<ossimString, ossimString> m_fields_map;
82
+
83
+ FieldMap m_fields_map;
84
+
80
85
enum specialFields
81
86
{
82
87
VARIABLE_LENGTH = -1 ,
Original file line number Diff line number Diff line change @@ -250,6 +250,9 @@ void ossimNitfGenericTag::parseStream(std::istream &in)
250
250
}
251
251
}
252
252
253
+ // Recompute and set tag length. This is needed for conditional tags.
254
+ setTagLength (computeTagLength ());
255
+
253
256
if (traceDebug ())
254
257
{
255
258
ossimNotify (ossimNotifyLevel_DEBUG) << MODULE << " exited..." << std::endl;
You can’t perform that action at this time.
0 commit comments