next up previous contents
Next: Mapping Rules Up: OSCommonInterfaces Previous: The OSInstance Class   Contents

Creating an OSInstance Object

The OSCommonInterfaces component contains an OSiLReader class for reading an instance in an OSiL string and creating an in-memory OSInstance object. Assume that sOSiL is a string with an instance in OSiL format. Creating an OSInstance object is illustrated in Figure 10.

Figure 10: Creating an OSInstance Object
\begin{figure}\centering
\begin{verbatim}OSiLReader *osilreader = NULL;
OSInst...
...LReader();
osinstance = osilreader->readOSiL( sOSiL);\end{verbatim}
\end{figure}



Kipp Martin 2008-01-16