Struct Inside Another Struct

To define a struct inside another struct, create two classes with the <<CORBAStruct>> stereotype, add a composition between classes and use the inner link feature to declare one class as inner to the other.



struct A {
 struct B {
  short c;
  long d;
 } e, z;
 string x;
};


Created October 7, 2009. Send feedback on this help topic to Sybase Technical Publications: pubs@sybase.com