#include <Property_T.h>
Public Member Functions | |
TAO_Notify_PropertyBase_T (const char *name, const TYPE &initial) | |
Constructor. | |
TAO_Notify_PropertyBase_T (const char *name) | |
Constructor. | |
TAO_Notify_PropertyBase_T (const TAO_Notify_PropertyBase_T &rhs) | |
Copy Constructor. | |
~TAO_Notify_PropertyBase_T () | |
Destructor. | |
bool | operator== (const TYPE &rhs) const |
Equality comparison operator. | |
bool | operator!= (const TYPE &rhs) const |
Inequality comparison operator. | |
void | get (CosNotification::PropertySeq &prop_seq) |
Populate the Property Sequence with this valid value. | |
void | assign (const TYPE &value) |
const TYPE & | value (void) const |
Return the value. | |
const char * | name (void) const |
Return the name. | |
CORBA::Boolean | is_valid (void) const |
Is the current value valid. | |
void | invalidate (void) |
Invalidate this property's value. | |
Protected Attributes | |
const char * | name_ |
The Property name. | |
TYPE | value_ |
The value. | |
CORBA::Boolean | valid_ |
Is the value valid. |
Definition at line 37 of file Property_T.h.
TAO_Notify_PropertyBase_T< TYPE >::TAO_Notify_PropertyBase_T | ( | const char * | name, | |
const TYPE & | initial | |||
) |
TAO_Notify_PropertyBase_T< TYPE >::TAO_Notify_PropertyBase_T | ( | const char * | name | ) |
TAO_Notify_PropertyBase_T< TYPE >::TAO_Notify_PropertyBase_T | ( | const TAO_Notify_PropertyBase_T< TYPE > & | rhs | ) |
TAO_Notify_PropertyBase_T< TYPE >::~TAO_Notify_PropertyBase_T | ( | ) |
void TAO_Notify_PropertyBase_T< TYPE >::assign | ( | const TYPE & | value | ) |
Definition at line 46 of file Property_T.inl.
void TAO_Notify_PropertyBase_T< TYPE >::get | ( | CosNotification::PropertySeq & | prop_seq | ) |
Populate the Property Sequence with this valid value.
Make space
Definition at line 50 of file Property_T.cpp.
{ /// Make space prop_seq.length (prop_seq.length () + 1); prop_seq[prop_seq.length () - 1].value <<= this->value_; }
void TAO_Notify_PropertyBase_T< TYPE >::invalidate | ( | void | ) |
Invalidate this property's value.
Definition at line 39 of file Property_T.inl.
{ this->valid_ = 0; }
CORBA::Boolean TAO_Notify_PropertyBase_T< TYPE >::is_valid | ( | void | ) | const |
const char * TAO_Notify_PropertyBase_T< TYPE >::name | ( | void | ) | const |
bool TAO_Notify_PropertyBase_T< TYPE >::operator!= | ( | const TYPE & | rhs | ) | const |
Inequality comparison operator.
Definition at line 33 of file Property_T.inl.
{ return (this->value_ != rhs); }
bool TAO_Notify_PropertyBase_T< TYPE >::operator== | ( | const TYPE & | rhs | ) | const |
Equality comparison operator.
Definition at line 27 of file Property_T.inl.
{ return (this->value_ == rhs); }
const TYPE & TAO_Notify_PropertyBase_T< TYPE >::value | ( | void | ) | const |
const char* TAO_Notify_PropertyBase_T< TYPE >::name_ [protected] |
The Property name.
Definition at line 78 of file Property_T.h.
CORBA::Boolean TAO_Notify_PropertyBase_T< TYPE >::valid_ [protected] |
Is the value valid.
Definition at line 84 of file Property_T.h.
TYPE TAO_Notify_PropertyBase_T< TYPE >::value_ [protected] |
The value.
Definition at line 81 of file Property_T.h.