OSSIM - Open Source Software Image Map  Version 1.9.0 (20180803)
ossimNitfXmlDataContentDes.h
Go to the documentation of this file.
4 
6 {
7 public:
8  enum
9  {
10  DESSHL_SIZE = 4,
11  DESCRC_SIZE = 5,
12  DESSHFT_SIZE = 8,
13  DESSHDT_SIZE = 20,
14  DESSHRP_SIZE = 40,
15  DESSHSI_SIZE = 60,
16  DESSHSV_SIZE = 10,
17  DESSHSD_SIZE = 20,
18  DESSHTN_SIZE = 120,
19  DESSHLPG_SIZE = 125,
20  DESSHLPT_SIZE = 25,
21  DESSHLI_SIZE = 20,
22  DESSHLIN_SIZE = 120,
23  DESSHABS_SIZE = 200
24  };
26 
27  virtual void parseStream(std::istream& in);
28  virtual void writeStream(std::ostream& out);
29 
30  virtual std::ostream& print(std::ostream& out,
31  const std::string& prefix=std::string()) const;
32  virtual void clearFields();
33  bool loadState(const ossimKeywordlist& kwl, const char* prefix);
34  bool loadValueFromXml(const ossimRefPtr<ossimXmlDocument>, const ossimString& xpath, ossimString& target) const;
35 
36  ossimString getDesshl() const;
37  ossim_uint32 getDesshlAsUint32() const;
38 
39  ossimString getDescrc() const;
40 
41  ossimString getDesshft() const;
42 
43  ossimString getDesshdt() const;
44 
45  ossimString getDesshrp() const;
46 
47  ossimString getDesshsi() const;
48 
49  ossimString getDesshsv() const;
50 
51  ossimString getDesshsd() const;
52 
53  ossimString getDesshtn() const;
54 
55 
56 protected:
57  char m_desshl[DESSHL_SIZE+1];
58  char m_descrc[DESCRC_SIZE+1];
59  char m_desshft[DESSHFT_SIZE+1];
60  char m_desshdt[DESSHDT_SIZE+1];
61  char m_desshrp[DESSHRP_SIZE+1];
62  char m_desshsi[DESSHSI_SIZE+1];
63  char m_desshsv[DESSHSV_SIZE+1];
64  char m_desshsd[DESSHSD_SIZE+1];
65  char m_desshtn[DESSHTN_SIZE+1];
66  char m_desshlpg[DESSHLPG_SIZE+1];
67  char m_desshlpt[DESSHLPT_SIZE+1];
68  char m_desshli[DESSHLI_SIZE+1];
69  char m_desshlin[DESSHLIN_SIZE+1];
70  char m_desshabs[DESSHABS_SIZE+1];
71 
74 };
Represents serializable keyword/value map.
virtual bool loadState(const ossimKeywordlist &kwl, const char *prefix=0)
virtual std::ostream & print(std::ostream &out, const std::string &prefix=std::string()) const
Pure virtual print method that outputs a key/value type format adding prefix to keys.
virtual void writeStream(std::ostream &out)=0
unsigned int ossim_uint32
ossimRefPtr< ossimXmlDocument > m_xmlDocument
std::basic_istream< char > istream
Base class for char input streams.
Definition: ossimIosFwd.h:20
#define OSSIM_DLL
virtual void parseStream(std::istream &in)=0
This will allow the user defined data to parse the stream.
std::basic_ostream< char > ostream
Base class for char output streams.
Definition: ossimIosFwd.h:23