blob: 433dc65abc59cf8328edc1d088598aedde234a29 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
|
/* -*- C++ -*- */
// $Id$
ACE_INLINE ACE_URL_OfferID
ACE_URL_Record::id (void) const
{
return this->id_;
}
ACE_INLINE void
ACE_URL_Record::id (ACE_URL_OfferID id)
{
delete [] this->id_;
if (id)
{
ACE_NEW (this->id_, TCHAR[ACE_OS::strlen (id) + 1]);
ACE_OS::strcpy (this->id_, id);
}
else
this->id_ = 0;
}
|