Main Page | Namespace List | Class Hierarchy | Compound List | File List | Compound Members | File Members

RCBase< Type >::ValRef Class Reference

#include <RCBase.h>

Collaboration diagram for RCBase< Type >::ValRef:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 ValRef (RCBase &oo, const int ii)
 operator Type () const
void operator= (Type v)

Private Attributes

RCBaseo
const int i

template<class Type>
class RCBase< Type >::ValRef


Constructor & Destructor Documentation

template<class Type>
RCBase< Type >::ValRef::ValRef RCBase oo,
const int  ii
[inline]
 

Definition at line 121 of file RCBase.h.

References RCBase< Type >::ValRef::i, and RCBase< Type >::ValRef::o.

00121 : o(oo), i(ii) {}


Member Function Documentation

template<class Type>
RCBase< Type >::ValRef::operator Type  )  const [inline]
 

Definition at line 123 of file RCBase.h.

References RCBase< Type >::ValRef::i, RCBase< Type >::ValRef::o, and RCBase< Type >::read().

00124     {
00125       // printf("RCBase::Type\n");
00126       return o.read(i);
00127     }

template<class Type>
void RCBase< Type >::ValRef::operator= Type  v  )  [inline]
 

Definition at line 128 of file RCBase.h.

References RCBase< Type >::ValRef::i, RCBase< Type >::ValRef::o, and RCBase< Type >::write().

00129     {
00130       // printf("RCBase::operator=\n");
00131       o.write(i, v);
00132     }


Member Data Documentation

template<class Type>
const int RCBase< Type >::ValRef::i [private]
 

Definition at line 119 of file RCBase.h.

Referenced by RCBase< Type >::ValRef::operator Type(), RCBase< Type >::ValRef::operator=(), and RCBase< Type >::ValRef::ValRef().

template<class Type>
RCBase& RCBase< Type >::ValRef::o [private]
 

Definition at line 118 of file RCBase.h.

Referenced by RCBase< Type >::ValRef::operator Type(), RCBase< Type >::ValRef::operator=(), and RCBase< Type >::ValRef::ValRef().


The documentation for this class was generated from the following file:
Generated on Mon Sep 22 20:23:02 2003 by doxygen 1.3.3