ECCE @ EIC Software
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
G4EnhancedVecAllocator< _Tp > Class Template Reference

#include <geant4/tree/geant4-10.6-release/source/geometry/volumes/include/G4EnhancedVecAllocator.hh>

+ Inheritance diagram for G4EnhancedVecAllocator< _Tp >:
+ Collaboration diagram for G4EnhancedVecAllocator< _Tp >:

Classes

struct  rebind
 

Public Member Functions

 G4EnhancedVecAllocator ()
 
 G4EnhancedVecAllocator (const G4EnhancedVecAllocator< _Tp > &)
 
template<typename _Tp1 >
 G4EnhancedVecAllocator (const G4EnhancedVecAllocator< _Tp1 > &)
 
 ~G4EnhancedVecAllocator ()
 
void deallocate (_Tp *_Ptr, size_t _Count)
 
_Tp * allocate (size_t _Count)
 

Additional Inherited Members

- Public Attributes inherited from std::allocator< T >
T elements
 STL member.
 

Detailed Description

template<typename _Tp>
class G4EnhancedVecAllocator< _Tp >

Definition at line 71 of file G4EnhancedVecAllocator.hh.

View newest version in sPHENIX GitHub at line 71 of file G4EnhancedVecAllocator.hh

Constructor & Destructor Documentation

template<typename _Tp >
G4EnhancedVecAllocator< _Tp >::G4EnhancedVecAllocator ( )
inline

Definition at line 78 of file G4EnhancedVecAllocator.hh.

View newest version in sPHENIX GitHub at line 78 of file G4EnhancedVecAllocator.hh

template<typename _Tp >
G4EnhancedVecAllocator< _Tp >::G4EnhancedVecAllocator ( const G4EnhancedVecAllocator< _Tp > &  )
inline

Definition at line 80 of file G4EnhancedVecAllocator.hh.

View newest version in sPHENIX GitHub at line 80 of file G4EnhancedVecAllocator.hh

template<typename _Tp >
template<typename _Tp1 >
G4EnhancedVecAllocator< _Tp >::G4EnhancedVecAllocator ( const G4EnhancedVecAllocator< _Tp1 > &  )
inline

Definition at line 84 of file G4EnhancedVecAllocator.hh.

View newest version in sPHENIX GitHub at line 84 of file G4EnhancedVecAllocator.hh

template<typename _Tp >
G4EnhancedVecAllocator< _Tp >::~G4EnhancedVecAllocator ( )
inline

Definition at line 87 of file G4EnhancedVecAllocator.hh.

View newest version in sPHENIX GitHub at line 87 of file G4EnhancedVecAllocator.hh

Member Function Documentation

template<typename _Tp >
_Tp * G4EnhancedVecAllocator< _Tp >::allocate ( size_t  _Count)
template<typename _Tp >
void G4EnhancedVecAllocator< _Tp >::deallocate ( _Tp *  _Ptr,
size_t  _Count 
)

Definition at line 108 of file G4EnhancedVecAllocator.hh.

View newest version in sPHENIX GitHub at line 108 of file G4EnhancedVecAllocator.hh

References G4AllocStats::allocStat, k, G4AllocStats::numCat, G4ChunkIndexType::preAllocated, and G4ChunkIndexType::totalspace.


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