LCOV - code coverage report
Current view: top level - DCPS - GuidBuilder.inl (source / functions) Hit Total Coverage
Test: coverage.info Lines: 6 6 100.0 %
Date: 2023-04-30 01:32:43 Functions: 2 2 100.0 %

          Line data    Source code
       1             : /*
       2             :  *
       3             :  *
       4             :  * Distributed under the OpenDDS License.
       5             :  * See: http://www.opendds.org/license.html
       6             :  */
       7             : 
       8             : OPENDDS_BEGIN_VERSIONED_NAMESPACE_DECL
       9             : 
      10             : namespace OpenDDS {
      11             : namespace DCPS {
      12             : 
      13             : ACE_INLINE void
      14          10 : GuidBuilder::entityId(long entityId)
      15             : {
      16          10 :   entityKey(entityId >> 8);
      17          10 :   entityKind(static_cast<CORBA::Octet>(0xff & entityId));
      18          10 : }
      19             : 
      20             : ACE_INLINE
      21          19 : GuidBuilder::operator GUID_t()
      22             : {
      23          19 :   return guid_;
      24             : }
      25             : 
      26             : } // namespace DCPS
      27             : } // namespace OpenDDS
      28             : 
      29             : OPENDDS_END_VERSIONED_NAMESPACE_DECL

Generated by: LCOV version 1.16