| 
    GammaCombo
    Rev:Unversioneddirectory
    
   | 
 
copy on write TYPE array class to make cloning cheap More...
#include <SharedArray.h>


Classes | |
| class | RWProxy | 
| proxy class to distinguish reads from writes  More... | |
Public Member Functions | |
| virtual SharedArray< TYPE > * | Clone (const char *newname=0) const | 
| clone method  More... | |
| SharedArray & | operator= (const SharedArray< TYPE > &other) | 
| assignment  More... | |
| const RWProxy | operator[] (unsigned idx) const | 
| read-only access to array elements  More... | |
| RWProxy | operator[] (unsigned idx) | 
| read-write access to array elements  More... | |
| SharedArray (unsigned sz) | |
| constructor  More... | |
| SharedArray (const SharedArray< TYPE > &other) | |
| copy constructor  More... | |
| unsigned | size () const | 
| get size of array  More... | |
| virtual | ~SharedArray () | 
| destructor  More... | |
Private Member Functions | |
| ClassDef (SharedArray, 1) | |
| SharedArray () | |
| for ROOT I/O  More... | |
| void | triggerCOW () | 
| trigger copy-on-write  More... | |
Private Attributes | |
| SharedArrayImp< TYPE > * | pimpl | 
| pointer to array implementation  More... | |
Friends | |
| class | RWProxy | 
copy on write TYPE array class to make cloning cheap
Definition at line 67 of file SharedArray.h.
      
  | 
  inlineprivate | 
for ROOT I/O
Definition at line 75 of file SharedArray.h.
      
  | 
  inline | 
constructor
Definition at line 78 of file SharedArray.h.
      
  | 
  inline | 
copy constructor
Definition at line 82 of file SharedArray.h.
      
  | 
  virtual | 
      
  | 
  private | 
      
  | 
  virtual | 
clone method
Definition at line 12 of file SharedArray.cpp.
| SharedArray< TYPE > & SharedArray< TYPE >::operator= | ( | const SharedArray< TYPE > & | other | ) | 
assignment
Definition at line 16 of file SharedArray.cpp.
      
  | 
  inline | 
read-only access to array elements
Definition at line 94 of file SharedArray.h.
      
  | 
  inline | 
read-write access to array elements
Definition at line 97 of file SharedArray.h.
      
  | 
  inline | 
get size of array
Definition at line 92 of file SharedArray.h.
      
  | 
  inlineprivate | 
trigger copy-on-write
Definition at line 102 of file SharedArray.h.
      
  | 
  friend | 
Definition at line 71 of file SharedArray.h.
      
  | 
  private | 
pointer to array implementation
Definition at line 109 of file SharedArray.h.
 1.8.12