GuidBuilder.inl

Go to the documentation of this file.
00001 /*
00002  *
00003  *
00004  * Distributed under the OpenDDS License.
00005  * See: http://www.opendds.org/license.html
00006  */
00007 
00008 OPENDDS_BEGIN_VERSIONED_NAMESPACE_DECL
00009 
00010 namespace OpenDDS {
00011 namespace DCPS {
00012 
00013 ACE_INLINE void
00014 GuidBuilder::entityId(long entityId)
00015 {
00016   entityKey(entityId >> 8);
00017   entityKind(static_cast<CORBA::Octet>(0xff & entityId));
00018 }
00019 
00020 ACE_INLINE
00021 GuidBuilder::operator GUID_t()
00022 {
00023   return guid_;
00024 }
00025 
00026 } // namespace DCPS
00027 } // namespace OpenDDS
00028 
00029 OPENDDS_END_VERSIONED_NAMESPACE_DECL
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines

Generated on 10 Aug 2018 for OpenDDS by  doxygen 1.6.1