StreamReadPCChar8 streamSource("<Person>\
<Year>1985</Year>\
<Month>3</Month>\
<Day>3</Day>\
<Adult>true</Adult>\
<Special>12;45;23,4;3;23;</Special>\
<Special2>5,6,7,8,9</Special2>\
</Person>");
XmlDataStoreReader xmlDataStoreReader(streamSource);
dataStore.OpenReadNode("Person");
dataStore.ReadValue("Year", year);
if (dataStore.OpenReadTextNode("Special"))
{
{
for (
Int32 i = 0; i<5; i++)
{
nodeText.GetTextReader().Read(test, ';', true);
}
}
}
dataStore.CloseTextNode("Special");
|
#define | rt_using_variable(variableType, variable, source) |
| Helper to open a context where variable has to be disposed in any cases. More...
|
|
#define rt_using_variable |
( |
|
variableType, |
|
|
|
variable, |
|
|
|
source |
|
) |
| |
Helper to open a context where variable has to be disposed in any cases.
- Parameters
-
variableType | Type of the variable. |
variable | variable identifier for the context. |
source | Disposable source. |