Logo ROOT  
Reference Guide
 
Loading...
Searching...
No Matches
RooVectorDataStore::CatVector Class Reference

Definition at line 492 of file RooVectorDataStore.h.

Public Member Functions

 CatVector (const CatVector &other, RooAbsCategory *cat=nullptr)
 
 CatVector (RooAbsCategory *cat, UInt_t initialCapacity=VECTOR_BUFFER_SIZE)
 
 CatVector (UInt_t initialCapacity=VECTOR_BUFFER_SIZE)
 
virtual ~CatVector ()
 
const RooAbsCategorybufArg () const
 
void fill ()
 
void load (std::size_t idx) const
 
void loadToNative (std::size_t idx) const
 
CatVectoroperator= (const CatVector &other)
 
void reserve (Int_t siz)
 
void reset ()
 
void resize (Int_t siz)
 
void setBufArg (RooAbsCategory *arg)
 
void setBuffer (RooAbsCategory::value_type *newBuf)
 
void setNativeBuffer (RooAbsCategory::value_type *newBuf=nullptr)
 
std::size_t size () const
 
void write (std::size_t i)
 

Private Attributes

RooAbsCategory::value_type_buf
 
RooAbsCategory_cat
 
RooAbsCategory::value_type_nativeBuf
 
std::vector< RooAbsCategory::value_type_vec
 

Friends

class RooVectorDataStore
 

#include <RooVectorDataStore.h>

Constructor & Destructor Documentation

◆ CatVector() [1/3]

RooVectorDataStore::CatVector::CatVector ( UInt_t  initialCapacity = VECTOR_BUFFER_SIZE)
inline

Definition at line 494 of file RooVectorDataStore.h.

◆ CatVector() [2/3]

RooVectorDataStore::CatVector::CatVector ( RooAbsCategory cat,
UInt_t  initialCapacity = VECTOR_BUFFER_SIZE 
)
inline

Definition at line 500 of file RooVectorDataStore.h.

◆ ~CatVector()

virtual RooVectorDataStore::CatVector::~CatVector ( )
inlinevirtual

Definition at line 506 of file RooVectorDataStore.h.

◆ CatVector() [3/3]

RooVectorDataStore::CatVector::CatVector ( const CatVector other,
RooAbsCategory cat = nullptr 
)
inline

Definition at line 509 of file RooVectorDataStore.h.

Member Function Documentation

◆ bufArg()

const RooAbsCategory * RooVectorDataStore::CatVector::bufArg ( ) const
inline

Definition at line 585 of file RooVectorDataStore.h.

◆ fill()

void RooVectorDataStore::CatVector::fill ( )
inline

Definition at line 541 of file RooVectorDataStore.h.

◆ load()

void RooVectorDataStore::CatVector::load ( std::size_t  idx) const
inline

Definition at line 555 of file RooVectorDataStore.h.

◆ loadToNative()

void RooVectorDataStore::CatVector::loadToNative ( std::size_t  idx) const
inline

Definition at line 559 of file RooVectorDataStore.h.

◆ operator=()

CatVector & RooVectorDataStore::CatVector::operator= ( const CatVector other)
inline

Definition at line 515 of file RooVectorDataStore.h.

◆ reserve()

void RooVectorDataStore::CatVector::reserve ( Int_t  siz)
inline

Definition at line 580 of file RooVectorDataStore.h.

◆ reset()

void RooVectorDataStore::CatVector::reset ( )
inline

Definition at line 549 of file RooVectorDataStore.h.

◆ resize()

void RooVectorDataStore::CatVector::resize ( Int_t  siz)
inline

Definition at line 565 of file RooVectorDataStore.h.

◆ setBufArg()

void RooVectorDataStore::CatVector::setBufArg ( RooAbsCategory arg)
inline

Definition at line 584 of file RooVectorDataStore.h.

◆ setBuffer()

void RooVectorDataStore::CatVector::setBuffer ( RooAbsCategory::value_type newBuf)
inline

Definition at line 532 of file RooVectorDataStore.h.

◆ setNativeBuffer()

void RooVectorDataStore::CatVector::setNativeBuffer ( RooAbsCategory::value_type newBuf = nullptr)
inline

Definition at line 537 of file RooVectorDataStore.h.

◆ size()

std::size_t RooVectorDataStore::CatVector::size ( ) const
inline

Definition at line 563 of file RooVectorDataStore.h.

◆ write()

void RooVectorDataStore::CatVector::write ( std::size_t  i)
inline

Definition at line 545 of file RooVectorDataStore.h.

Friends And Related Symbol Documentation

◆ RooVectorDataStore

friend class RooVectorDataStore
friend

Definition at line 588 of file RooVectorDataStore.h.

Member Data Documentation

◆ _buf

RooAbsCategory::value_type* RooVectorDataStore::CatVector::_buf
private

Definition at line 590 of file RooVectorDataStore.h.

◆ _cat

RooAbsCategory* RooVectorDataStore::CatVector::_cat
private

Definition at line 589 of file RooVectorDataStore.h.

◆ _nativeBuf

RooAbsCategory::value_type* RooVectorDataStore::CatVector::_nativeBuf
private

Definition at line 591 of file RooVectorDataStore.h.

◆ _vec

std::vector<RooAbsCategory::value_type> RooVectorDataStore::CatVector::_vec
private

Definition at line 592 of file RooVectorDataStore.h.

Libraries for RooVectorDataStore::CatVector:

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