14 #ifndef HEADER_MAP_SOURCE_H
15 #define HEADER_MAP_SOURCE_H
26 class MapConfiguration;
102 std::string _type_name;
A common result class usable as return value throughout.
Representation for an element in the DOM.
MapConfiguration is the central class of the mapping::dd namespace.
MapSource represents a mapping source from the configuration file.
const std::string & getType() const
Returns the DataDefinition typename of the mapping source.
bool isValid() const
Returns the validity for the current description.
const std::string & getName() const
Returns the name of the mapping source.
a_util::result::Result setName(const std::string &new_name)
Set name.
MapSource(MapConfiguration *config)
CTOR.
MapSource(MapConfiguration *config, std::string name, std::string type)
CTOR.
a_util::result::Result setType(const std::string &type_name)
Set type.
a_util::result::Result loadFromDOM(const a_util::xml::DOMElement &source)
Initializes the source from a source-dom element.
a_util::result::Result writeToDOM(a_util::xml::DOMElement &dom_element) const
Export source to a XML dom element.
MapTarget represents a mapped target from the mapping configuration.
bool operator==(const MapAssignment &a, const MapAssignment &b)
compares the Assignments
std::vector< MapSource > MapSourceList
Public composite types used in the mapping::dd namespace.
bool operator!=(const MapAssignment &a, const MapAssignment &b)
compares the Assignments
std::set< std::string > MapSourceNameList
defintion of MapSource name list
definition of the ddl namespace
Common include for component a_util::result.
Common include for component a_util::xml.