| 
    GammaCombo
    Rev:Unversioneddirectory
    
   | 
 
class to hold array data, refcounted More...
#include <SharedArray.h>


Public Member Functions | |
| SharedArrayImp< TYPE > * | acquire () | 
| acquire a reference  More... | |
| virtual SharedArrayImp< TYPE > * | Clone (const char *newname=0) const | 
| clone method  More... | |
| const TYPE & | operator[] (unsigned idx) const | 
| read-only access  More... | |
| TYPE & | operator[] (unsigned idx) | 
| read-write access  More... | |
| unsigned | refCount () const | 
| return reference count  More... | |
| void | release () | 
| release a reference  More... | |
| SharedArrayImp () | |
| for ROOT I/O  More... | |
| SharedArrayImp (unsigned size) | |
| constructor  More... | |
| SharedArrayImp (const SharedArrayImp< TYPE > &other) | |
| copy constructor  More... | |
| unsigned | size () const | 
| return size of array  More... | |
| virtual | ~SharedArrayImp () | 
| destructor  More... | |
Private Member Functions | |
| ClassDef (SharedArrayImp, 1) | |
Private Attributes | |
| std::vector< TYPE > | arr | 
| array  More... | |
| unsigned | refcount | 
| reference count  More... | |
class to hold array data, refcounted
Definition at line 20 of file SharedArray.h.
      
  | 
  inline | 
for ROOT I/O
Definition at line 24 of file SharedArray.h.
| SharedArrayImp< TYPE >::SharedArrayImp | ( | unsigned | size | ) | 
constructor
Definition at line 28 of file SharedArray.cpp.
| SharedArrayImp< TYPE >::SharedArrayImp | ( | const SharedArrayImp< TYPE > & | other | ) | 
copy constructor
Definition at line 41 of file SharedArray.cpp.
      
  | 
  virtual | 
destructor
Definition at line 33 of file SharedArray.cpp.
      
  | 
  inline | 
acquire a reference
Definition at line 39 of file SharedArray.h.
      
  | 
  private | 
      
  | 
  virtual | 
clone method
Definition at line 37 of file SharedArray.cpp.
      
  | 
  inline | 
read-only access
Definition at line 47 of file SharedArray.h.
      
  | 
  inline | 
read-write access
Definition at line 50 of file SharedArray.h.
      
  | 
  inline | 
return reference count
Definition at line 37 of file SharedArray.h.
      
  | 
  inline | 
release a reference
Definition at line 42 of file SharedArray.h.
      
  | 
  inline | 
return size of array
Definition at line 45 of file SharedArray.h.
      
  | 
  private | 
array
Definition at line 56 of file SharedArray.h.
      
  | 
  private | 
reference count
Definition at line 54 of file SharedArray.h.
 1.8.12