STK++ 0.9.13
|
Specialization of the Proxy class for String. More...
#include <STK_Proxy.h>
Public Member Functions | |
Proxy (String &x) | |
constructor : create a reference of the String x. | |
Proxy (String const &x) | |
constructor : create a constant reference of the String x. | |
Proxy (Proxy const &p) | |
copy constructor | |
Proxy & | operator= (Proxy const &p) |
copy operator | |
~Proxy () | |
destructor. | |
operator String & () | |
Conversion operator to String. | |
operator String const & () const | |
Constant Conversion operator to String. | |
Protected Attributes | |
String & | x_ |
A reference on the String wrapped. | |
String const & | y_ |
A constant reference on the String wrapped. | |
Friends | |
istream & | operator>> (istream &is, Proxy< String > p) |
Overloading of the operator >> for the type String using a Proxy. | |
ostream & | operator<< (ostream &os, Proxy< String > const &p) |
Overloading of the operator << for the type String using a constant Proxy. | |
Specialization of the Proxy class for String.
Definition at line 137 of file STK_Proxy.h.
|
inline |
constructor : create a reference of the String x.
x | the object to wrap |
Definition at line 147 of file STK_Proxy.h.
|
inline |
constructor : create a constant reference of the String x.
x | the object to wrap |
Definition at line 151 of file STK_Proxy.h.
|
inline |
|
inline |
|
inline |
Conversion operator to String.
Definition at line 163 of file STK_Proxy.h.
References STK::Proxy< Type >::x_.
|
inline |
Constant Conversion operator to String.
Definition at line 165 of file STK_Proxy.h.
References STK::Proxy< Type >::y_.
copy operator
p | the proxy to copy |
Definition at line 159 of file STK_Proxy.h.
References STK::Proxy< Type >::x_.
Overloading of the operator << for the type String using a constant Proxy.
os | the output stream |
p | the value to send to the stream |
Definition at line 183 of file STK_Proxy.h.
Overloading of the operator >> for the type String using a Proxy.
For String type we just check that we have not read a NA value.
is | the input stream |
p | the value to get from the stream |
Definition at line 171 of file STK_Proxy.h.
|
protected |
A reference on the String wrapped.
Definition at line 140 of file STK_Proxy.h.
|
protected |
A constant reference on the String wrapped.
Definition at line 141 of file STK_Proxy.h.