00001 // -*- C++ -*- 00002 // 00003 // $Id: Property_Boolean.inl 69353 2005-11-14 22:03:50Z ossama $ 00004 00005 TAO_BEGIN_VERSIONED_NAMESPACE_DECL 00006 00007 ACE_INLINE TAO_Notify_Property_Boolean& 00008 TAO_Notify_Property_Boolean::operator= (const TAO_Notify_Property_Boolean& rhs) 00009 { 00010 if (this == &rhs) 00011 return *this; 00012 00013 if (rhs.is_valid ()) 00014 { 00015 this->name_ = rhs.name_; 00016 this->value_ = rhs.value_; 00017 this->valid_ = rhs.valid_; 00018 } 00019 00020 return *this; 00021 } 00022 00023 ACE_INLINE TAO_Notify_Property_Boolean& 00024 TAO_Notify_Property_Boolean::operator= (const CORBA::Boolean& value) 00025 { 00026 this->value_ = value; 00027 00028 return *this; 00029 } 00030 00031 ACE_INLINE bool 00032 TAO_Notify_Property_Boolean::operator== (const CORBA::Boolean &rhs) const 00033 { 00034 return (this->value_ == rhs); 00035 } 00036 00037 ACE_INLINE bool 00038 TAO_Notify_Property_Boolean::operator!= (const CORBA::Boolean &rhs) const 00039 { 00040 return (this->value_ != rhs); 00041 } 00042 00043 ACE_INLINE 00044 const char * 00045 TAO_Notify_Property_Boolean::name (void) const 00046 { 00047 return this->name_; 00048 } 00049 00050 ACE_INLINE CORBA::Boolean 00051 TAO_Notify_Property_Boolean::value (void) const 00052 { 00053 return this->value_; 00054 } 00055 00056 ACE_INLINE CORBA::Boolean 00057 TAO_Notify_Property_Boolean::is_valid (void) const 00058 { 00059 return this->valid_; 00060 } 00061 00062 TAO_END_VERSIONED_NAMESPACE_DECL