#include "DCPS/DdsDcps_pch.h"
#include "GuidBuilder.h"
#include "GuidBuilder.inl"
Include dependency graph for GuidBuilder.cpp:
Go to the source code of this file.
Namespaces | |
namespace | OpenDDS |
namespace | OpenDDS::DCPS |
Functions | |
void | fill_guid (CORBA::Octet *begin, long value, std::size_t len) |
void @15::fill_guid | ( | CORBA::Octet * | begin, | |
long | value, | |||
std::size_t | len | |||
) | [inline, static] |
Definition at line 19 of file GuidBuilder.cpp.
Referenced by OpenDDS::DCPS::GuidBuilder::entityKey(), OpenDDS::DCPS::GuidBuilder::guidPrefix0(), OpenDDS::DCPS::GuidBuilder::guidPrefix1(), and OpenDDS::DCPS::GuidBuilder::guidPrefix2().
00020 { 00021 for (std::size_t i = 0; i < len; ++i) { 00022 size_t shift = (len - i - 1) << 3; 00023 begin[i] = static_cast<CORBA::Octet>(0xff & (value >> shift)); 00024 } 00025 }