=default for generated implementation copy ctor
[ACE_TAO.git] / TAO / tao / PortableServer / IdAssignmentStrategy.cpp
blobbd03e9693d6a92addab45f875432ea7681f05b92
1 #include "tao/PortableServer/IdAssignmentStrategy.h"
3 TAO_BEGIN_VERSIONED_NAMESPACE_DECL
5 namespace TAO
7 namespace Portable_Server
9 char
10 IdAssignmentStrategy::key_type_length () const
12 return sizeof (char);
15 void
16 IdAssignmentStrategy::create_key (
17 CORBA::Octet *buffer,
18 CORBA::ULong& starting_at)
20 // Copy the system id byte.
21 buffer[starting_at] = (CORBA::Octet) this->id_assignment_key_type ();
22 starting_at += this->key_type_length ();
28 TAO_END_VERSIONED_NAMESPACE_DECL