A set of XPath variables.
More...
#include <xpathvariableset.h>
A set of XPath variables.
Definition at line 76 of file xpathvariableset.h.
Add a new variable or get the existing one, if the Types match.
- Returns
- A pointer to the XPathVariable you referenced or just created.
- Parameters
-
Name | The name of variable to add. |
Type | The Type of the new value to add as an XPathValueType. |
Get the named XPathVariable.
- Parameters
-
- Returns
- A pointer to the specified XPathVariable.
- Note
- The non-const version is available to scripting languages.
bool Mezzanine::XML::XPathVariableSet::Set |
( |
const Char8 * |
Name, |
|
|
bool |
Value |
|
) |
| |
Set contained variable Value; no Type conversion is performed.
- Parameters
-
Name | The name of variable to change. |
Value | The value to attempt to put into the named variable. |
- Returns
- True is return, false is returned if there is no such variable or on Type mismatch error.
bool Mezzanine::XML::XPathVariableSet::Set |
( |
const Char8 * |
Name, |
|
|
double |
Value |
|
) |
| |
Set contained variable Value; no Type conversion is performed.
- Parameters
-
Name | The name of variable to change. |
Value | The value to attempt to put into the named variable. |
- Returns
- True is return, false is returned if there is no such variable or on Type mismatch error.
bool Mezzanine::XML::XPathVariableSet::Set |
( |
const Char8 * |
Name, |
|
|
const Char8 * |
Value |
|
) |
| |
Set contained variable Value; no Type conversion is performed.
- Parameters
-
Name | The name of variable to change. |
Value | The value to attempt to put into the named variable. |
- Returns
- True is return, false is returned if there is no such variable or on Type mismatch error.
bool Mezzanine::XML::XPathVariableSet::Set |
( |
const Char8 * |
Name, |
|
|
const XPathNodeSet & |
Value |
|
) |
| |
Set contained variable Value; no Type conversion is performed.
- Parameters
-
Name | The name of variable to change. |
Value | The value to attempt to put into the named variable. |
- Returns
- True is return, false is returned if there is no such variable or on Type mismatch error.
The documentation for this class was generated from the following file: