#include <field_proxy.h>
Inheritance diagram for pqxxobject::field_proxy< T >:
Public Types | |
typedef T::value_type | value_type |
Public Member Functions | |
field_proxy (T &value) | |
The constructor. | |
field_proxy (const field_proxy &rhs) | |
The copy constructor. | |
~field_proxy () | |
The destructor (non-virtual). | |
field_proxy< T > & | operator= (const value_type &rhs) |
Overloaded assignment operator. | |
operator value_type () const | |
Conversion operator. | |
bool | is_null () const |
Check if the contained value is NULL. | |
bool | is_not_null () const |
Check if the contained value is not NULL. | |
Private Attributes | |
T & | m_value |
The contained value. |
This class is a proxy for a field class. That is, it represents a field class, and forwards a subset of the field operations to the referenced field. It is used to limit access to the field.
Definition at line 58 of file field_proxy.h.
|
Reimplemented in pqxxobject::field_proxy_readonly< T >, and pqxxobject::field_proxy_writeonly< T >. Definition at line 61 of file field_proxy.h. |
|
The constructor.
Definition at line 64 of file field_proxy.h. |
|
The copy constructor.
Definition at line 70 of file field_proxy.h. |
|
The destructor (non-virtual).
Definition at line 76 of file field_proxy.h. |
|
Check if the contained value is not NULL.
Definition at line 105 of file field_proxy.h. |
|
Check if the contained value is NULL.
Definition at line 96 of file field_proxy.h. |
|
Conversion operator.
Reimplemented in pqxxobject::field_proxy_writeonly< T >. Definition at line 87 of file field_proxy.h. |
|
Overloaded assignment operator.
Reimplemented in pqxxobject::field_proxy_readonly< T >. Definition at line 80 of file field_proxy.h. |
|
The contained value.
Definition at line 112 of file field_proxy.h. |