Analysis Software
Documentation for sPHENIX simulation software
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
AnyVector Class Reference

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

Public Member Functions

 AnyVector ()=default
 
 AnyVector (AnyVector &&other)
 
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 ( )
default
AnyVector::AnyVector ( AnyVector &&  other)
inline

Definition at line 45 of file compareRootFiles.hpp.

View newest version in sPHENIX GitHub at line 45 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 73 of file compareRootFiles.hpp.

View newest version in sPHENIX GitHub at line 73 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

References check_smearing_config::args, and testing::internal::move().

+ Here is the call graph for this function:

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 77 of file compareRootFiles.hpp.

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


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