ECCE @ EIC Software
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
AnyVector Class Reference

#include <acts/blob/master/Examples/Scripts/compareRootFiles.hpp>

Public Member Functions

 AnyVector ()
 
AnyVectoroperator= (const AnyVector &)=delete
 
 ~AnyVector ()
 

Static Public Member Functions

template<typename T , typename... Args>
static std::pair< AnyVector,
std::vector< T > * > 
create (Args &&...args)
 

Public Attributes

 m_deleter
 

Private Member Functions

 AnyVector (void *vector, std::function< void()> &&deleter)
 

Private Attributes

std::function< void()> m_deleter
 

Detailed Description

Definition at line 28 of file compareRootFiles.hpp.

View newest version in sPHENIX GitHub at line 28 of file compareRootFiles.hpp

Constructor & Destructor Documentation

AnyVector::AnyVector ( )
inline

Definition at line 42 of file compareRootFiles.hpp.

View newest version in sPHENIX GitHub at line 42 of file compareRootFiles.hpp

AnyVector::~AnyVector ( )
inline

Definition at line 65 of file compareRootFiles.hpp.

View newest version in sPHENIX GitHub at line 65 of file compareRootFiles.hpp

References m_deleter.

AnyVector::AnyVector ( void vector,
std::function< void()> &&  deleter 
)
inlineprivate

Definition at line 72 of file compareRootFiles.hpp.

View newest version in sPHENIX GitHub at line 72 of file compareRootFiles.hpp

Member Function Documentation

template<typename T , typename... Args>
static std::pair<AnyVector, std::vector<T>*> AnyVector::create ( Args &&...  args)
inlinestatic

Definition at line 34 of file compareRootFiles.hpp.

View newest version in sPHENIX GitHub at line 34 of file compareRootFiles.hpp

AnyVector& AnyVector::operator= ( const AnyVector )
delete

Member Data Documentation

AnyVector::m_deleter
Initial value:
{std::move(other.m_deleter)} {
other.m_vector = nullptr;
}
if (&other != this) {
m_vector = other.m_vector;
m_deleter = std::move(other.m_deleter);
other.m_vector = nullptr;
}
return *this;
}
AnyVector(const AnyVector&) = delete

Definition at line 46 of file compareRootFiles.hpp.

View newest version in sPHENIX GitHub at line 46 of file compareRootFiles.hpp

Referenced by ~AnyVector().

std::function<void()> AnyVector::m_deleter
private

Definition at line 76 of file compareRootFiles.hpp.

View newest version in sPHENIX GitHub at line 76 of file compareRootFiles.hpp


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