diff options
author | William R. Otte <wotte@dre.vanderbilt.edu> | 2006-07-24 15:50:30 +0000 |
---|---|---|
committer | William R. Otte <wotte@dre.vanderbilt.edu> | 2006-07-24 15:50:30 +0000 |
commit | c44379cc7d9c7aa113989237ab0f56db12aa5219 (patch) | |
tree | 66a84b20d47f2269d8bdc6e0323f338763424d3a /ACE/ace/Service_Types.inl | |
parent | 3aff90f4a822fcf5d902bbfbcc9fa931d6191a8c (diff) | |
download | ATCD-c44379cc7d9c7aa113989237ab0f56db12aa5219.tar.gz |
Repo restructuring
Diffstat (limited to 'ACE/ace/Service_Types.inl')
-rw-r--r-- | ACE/ace/Service_Types.inl | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/ACE/ace/Service_Types.inl b/ACE/ace/Service_Types.inl new file mode 100644 index 00000000000..9ebfd705ced --- /dev/null +++ b/ACE/ace/Service_Types.inl @@ -0,0 +1,32 @@ +// -*- C++ -*- +// +// $Id$ + +#include "ace/ACE.h" + +ACE_BEGIN_VERSIONED_NAMESPACE_DECL + +ACE_INLINE void * +ACE_Service_Type_Impl::object (void) const +{ + ACE_TRACE ("ACE_Service_Type_Impl::object"); + return this->obj_; +} + +ACE_INLINE const ACE_TCHAR * +ACE_Service_Type_Impl::name (void) const +{ + ACE_TRACE ("ACE_Service_Type_Impl::name"); + return this->name_; +} + +ACE_INLINE void +ACE_Service_Type_Impl::name (const ACE_TCHAR *n) +{ + ACE_TRACE ("ACE_Service_Type_Impl::name"); + + ACE::strdelete (const_cast<ACE_TCHAR*> (this->name_)); + this->name_ = ACE::strnew (n); +} + +ACE_END_VERSIONED_NAMESPACE_DECL |