object WMyObject { MyClass { Title [ get, set, remove ]; Description [ get, set, remove ]; } MailServer::Class2 { Link URL [ get, set ]; } };
object
WMyObject
MyClass
MailServer::Class2
// define WMyList to use the DTDL list MyList of namespace a::b list WMyList a::b::MyList; // define WMyStruct to use the DTDL struct TheStruct of the global namespace struct WMyStruct TheStruct; list WMyOtherList a::b::MyOtherList { LinkedObject LObj [ set(Class) ]; LinkedObject RObj [ link(Class) ]; };
// define WMyList to use the DTDL list MyList of namespace a::b
list
WMyList
MyList
// define WMyStruct to use the DTDL struct TheStruct of the global namespace
struct
WMyStruct
TheStruct
WMyOtherList
MyOtherList