Local Name Space flag and variable inspection

Category |  Purpose |  Intended Audience |  Applicable to |  Description |  Limitations |  See also


Category:

Top

Toolset


Purpose:

Top

To describe the use of the local name space flag and limitations regarding variable inspection


Intended Audience:

Top

All ObjecTime C++ developers


Applicable to:

Top

ObjecTime 4.4 and earlier


Description:

Top

The local Name Space flag controls whether the tool uses the 'RT' prefix in front of all ObjecTime derived class names. For example, if the flag is on, the name 'Integer' refers to the ObjecTime Integer type. If the flag is off, the name 'RTInteger' refers to the ObjecTime Integer, while the name 'Integer' is assumed to refer to something else defined outside of ObjecTime.

By turning off the Local Name Space flag, you are declaring that the built-in base types (e.g. Integer, String, etc.) are defined outside of ObjecTime. Therefore extended state variables of type Integer, for example, cannot be inspected because they are an externally defined type. ObjecTime currently only supports inspection of types defined internally in ObjecTime.

If you want to be able to inspect an integer variable with the Local Name Space flag turned off, you should declare the type of the variable to be RTInteger. Similarly, strings should be of type RTString.

Important Notes:

Fixed in ObjecTime 4.4.1 and 5.0


Limitations:

Top

None


See also:

Top

None


 

Copyright © 1999, ObjecTime Limited.