Purpose | This page describes the special objects that are used in the Superx++ language. These objects can be accessed and manipulated just like any other Superx++ object using the <eval> statement. This page also describes the accessor statements used to get the entire objects as well. | |
Accessor Statements | ||
<getclasses> | ||
<getclasses> is a statement used to get the entire classes object.
<getclasses />
| ||
<getexception> | ||
<getexception> is a statement used to get the entire exception object.
<getexception />
| ||
<getmem> | ||
<getmem> is a statement used to get the entire mem object.
<getmem />
| ||
<getxin> | ||
<getxin> is a statement used to get the entire xin object.
<getxin />
| ||
<getxpp> | ||
<getxpp> is a statement used to get the entire xpp object.
<getxpp />
| ||
Special Objects | ||
classes | ||
classes represents the run-time class memory.
<eval object="classes" />
<eval object="classes" member="child"> | ||
exception | ||
exception represents the last exception that was raised in the Superx++ program.
<eval object="exception" />
<eval object="exception/type" />
<eval object="exception/description" />
| ||
mem | ||
mem represents the run-time memory which contains all the instantiated objects.
<eval object="mem" />
<eval object="mem" member="child">
<eval object="mem/MyEmployee" />
<eval object="mem/MyEmployee"> | ||
xin | ||
xin represents the input stream which contains the XML document to be passed as a hierarchical set of input parameters into a Superx++ program.
<eval object="xin" />
<eval object="xin/MyParm" />
| ||
xpp | ||
xpp represents the Superx++ program as currently defined in memory. It is useful in the cases where a program is modified and therefore is different in memory than in the source files.
<eval object="xpp" />
<eval object="xpp" member="child"> |