A struct representing the value of an XML-node attribute.
More...
The Value struct stores a value and provides implicit conversion and assignment operators to facilitate easy conversion between different types and convenient assignment of values.
Example usage:
value = std::to_string(
"a_string");
std::string stringValue =
value;
bool booleanValue =
value;
int integerValue =
value;
double realValue =
value;
A struct representing the value of an XML-node attribute.
Definition at line 48 of file XMLObject.h.
#include <bpmn++.h>
|
| static std::string | True = "true" |
| |
| static std::string | False = "false" |
| |
◆ Value() [1/8]
| XML::Value::Value |
( |
const std::string & | s | ) |
|
|
inline |
◆ Value() [2/8]
| XML::Value::Value |
( |
bool | b | ) |
|
|
inline |
◆ Value() [3/8]
| XML::Value::Value |
( |
int | i | ) |
|
|
inline |
◆ Value() [4/8]
| XML::Value::Value |
( |
double | d | ) |
|
|
inline |
◆ Value() [5/8]
| XML::Value::Value |
( |
const std::string & | s | ) |
|
|
inline |
◆ Value() [6/8]
| XML::Value::Value |
( |
bool | b | ) |
|
|
inline |
◆ Value() [7/8]
| XML::Value::Value |
( |
int | i | ) |
|
|
inline |
◆ Value() [8/8]
| XML::Value::Value |
( |
double | d | ) |
|
|
inline |
◆ operator bool() [1/2]
| XML::Value::operator bool |
( |
| ) |
const |
|
inline |
◆ operator bool() [2/2]
| XML::Value::operator bool |
( |
| ) |
const |
|
inline |
◆ operator double() [1/2]
| XML::Value::operator double |
( |
| ) |
const |
|
inline |
◆ operator double() [2/2]
| XML::Value::operator double |
( |
| ) |
const |
|
inline |
◆ operator int() [1/2]
| XML::Value::operator int |
( |
| ) |
const |
|
inline |
◆ operator int() [2/2]
| XML::Value::operator int |
( |
| ) |
const |
|
inline |
◆ operator std::string() [1/2]
| XML::Value::operator std::string |
( |
| ) |
const |
|
inline |
◆ operator std::string() [2/2]
| XML::Value::operator std::string |
( |
| ) |
const |
|
inline |
◆ operator std::string_view() [1/2]
| XML::Value::operator std::string_view |
( |
| ) |
const |
|
inline |
◆ operator std::string_view() [2/2]
| XML::Value::operator std::string_view |
( |
| ) |
const |
|
inline |
◆ operator=() [1/8]
| Value & XML::Value::operator= |
( |
bool | b | ) |
|
|
inline |
◆ operator=() [2/8]
| Value & XML::Value::operator= |
( |
bool | b | ) |
|
|
inline |
◆ operator=() [3/8]
| Value & XML::Value::operator= |
( |
const std::string & | s | ) |
|
|
inline |
◆ operator=() [4/8]
| Value & XML::Value::operator= |
( |
const std::string & | s | ) |
|
|
inline |
◆ operator=() [5/8]
| Value & XML::Value::operator= |
( |
double | d | ) |
|
|
inline |
◆ operator=() [6/8]
| Value & XML::Value::operator= |
( |
double | d | ) |
|
|
inline |
◆ operator=() [7/8]
| Value & XML::Value::operator= |
( |
int | i | ) |
|
|
inline |
◆ operator=() [8/8]
| Value & XML::Value::operator= |
( |
int | i | ) |
|
|
inline |
◆ False
| static std::string XML::Value::False = "false" |
|
inlinestatic |
◆ True
| static std::string XML::Value::True = "true" |
|
inlinestatic |
◆ value
| std::string XML::Value::value |
The documentation for this struct was generated from the following files: