PG_Properties_Encoder.inl

Go to the documentation of this file.
00001 // -*- C++ -*-
00002 
00003 //=============================================================================
00004 /**
00005  *  @file    PG_Properties_Encoder.inl
00006  *
00007  *  PG_Properties_Encoder.inl,v 1.4 2005/11/14 22:03:50 ossama Exp
00008  *
00009  *  @author Dale Wilson <wilson_d@ociweb.com>
00010  */
00011 //=============================================================================
00012 
00013 TAO_BEGIN_VERSIONED_NAMESPACE_DECL
00014 
00015 namespace TAO_PG
00016 {
00017   ACE_INLINE
00018   Properties_Encoder::NamedValue::NamedValue ()
00019   {
00020   }
00021 
00022   ACE_INLINE
00023   Properties_Encoder::NamedValue::NamedValue (const ACE_CString & name, const PortableGroup::Value & value)
00024     : name_ (name)
00025     , value_ (value)
00026   {
00027   }
00028 
00029   ACE_INLINE
00030   Properties_Encoder::NamedValue::NamedValue (const Properties_Encoder::NamedValue & rhs)
00031     : name_ (rhs.name_)
00032     , value_ (rhs.value_)
00033   {
00034   }
00035 
00036   ACE_INLINE
00037   Properties_Encoder::NamedValue &
00038   Properties_Encoder::NamedValue::operator = (const Properties_Encoder::NamedValue & rhs)
00039   {
00040     if (this != &rhs)
00041     {
00042       this->name_ = rhs.name_;
00043       this->value_ = rhs.value_;
00044     }
00045     return *this;
00046   }
00047 
00048   ACE_INLINE
00049   bool
00050   Properties_Encoder::NamedValue::operator == (const Properties_Encoder::NamedValue &rhs) const
00051   {
00052     return this->name_ == rhs.name_;
00053   }
00054 
00055   ACE_INLINE
00056   bool
00057   Properties_Encoder::NamedValue::operator != (const Properties_Encoder::NamedValue &rhs) const
00058   {
00059     return this->name_ != rhs.name_;
00060   }
00061 
00062 } //namespace TAO_PG
00063 
00064 TAO_END_VERSIONED_NAMESPACE_DECL

Generated on Thu Nov 9 14:03:34 2006 for TAO_PortableGroup by doxygen 1.3.6