]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - EVE/Reve/Plex.h
Add some class docs.
[u/mrichter/AliRoot.git] / EVE / Reve / Plex.h
index 40a025f789f03e40aa74a2f9298973061b6b1f41..9de25b87a39cca939db2814675f248dd5a56f0da 100644 (file)
@@ -23,8 +23,8 @@ private:
   VoidCPlex& operator=(const VoidCPlex&); // Not implemented
 
 protected:
-  Int_t fS; // Size of atom
-  Int_t fN; // Number of atoms in a chunk
+  Int_t fS;        // Size of atom
+  Int_t fN;        // Number of atoms in a chunk
 
   Int_t fSize;     // Size of container, number of atoms
   Int_t fVecSize;  // Number of allocated chunks
@@ -80,10 +80,12 @@ public:
     Int_t   index()      { return fAtomIndex; }
   };
 
-
-  ClassDef(VoidCPlex, 1)
+  ClassDef(VoidCPlex, 1); // Vector-like container with chunked memory allocation.
 };
 
+
+/******************************************************************************/
+
 inline Char_t* VoidCPlex::NewAtom()
 {
   Char_t *a = (fSize >= fCapacity) ? NewChunk() : Atom(fSize);
@@ -111,7 +113,7 @@ inline Bool_t VoidCPlex::iterator::next()
 
 
 /**************************************************************************/
-// Some-class CPlex
+// Templated some-class CPlex
 /**************************************************************************/
 
 template<class T>
@@ -131,7 +133,7 @@ public:
   T* At(Int_t idx)  { return reinterpret_cast<T*>(Atom(idx)); }
   T& Ref(Int_t idx) { return *At(idx); }
 
-  ClassDef(CPlex, 1)
+  ClassDef(CPlex, 1); // Templated class for specific atom classes (given as template argument).
 }; // endclass CPlex
 
 }