libzypp: zypp::xmlout::NodeAttr Class Reference

libzypp 17.25.10

Public Types | Public Member Functions | Related Functions | List of all members
zypp::xmlout::NodeAttr Class Reference

(Key, Value) string pair of XML node attributes More...

`#include <Xml.h>`

Inheritance diagram for zypp::xmlout::NodeAttr:
[legend]

## Public Types
typedef std::pair< std::string, std::string > | Pair

## Public Member Functions
template<typename Tp >
| NodeAttr (std::string key_r, const Tp &val_r)
| NodeAttr (std::string key_r, std::string val_r)

## Related Functions
(Note that these are not member functions.)
template<class Tp >
std::string | asXmlNodeAttr (const Tp &val_r)
| NODE ATTRIBUTE representation of types [asString]. More...

## Detailed Description

(Key, Value) string pair of XML node attributes

Definition at line 43 of file Xml.h.

## Member Typedef Documentation

## ◆ Pair

typedef std::pair<std::string,std::string> zypp::xmlout::NodeAttr::Pair

Definition at line 45 of file Xml.h.

## Constructor & Destructor Documentation

## ◆ NodeAttr() [1/2]

template<typename Tp >

zypp::xmlout::NodeAttr::NodeAttr | ( | std::string | key_r,
|  | const Tp & | val_r
| ) |  |
| inline

Definition at line 48 of file Xml.h.

## ◆ NodeAttr() [2/2]

zypp::xmlout::NodeAttr::NodeAttr | ( | std::string | key_r,
|  | std::string | val_r
| ) |  |
| inline

Definition at line 52 of file Xml.h.

## Friends And Related Function Documentation

## ◆ asXmlNodeAttr()

template<class Tp >

std::string asXmlNodeAttr | ( | const Tp & | val_r | ) |
| related

NODE ATTRIBUTE representation of types [asString].

Definition at line 37 of file Xml.h.

The documentation for this class was generated from the following file:

- zypp/base/Xml.h