<div dir="ltr">Hi,<div><br></div><div>In my ndn application, which is a composition of other user defined objects, I am trying to write "TypeId GetTypeId(void)" function. I checked some existing examples, and found that most of them are composition of NS and basic data type objects (e.g. Name, Time, uint32_t etc). </div><div><br></div><div>I don't quite understand in my case how do I write the GetTypeId function and how to use the AddAttribute() for user defined objects. For instance for object of type Name, there is MakeNameAccessor() and MakeNameChecker() functions, and these are used in AddAttribute. </div><div><br></div><div>Do I have to define these Accessor and Checker functions for my user defined objects? </div><div><br></div><div>Regards,</div><div>/anil.</div><div><br></div></div>