App::Meta::GenericMetadata Struct Reference

A structure to hold unrecognized single-level metadata. More...

#include <Metadata.h>

Public Member Functions

 GenericMetadata ()=default
 
 GenericMetadata (const std::string &contents)
 
 GenericMetadata (const XERCES_CPP_NAMESPACE::DOMElement *e)
 

Public Attributes

std::map< std::string, std::string > attributes
 
std::string contents
 

Detailed Description

A structure to hold unrecognized single-level metadata.

Most unrecognized metadata is simple: when parsing the XML, if the parser finds a tag it does not recognize, and that tag has no children, it is parsed into this data structure for convenient access by client code.

Constructor & Destructor Documentation

◆ GenericMetadata() [1/3]

App::Meta::GenericMetadata::GenericMetadata ( )
default

◆ GenericMetadata() [2/3]

Meta::GenericMetadata::GenericMetadata ( const XERCES_CPP_NAMESPACE::DOMElement *  e)
explicit

References StrXUTF8::str.

◆ GenericMetadata() [3/3]

App::Meta::GenericMetadata::GenericMetadata ( const std::string &  contents)
explicit

Member Data Documentation

◆ attributes

std::map<std::string, std::string> App::Meta::GenericMetadata::attributes

◆ contents

std::string App::Meta::GenericMetadata::contents

The documentation for this struct was generated from the following files: