Hello,
Assuming I have these two IDL strcuture:
strcuture1.IDL
struct IdentifiedObject {
@key string mRID;
string name;
};
struct logicalDevice : IdentifiedObject {
string abc;
};
strcuture2.IDL
struct logicalDevice {
@key string mRID;
string name;
string abc;
};
is these logicalDevices possible make type assignable?
Thank you!
Jason
Hi,
Yes, these two definitions of logicalDevice are assignable. With regards to assignability inheritance is treated the same way as having the members of the derived structure appended after those of the base structure.
Gerardo