Property_T.inl

Go to the documentation of this file.
00001 // -*- C++ -*-
00002 //
00003 // $Id: Property_T.inl 69353 2005-11-14 22:03:50Z ossama $
00004 
00005 TAO_BEGIN_VERSIONED_NAMESPACE_DECL
00006 
00007 template <class TYPE> ACE_INLINE const TYPE&
00008 TAO_Notify_PropertyBase_T<TYPE>::value (void) const
00009 {
00010   return this->value_;
00011 }
00012 
00013 template <class TYPE> ACE_INLINE
00014 const char *
00015 TAO_Notify_PropertyBase_T<TYPE>::name (void) const
00016 {
00017   return this->name_;
00018 }
00019 
00020 template <class TYPE> ACE_INLINE CORBA::Boolean
00021 TAO_Notify_PropertyBase_T<TYPE>::is_valid (void) const
00022 {
00023   return this->valid_;
00024 }
00025 
00026 template <class TYPE> ACE_INLINE bool
00027 TAO_Notify_PropertyBase_T<TYPE>::operator== (const TYPE &rhs) const
00028 {
00029   return (this->value_ == rhs);
00030 }
00031 
00032 template <class TYPE> ACE_INLINE bool
00033 TAO_Notify_PropertyBase_T<TYPE>::operator!= (const TYPE &rhs) const
00034 {
00035   return (this->value_ != rhs);
00036 }
00037 
00038 template <class TYPE> ACE_INLINE void
00039 TAO_Notify_PropertyBase_T<TYPE>:: invalidate (void)
00040 {
00041   this->valid_ = 0;
00042 }
00043 
00044 template <class TYPE> ACE_INLINE
00045 void
00046 TAO_Notify_PropertyBase_T<TYPE>:: assign (const TYPE& value)
00047 {
00048   this->value_ = value;
00049   this->valid_ = 1;
00050 }
00051 
00052 
00053 
00054 /******************************************************************************/
00055 
00056 template <class TYPE> ACE_INLINE
00057 const char *
00058 TAO_Notify_StructProperty_T<TYPE>::name (void) const
00059 {
00060   return this->name_;
00061 }
00062 
00063 template <class TYPE> ACE_INLINE const TYPE&
00064 TAO_Notify_StructProperty_T<TYPE>::value (void) const
00065 {
00066   return this->value_;
00067 }
00068 
00069 
00070 
00071 template <class TYPE> ACE_INLINE CORBA::Boolean
00072 TAO_Notify_StructProperty_T<TYPE>::is_valid (void) const
00073 {
00074   return this->valid_;
00075 }
00076 
00077 TAO_END_VERSIONED_NAMESPACE_DECL

Generated on Tue Feb 2 17:45:29 2010 for TAO_CosNotification by  doxygen 1.4.7