Logo ROOT   6.21/01
Reference Guide
RooVectorDataStore::CatVector Class Reference

Definition at line 472 of file RooVectorDataStore.h.

Public Member Functions

 CatVector (UInt_t initialCapacity=(VECTOR_BUFFER_SIZE/sizeof(RooCatType)))
 
 CatVector (RooAbsCategory *cat, UInt_t initialCapacity=(VECTOR_BUFFER_SIZE/sizeof(RooCatType)))
 
 CatVector (const CatVector &other, RooAbsCategory *cat=0)
 
virtual ~CatVector ()
 
const RooAbsCategorybufArg () const
 
void fill ()
 
void get (Int_t idx) const
 
void getNative (Int_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 (RooCatType *newBuf)
 
void setNativeBuffer (RooCatType *newBuf=0)
 
Int_t size () const
 
void write (Int_t i)
 

Private Attributes

RooCatType_buf
 
RooAbsCategory_cat
 
RooCatType_nativeBuf
 
std::vector< RooCatType_vec
 
RooCatType_vec0
 

Friends

class RooVectorDataStore
 

#include <RooVectorDataStore.h>

Constructor & Destructor Documentation

◆ CatVector() [1/3]

RooVectorDataStore::CatVector::CatVector ( UInt_t  initialCapacity = (VECTOR_BUFFER_SIZE / sizeof(RooCatType)))
inline

Definition at line 474 of file RooVectorDataStore.h.

◆ CatVector() [2/3]

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

Definition at line 480 of file RooVectorDataStore.h.

◆ ~CatVector()

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

Definition at line 486 of file RooVectorDataStore.h.

◆ CatVector() [3/3]

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

Definition at line 489 of file RooVectorDataStore.h.

Member Function Documentation

◆ bufArg()

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

Definition at line 564 of file RooVectorDataStore.h.

◆ fill()

void RooVectorDataStore::CatVector::fill ( )
inline

Definition at line 521 of file RooVectorDataStore.h.

◆ get()

void RooVectorDataStore::CatVector::get ( Int_t  idx) const
inline

Definition at line 534 of file RooVectorDataStore.h.

◆ getNative()

void RooVectorDataStore::CatVector::getNative ( Int_t  idx) const
inline

Definition at line 537 of file RooVectorDataStore.h.

◆ operator=()

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

Definition at line 495 of file RooVectorDataStore.h.

◆ reserve()

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

Definition at line 558 of file RooVectorDataStore.h.

◆ reset()

void RooVectorDataStore::CatVector::reset ( )
inline

Definition at line 528 of file RooVectorDataStore.h.

◆ resize()

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

Definition at line 542 of file RooVectorDataStore.h.

◆ setBufArg()

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

Definition at line 563 of file RooVectorDataStore.h.

◆ setBuffer()

void RooVectorDataStore::CatVector::setBuffer ( RooCatType newBuf)
inline

Definition at line 512 of file RooVectorDataStore.h.

◆ setNativeBuffer()

void RooVectorDataStore::CatVector::setNativeBuffer ( RooCatType newBuf = 0)
inline

Definition at line 517 of file RooVectorDataStore.h.

◆ size()

Int_t RooVectorDataStore::CatVector::size ( ) const
inline

Definition at line 540 of file RooVectorDataStore.h.

◆ write()

void RooVectorDataStore::CatVector::write ( Int_t  i)
inline

Definition at line 525 of file RooVectorDataStore.h.

Friends And Related Function Documentation

◆ RooVectorDataStore

friend class RooVectorDataStore
friend

Definition at line 567 of file RooVectorDataStore.h.

Member Data Documentation

◆ _buf

RooCatType* RooVectorDataStore::CatVector::_buf
private

Definition at line 569 of file RooVectorDataStore.h.

◆ _cat

RooAbsCategory* RooVectorDataStore::CatVector::_cat
private

Definition at line 568 of file RooVectorDataStore.h.

◆ _nativeBuf

RooCatType* RooVectorDataStore::CatVector::_nativeBuf
private

Definition at line 570 of file RooVectorDataStore.h.

◆ _vec

std::vector<RooCatType> RooVectorDataStore::CatVector::_vec
private

Definition at line 571 of file RooVectorDataStore.h.

◆ _vec0

RooCatType* RooVectorDataStore::CatVector::_vec0
private

Definition at line 572 of file RooVectorDataStore.h.

Libraries for RooVectorDataStore::CatVector:
[legend]

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