GammaCombo  Rev:Unversioneddirectory
Public Member Functions | Private Attributes | List of all members
SharedArray< TYPE >::RWProxy Class Reference

proxy class to distinguish reads from writes More...

#include <SharedArray.h>

Collaboration diagram for SharedArray< TYPE >::RWProxy:
Collaboration graph
[legend]

Public Member Functions

 operator TYPE () const
 rvalue use More...
 
bool operator!= (const TYPE d) const
 non-equality More...
 
bool operator!= (const RWProxy &other) const
 non-equality More...
 
RWProxyoperator*= (const TYPE d)
 multiplication and assignment More...
 
RWProxyoperator*= (const RWProxy &other)
 multiplication and assignment More...
 
RWProxyoperator++ ()
 prefix increment More...
 
TYPE operator++ (int)
 postfix increment More...
 
RWProxyoperator+= (const TYPE d)
 addition and assignment More...
 
RWProxyoperator+= (const RWProxy &other)
 addition and assignment More...
 
RWProxyoperator-- ()
 prefix decrement More...
 
TYPE operator-- (int)
 postfix decrement More...
 
RWProxyoperator-= (const TYPE d)
 subtraction and assignment More...
 
RWProxyoperator-= (const RWProxy &other)
 subtraction and assignment More...
 
RWProxyoperator/= (const TYPE d)
 division and assignment More...
 
RWProxyoperator/= (const RWProxy &other)
 division and assignment More...
 
bool operator< (const TYPE d) const
 comparison More...
 
bool operator< (const RWProxy &other) const
 comparison More...
 
bool operator<= (const TYPE d) const
 comparison More...
 
bool operator<= (const RWProxy &other) const
 comparison More...
 
RWProxyoperator= (const TYPE d)
 lvalue use More...
 
RWProxyoperator= (const RWProxy &other)
 lvalue use More...
 
bool operator== (const TYPE d) const
 equality More...
 
bool operator== (const RWProxy &other) const
 equality More...
 
bool operator> (const TYPE d) const
 comparison More...
 
bool operator> (const RWProxy &other) const
 comparison More...
 
bool operator>= (const TYPE d) const
 comparison More...
 
bool operator>= (const RWProxy &other) const
 comparison More...
 
 RWProxy (SharedArray *par, unsigned i)
 constructor More...
 

Private Attributes

unsigned idx
 
SharedArrayparent
 

Detailed Description

template<class TYPE>
class SharedArray< TYPE >::RWProxy

proxy class to distinguish reads from writes

Author
Manuel Tobias Schiller manue.nosp@m.l.sc.nosp@m.hille.nosp@m.r@ni.nosp@m.khef..nosp@m.nl
Date
2012-08-30

since it's only used within SharedArray itself and is never persistified, there is no need to make ROOT aware of it

Definition at line 121 of file SharedArray.h.

Constructor & Destructor Documentation

§ RWProxy()

template<class TYPE>
SharedArray< TYPE >::RWProxy::RWProxy ( SharedArray par,
unsigned  i 
)
inline

constructor

Definition at line 125 of file SharedArray.h.

Member Function Documentation

§ operator TYPE()

template<class TYPE>
SharedArray< TYPE >::RWProxy::operator TYPE ( ) const
inline

rvalue use

Definition at line 130 of file SharedArray.h.

§ operator!=() [1/2]

template<class TYPE>
bool SharedArray< TYPE >::RWProxy::operator!= ( const TYPE  d) const
inline

non-equality

Definition at line 208 of file SharedArray.h.

§ operator!=() [2/2]

template<class TYPE>
bool SharedArray< TYPE >::RWProxy::operator!= ( const RWProxy other) const
inline

non-equality

Definition at line 211 of file SharedArray.h.

§ operator*=() [1/2]

template<class TYPE>
RWProxy& SharedArray< TYPE >::RWProxy::operator*= ( const TYPE  d)
inline

multiplication and assignment

Definition at line 175 of file SharedArray.h.

§ operator*=() [2/2]

template<class TYPE>
RWProxy& SharedArray< TYPE >::RWProxy::operator*= ( const RWProxy other)
inline

multiplication and assignment

Definition at line 178 of file SharedArray.h.

§ operator++() [1/2]

template<class TYPE>
RWProxy& SharedArray< TYPE >::RWProxy::operator++ ( )
inline

prefix increment

Definition at line 189 of file SharedArray.h.

§ operator++() [2/2]

template<class TYPE>
TYPE SharedArray< TYPE >::RWProxy::operator++ ( int  )
inline

postfix increment

Definition at line 194 of file SharedArray.h.

§ operator+=() [1/2]

