[pylewiki]

MpsLanguageMappings


MPS assumes ints are 32-bit signed quantities, and longs are 64-bit signed quantities.

 MPS Type		Java Type		C++ Type

int int int long long long long char char char bool boolean bool float float float string java.lang.String std::string const & X [] X [] std::vector< X > const & X [][] X [][] std::vector< std::vector< X > > const &
Structure Class with accessors Class with accessors Interface Class with behaviour Class with behaviour Namespace Package (nested) Namespace (nested)

Structures are passed in C++ as const references. Interfaces are passed in as non-const references to the InterfaceProxy object for that interface. Namespaces do not appear as first-class objects in either backend language, and thus cannot be directly manipulated.


(last modified 05 June 2000 by tonyg)