48 lines
1.1 KiB
C++
48 lines
1.1 KiB
C++
// This code implementation is the intellectual property of
|
|
// the GEANT4 collaboration.
|
|
//
|
|
// By copying, distributing or modifying the Program (or any work
|
|
// based on the Program) you indicate your acceptance of this statement,
|
|
// and all its terms.
|
|
//
|
|
// $Id: G4OrderedTable.hh,v 1.4 1999/11/16 17:40:39 gcosmo Exp $
|
|
// GEANT4 tag $Name: geant4-01-01 $
|
|
//
|
|
//
|
|
// ------------------------------------------------------------
|
|
//
|
|
// This class is setting up an ordered collection of
|
|
// ordered vectors of <G4double>
|
|
// 30 September 1996, M.Maire
|
|
//
|
|
// ------------------------------------------------------------
|
|
|
|
#ifndef G4OrderedTable_h
|
|
#define G4OrderedTable_h 1
|
|
|
|
#include "globals.hh"
|
|
#include "g4rw/tvordvec.h"
|
|
#include "g4rw/tpordvec.h"
|
|
|
|
class G4ValVector : public G4RWTValOrderedVector<G4double>
|
|
{
|
|
|
|
public:
|
|
|
|
G4ValVector(size_t capac=G4RWDEFAULT_CAPACITY)
|
|
: G4RWTValOrderedVector<G4double>(capac) {;}
|
|
|
|
virtual ~G4ValVector() {;}
|
|
|
|
|
|
G4bool operator==(const G4ValVector &right) const
|
|
{
|
|
return (this == (G4ValVector *) &right);
|
|
}
|
|
|
|
};
|
|
|
|
typedef G4RWTPtrOrderedVector<G4ValVector> G4OrderedTable;
|
|
|
|
#endif
|