Logo ROOT  
Reference Guide
RooVectorDataStore::CatVector Class Reference

Definition at line 481 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 483 of file RooVectorDataStore.h.

◆ CatVector() [2/3]

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

Definition at line 489 of file RooVectorDataStore.h.

◆ ~CatVector()

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

Definition at line 495 of file RooVectorDataStore.h.

◆ CatVector() [3/3]

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

Definition at line 498 of file RooVectorDataStore.h.

Member Function Documentation

◆ bufArg()

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

Definition at line 574 of file RooVectorDataStore.h.

◆ fill()

void RooVectorDataStore::CatVector::fill ( )
inline

Definition at line 530 of file RooVectorDataStore.h.

◆ load()

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

Definition at line 544 of file RooVectorDataStore.h.

◆ loadToNative()

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

Definition at line 548 of file RooVectorDataStore.h.

◆ operator=()

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

Definition at line 504 of file RooVectorDataStore.h.

◆ reserve()

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

Definition at line 569 of file RooVectorDataStore.h.

◆ reset()

void RooVectorDataStore::CatVector::reset ( )
inline

Definition at line 538 of file RooVectorDataStore.h.

◆ resize()

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

Definition at line 554 of file RooVectorDataStore.h.

◆ setBufArg()

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

Definition at line 573 of file RooVectorDataStore.h.

◆ setBuffer()

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

Definition at line 521 of file RooVectorDataStore.h.

◆ setNativeBuffer()

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

Definition at line 526 of file RooVectorDataStore.h.

◆ size()

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

Definition at line 552 of file RooVectorDataStore.h.

◆ write()

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

Definition at line 534 of file RooVectorDataStore.h.

Friends And Related Function Documentation

◆ RooVectorDataStore

friend class RooVectorDataStore
friend

Definition at line 577 of file RooVectorDataStore.h.

Member Data Documentation

◆ _buf

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

Definition at line 579 of file RooVectorDataStore.h.

◆ _cat

RooAbsCategory* RooVectorDataStore::CatVector::_cat
private

Definition at line 578 of file RooVectorDataStore.h.

◆ _nativeBuf

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

Definition at line 580 of file RooVectorDataStore.h.

◆ _vec

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

Definition at line 581 of file RooVectorDataStore.h.

Libraries for RooVectorDataStore::CatVector:
[legend]

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