API Guides > ConceptRT 3.x

Detailed Description

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");
String year;
dataStore.ReadValue("Year", year);
if (dataStore.OpenReadTextNode("Special"))
{
rt_using_variable(TextReaderNode, nodeText, dataStore.GetTextReaderNode())
{
for (Int32 i = 0; i<5; i++)
{
String test;
nodeText.GetTextReader().Read(test, ';', true);
}
}
}
dataStore.CloseTextNode("Special");

Classes

class  IDisposable
 IDisposable. More...
 

Macros

#define rt_using_variable(variableType, variable, source)
 Helper to open a context where variable has to be disposed in any cases. More...
 

Modules

 Internal
 

Macro Definition Documentation

#define rt_using_variable (   variableType,
  variable,
  source 
)

Helper to open a context where variable has to be disposed in any cases.

Parameters
variableTypeType of the variable.
variablevariable identifier for the context.
sourceDisposable source.