src/common/packet.h
changeset 1155 1269189b9f41
parent 1154 3434ebc3c553
child 1232 2e8c3f8bb77f
equal deleted inserted replaced
1154:3434ebc3c553 1155:1269189b9f41
   359  *
   359  *
   360  * std::string MyTag::GetUid (void)
   360  * std::string MyTag::GetUid (void)
   361  * {
   361  * {
   362  *   // we really want to make sure that this
   362  *   // we really want to make sure that this
   363  *   // string is unique in the universe.
   363  *   // string is unique in the universe.
   364  *   static uint32_t uid = TagRegistry<MyTag> ("MyTag.unique.prefix");
   364  *   static uint32_t uid = TagRegistry::Register<MyTag> ("MyTag.unique.prefix");
   365  *   return uid;
   365  *   return uid;
   366  * }
   366  * }
   367  * \endcode
   367  * \endcode
   368  */
   368  */
   369 
   369