template<class TYPE>
RWProxy& SharedArray< TYPE >::RWProxy::operator+= ( const TYPE  d)
inline

addition and assignment

Definition at line 161 of file SharedArray.h.

§ operator+=() [2/2]

template<class TYPE>
RWProxy& SharedArray< TYPE >::RWProxy::operator+= ( const RWProxy other)
inline

addition and assignment

Definition at line 164 of file SharedArray.h.

§ operator--() [1/2]

template<class TYPE>
RWProxy& SharedArray< TYPE >::RWProxy::operator-- ( )
inline

prefix decrement

Definition at line 191 of file SharedArray.h.

§ operator--() [2/2]

template<class TYPE>
TYPE SharedArray< TYPE >::RWProxy::operator-- ( int  )
inline

postfix decrement

Definition at line 197 of file SharedArray.h.

§ operator-=() [1/2]

template<class TYPE>
RWProxy& SharedArray< TYPE >::RWProxy::operator-= ( const TYPE  d)
inline

subtraction and assignment

Definition at line 168 of file SharedArray.h.

§ operator-=() [2/2]

template<class TYPE>
RWProxy& SharedArray< TYPE >::RWProxy::operator-= ( const RWProxy other)
inline

subtraction and assignment

Definition at line 171 of file SharedArray.h.

§ operator/=() [1/2]

template<class TYPE>
RWProxy& SharedArray< TYPE >::RWProxy::operator/= ( const TYPE  d)
inline

division and assignment

Definition at line 182 of file SharedArray.h.

§ operator/=() [2/2]

template<class TYPE>
RWProxy& SharedArray< TYPE >::RWProxy::operator/= ( const RWProxy other)
inline

division and assignment

Definition at line 185 of file SharedArray.h.

§ operator<() [1/2]

template<class TYPE>
bool SharedArray< TYPE >::RWProxy::operator< ( const TYPE  d) const
inline

comparison

Definition at line 215 of file SharedArray.h.

§ operator<() [2/2]

template<class TYPE>
bool SharedArray< TYPE >::RWProxy::operator< ( const RWProxy other) const
inline

comparison

Definition at line 218 of file SharedArray.h.

§ operator<=() [1/2]

template<class TYPE>
bool SharedArray< TYPE >::RWProxy::operator<= ( const TYPE  d) const
inline

comparison

Definition at line 229 of file SharedArray.h.

§ operator<=() [2/2]

template<class TYPE>
bool SharedArray< TYPE >::RWProxy::operator<= ( const RWProxy other) const
inline

comparison

Definition at line 232 of file SharedArray.h.

§ operator=() [1/2]

template<class TYPE>
RWProxy& SharedArray< TYPE >::RWProxy::operator= ( const TYPE  d)
inline

lvalue use

Definition at line 134 of file SharedArray.h.

§ operator=() [2/2]

template<class TYPE>
RWProxy& SharedArray< TYPE >::RWProxy::operator= ( const RWProxy other)
inline

lvalue use

Definition at line 150 of file SharedArray.h.

§ operator==() [1/2]

template<class TYPE>
bool SharedArray< TYPE >::RWProxy::operator== ( const TYPE  d) const
inline

equality

Definition at line 201 of file SharedArray.h.

§ operator==() [2/2]

template<class TYPE>
bool SharedArray< TYPE >::RWProxy::operator== ( const RWProxy other) const
inline

equality

Definition at line 204 of file SharedArray.h.

§ operator>() [1/2]

template<class TYPE>
bool SharedArray< TYPE >::RWProxy::operator> ( const TYPE  d) const
inline

comparison

Definition at line 222 of file SharedArray.h.

§ operator>() [2/2]

template<class TYPE>
bool SharedArray< TYPE >::RWProxy::operator> ( const RWProxy other) const
inline

comparison

Definition at line 225 of file SharedArray.h.

§ operator>=() [1/2]

template<class TYPE>
bool SharedArray< TYPE >::RWProxy::operator>= ( const TYPE  d) const
inline

comparison

Definition at line 236 of file SharedArray.h.

§ operator>=() [2/2]

template<class TYPE>
bool SharedArray< TYPE >::RWProxy::operator>= ( const RWProxy other) const
inline

comparison

Definition at line 239 of file SharedArray.h.

Member Data Documentation

§ idx

template<class TYPE>
unsigned SharedArray< TYPE >::RWProxy::idx
private

Definition at line 244 of file SharedArray.h.

§ parent

template<class TYPE>
SharedArray* SharedArray< TYPE >::RWProxy::parent
private

Definition at line 243 of file SharedArray.h.


The documentation for this class was generated from the following file: