Alternative to have pointers for non-composition Association in Rational Rhapsody
What is the configuration option in IBM Rational Rhapsody to have an alternate to pointers for non-composition Association?
Rational Rhapsody for C++ uses regular pointers for non-composition Association Ends. However you would like to use std::auto_ptr<> or boost::shared_ptr<>.
You can achieve the aforesaid by modifying the below properties in Rational Rhapsody:
Class A is related to Class B (A -> B) through a Non-Composition (Shared or None) having One-To-One relation. By altering the value of property OMContainers::Scalar::CType to std::int, the object itsB will by generated as std::int.