ROOT  6.06/09
Reference Guide
Public Member Functions | Private Attributes | Friends | List of all members
RooVectorDataStore::CatVector Class Reference

Definition at line 461 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)))
 
virtual ~CatVector ()
 
 CatVector (const CatVector &other, RooAbsCategory *cat=0)
 
CatVectoroperator= (const CatVector &other)
 
void setBuffer (RooCatType *newBuf)
 
void setNativeBuffer (RooCatType *newBuf=0)
 
void fill ()
 
void write (Int_t i)
 
void reset ()
 
void get (Int_t idx) const
 
void getNative (Int_t idx) const
 
Int_t size () const
 
void resize (Int_t siz)
 
void reserve (Int_t siz)
 
void setBufArg (RooAbsCategory *arg)
 
const RooAbsCategorybufArg () const
 

Private Attributes

RooAbsCategory_cat
 
RooCatType_buf
 
RooCatType_nativeBuf
 
std::vector< RooCatType_vec
 
RooCatType_vec0
 

Friends

class RooVectorDataStore
 

#include <RooVectorDataStore.h>

+ Collaboration diagram for RooVectorDataStore::CatVector:

Constructor & Destructor Documentation

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

Definition at line 463 of file RooVectorDataStore.h.

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

Definition at line 469 of file RooVectorDataStore.h.

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

Definition at line 475 of file RooVectorDataStore.h.

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

Definition at line 478 of file RooVectorDataStore.h.

Member Function Documentation

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

Definition at line 553 of file RooVectorDataStore.h.

void RooVectorDataStore::CatVector::fill ( )
inline

Definition at line 510 of file RooVectorDataStore.h.

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

Definition at line 523 of file RooVectorDataStore.h.

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

Definition at line 526 of file RooVectorDataStore.h.

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

Definition at line 484 of file RooVectorDataStore.h.

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

Definition at line 547 of file RooVectorDataStore.h.

void RooVectorDataStore::CatVector::reset ( )
inline

Definition at line 517 of file RooVectorDataStore.h.

void RooVectorDataStore::CatVector::resize ( Int_t  siz)
inline
void RooVectorDataStore::CatVector::setBufArg ( RooAbsCategory arg)
inline

Definition at line 552 of file RooVectorDataStore.h.

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

Definition at line 501 of file RooVectorDataStore.h.

Referenced by RooAbsCategory::attachToVStore().

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

Definition at line 506 of file RooVectorDataStore.h.

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

Definition at line 529 of file RooVectorDataStore.h.

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

Friends And Related Function Documentation

friend class RooVectorDataStore
friend

Definition at line 556 of file RooVectorDataStore.h.

Member Data Documentation

RooCatType* RooVectorDataStore::CatVector::_buf
private

Definition at line 558 of file RooVectorDataStore.h.

Referenced by fill(), get(), operator=(), setBuffer(), setNativeBuffer(), and write().

RooAbsCategory* RooVectorDataStore::CatVector::_cat
private

Definition at line 557 of file RooVectorDataStore.h.

Referenced by bufArg(), operator=(), and setBufArg().

RooCatType* RooVectorDataStore::CatVector::_nativeBuf
private

Definition at line 559 of file RooVectorDataStore.h.

Referenced by getNative(), operator=(), setBuffer(), and setNativeBuffer().

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

Definition at line 560 of file RooVectorDataStore.h.

Referenced by CatVector(), fill(), operator=(), reserve(), reset(), resize(), size(), and write().

RooCatType* RooVectorDataStore::CatVector::_vec0
private

Definition at line 561 of file RooVectorDataStore.h.

Referenced by CatVector(), fill(), get(), getNative(), operator=(), reserve(), reset(), and resize().


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