68 const std::string& prefix)
const 72 std::string pfx = prefix;
75 out << setiosflags(ios::left)
76 << pfx << std::setw(24) <<
"DESCRC:" << ((typeinfo) ?
"(string)" :
"") <<
m_descrc <<
"\n" 77 << pfx << std::setw(24) <<
"DESSHFT:" << ((typeinfo) ?
"(string)" :
"") <<
m_desshft <<
"\n" 78 << pfx << std::setw(24) <<
"DESSHDT:" << ((typeinfo) ?
"(string)" :
"") <<
m_desshdt <<
"\n" 79 << pfx << std::setw(24) <<
"DESSHRP:" << ((typeinfo) ?
"(string)" :
"") <<
m_desshrp <<
"\n" 80 << pfx << std::setw(24) <<
"DESSHSI:" << ((typeinfo) ?
"(string)" :
"") <<
m_desshsi <<
"\n" 81 << pfx << std::setw(24) <<
"DESSHSV:" << ((typeinfo) ?
"(string)" :
"") <<
m_desshsv <<
"\n" 82 << pfx << std::setw(24) <<
"DESSHSD:" << ((typeinfo) ?
"(string)" :
"") <<
m_desshsd <<
"\n" 83 << pfx << std::setw(24) <<
"DESSHTN:" << ((typeinfo) ?
"(string)" :
"") <<
m_desshtn <<
"\n" 84 << pfx << std::setw(24) <<
"DESSHLPG:" << ((typeinfo) ?
"(string)" :
"") <<
m_desshlpg <<
"\n" 85 << pfx << std::setw(24) <<
"DESSHLPT:" << ((typeinfo) ?
"(string)" :
"") <<
m_desshlpt <<
"\n" 86 << pfx << std::setw(24) <<
"DESSHLI:" << ((typeinfo) ?
"(string)" :
"") <<
m_desshli <<
"\n" 87 << pfx << std::setw(24) <<
"DESSHABS:" << ((typeinfo) ?
"(string)" :
"") <<
m_desshabs <<
"\n" 127 lookup = kwl.
find(prefix,
"DESCRC");
131 lookup = kwl.
find(prefix,
"DESSHFT");
135 lookup = kwl.
find(prefix,
"DESSHDT");
139 lookup = kwl.
find(prefix,
"DESSHRP");
143 lookup = kwl.
find(prefix,
"DESSHSI");
147 lookup = kwl.
find(prefix,
"DESSHSV");
151 lookup = kwl.
find(prefix,
"DESSHSD");
155 lookup = kwl.
find(prefix,
"DESSHTN");
167 std::vector<ossimRefPtr<ossimXmlNode> > xml_nodes;
169 if (xml_nodes.size())
171 target = xml_nodes[0]->getText();
ossimString substitute(const ossimString &searchKey, const ossimString &replacementValue, bool replaceAll=false) const
Substitutes searchKey string with replacementValue and returns a string.
char m_desshlin[DESSHLIN_SIZE+1]
char m_desshli[DESSHLI_SIZE+1]
Represents serializable keyword/value map.
ossimString getDescrc() const
virtual void parseStream(std::istream &in)
This will allow the user defined data to parse the stream.
const char * find(const char *key) const
char m_desshabs[DESSHABS_SIZE+1]
bool loadValueFromXml(const ossimRefPtr< ossimXmlDocument >, const ossimString &xpath, ossimString &target) const
char m_desshlpg[DESSHLPG_SIZE+1]
ossimNitfXmlDataContentDes()
ossimString getDesshsd() const
ossimString getDesshft() const
char m_desshsd[DESSHSD_SIZE+1]
bool loadState(const ossimKeywordlist &kwl, const char *prefix)
char m_desshlpt[DESSHLPT_SIZE+1]
char m_desshdt[DESSHDT_SIZE+1]
ossimString getDesshsi() const
char m_descrc[DESCRC_SIZE+1]
bool toBool() const
String to numeric methods.
virtual const std::string & getDesName() const
This will return the name of the registered des for this user defined header.
ossimString getDesshsv() const
static ossimPreferences * instance()
ossimString getDesshrp() const
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.
ossimRefPtr< ossimXmlDocument > m_xmlDocument
char m_desshft[DESSHFT_SIZE+1]
std::basic_istream< char > istream
Base class for char input streams.
char m_desshtn[DESSHTN_SIZE+1]
virtual ossimErrorCode getErrorStatus() const
ossimString getDesshdt() const
virtual void writeStream(std::ostream &out)
bool read(std::istream &in)
char m_desshsi[DESSHSI_SIZE+1]
ossimString getDesshtn() const
void findNodes(const ossimString &xpath, std::vector< ossimRefPtr< ossimXmlNode > > &nodelist) const
Appends any matching nodes to the list supplied (should be empty):
std::basic_istringstream< char > istringstream
Class for char input memory streams.
char m_desshl[DESSHL_SIZE+1]
char m_desshrp[DESSHRP_SIZE+1]
virtual void clearFields()
virtual ossim_uint32 getSizeInBytes() const
Returns the length in bytes of the des from the CEL or REL field.
std::basic_ostream< char > ostream
Base class for char output streams.
char m_desshsv[DESSHSV_SIZE+1]
const std::string & string() const