ROOT  6.07/01
Reference Guide
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
List of all members | Public Member Functions | Static Public Member Functions | Public Attributes | Protected Member Functions | Friends | List of all members
TArray Class Referenceabstract

Abstract array base class.

Used by TArrayC, TArrayS, TArrayI, TArrayL, TArrayF and TArrayD. Data member is public for historical reasons.

Definition at line 33 of file TArray.h.

Public Member Functions

 TArray ()
 
 TArray (Int_t n)
 
 TArray (const TArray &a)
 
TArrayoperator= (const TArray &rhs)
 
virtual ~TArray ()
 
Int_t GetSize () const
 
virtual void Set (Int_t n)=0
 
virtual Double_t GetAt (Int_t i) const =0
 
virtual void SetAt (Double_t v, Int_t i)=0
 

Static Public Member Functions

static TArrayReadArray (TBuffer &b, const TClass *clReq)
 Read TArray object from buffer. More...
 
static void WriteArray (TBuffer &b, const TArray *a)
 Write TArray object to buffer. More...
 

Public Attributes

Int_t fN
 

Protected Member Functions

Bool_t BoundsOk (const char *where, Int_t at) const
 
Bool_t OutOfBoundsError (const char *where, Int_t i) const
 

Friends

TBufferoperator<< (TBuffer &b, const TArray *obj)
 Write TArray or derived object to buffer. More...
 

#include <TArray.h>

Inheritance diagram for TArray:
[legend]

Constructor & Destructor Documentation

TArray::TArray ( )
inline

Definition at line 42 of file TArray.h.

TArray::TArray ( Int_t  n)
inline

Definition at line 43 of file TArray.h.

TArray::TArray ( const TArray a)
inline

Definition at line 44 of file TArray.h.

virtual TArray::~TArray ( )
inlinevirtual

Definition at line 47 of file TArray.h.

Member Function Documentation

Bool_t TArray::BoundsOk ( const char *  where,
Int_t  at 
) const
inlineprotected
virtual Double_t TArray::GetAt ( Int_t  i) const
pure virtual
Int_t TArray::GetSize ( ) const
inline

Definition at line 49 of file TArray.h.

Referenced by THnSparseArrayChunk::AddBin(), TEvePointSet::AssertIntIdsSize(), RooStats::BayesianCalculator::ComputeShortestInterval(), THnBase::CreateHist(), TDecompSparse::Decompose(), TUnfold::ErrorMatrixToHist(), TDecompSparse::Factor(), TFITSHDU::GetArrayColumn(), TFITSHDU::GetArrayRow(), THnSparse::GetBinContent(), THnSparse::GetBinError2(), getGaussRnd(), TDsKey::GetKey(), TTreeFormulaManager::GetNdata(), TRobustEstimator::GetNOut(), TUnfold::GetOutput(), TTreeFormula::GetRealInstance(), TUnfold::GetRhoIFromMatrix(), TFormLeafInfoMultiVarDim::GetSize(), TDsKey::GetSum(), TProofPlayerSuperMaster::HandleTimer(), THnBase::Init(), TDecompSparse::InitPivot(), TAxis::IsVariableBinSize(), TBufferJSON::JsonWriteMember(), TTreeFormula::LoadCurrentDim(), TFormLeafInfoMultiVarDim::LoadSizes(), TFormLeafInfoMultiVarDimCollection::LoadSizes(), TFormLeafInfoMultiVarDimClones::LoadSizes(), TH2::Merge(), TH3::Merge(), TH1::Merge(), TDsKey::operator==(), portfolio(), TProofPlayerSuperMaster::Progress(), TFITSHDU::ReadAsHistogram(), TFITSHDU::ReadAsImage(), TFITSHDU::ReadAsMatrix(), TFile::ReadStreamerInfo(), TProfile::Rebin(), TH1::Rebin(), TH2::Rebin2D(), TProfile2D::Rebin2D(), TH3::Rebin3D(), THnBase::RebinBase(), rr_arrayc_new(), rr_arrayd_new(), rr_arrayf_new(), rr_arrayi_new(), rr_arrayl_new(), rr_arrays_new(), TASImage::SetImage(), TDecompSparse::SetMatrix(), TDecompSparse::Solve(), THnSparseArrayChunk::Sumw2(), TStreamerInfo::TagFile(), TBufferFile::TagStreamerInfo(), TGRegion::TGRegion(), THnSparseArrayChunk::THnSparseArrayChunk(), TFormLeafInfoMultiVarDim::UpdateSizes(), TParallelMergingFile::UploadAndReset(), TMVA::PDF::ValidatePDF(), and TParallelMergingFile::WriteStreamerInfo().

TArray& TArray::operator= ( const TArray rhs)
inline

Definition at line 45 of file TArray.h.

Bool_t TArray::OutOfBoundsError ( const char *  where,
Int_t  i 
) const
protected

Referenced by BoundsOk().

TArray * TArray::ReadArray ( TBuffer b,
const TClass clReq 
)
static

Read TArray object from buffer.

Simplified version of TBuffer::ReadObject (does not keep track of multiple references to same array).

Definition at line 41 of file TArray.cxx.

Referenced by operator>>().

virtual void TArray::Set ( Int_t  n)
pure virtual

Implemented in TArrayD, TArrayF, TArrayI, TArrayL, TArrayL64, TArrayS, and TArrayC.

Referenced by TH1::Copy().

virtual void TArray::SetAt ( Double_t  v,
Int_t  i 
)
pure virtual
void TArray::WriteArray ( TBuffer b,
const TArray a 
)
static

Write TArray object to buffer.

Simplified version of TBuffer::WriteObject (does not keep track of multiple references to the same array).

Definition at line 82 of file TArray.cxx.

Referenced by operator<<().

Friends And Related Function Documentation

TBuffer& operator<< ( TBuffer b,
const TArray obj 
)
friend

Write TArray or derived object to buffer.

Definition at line 112 of file TArray.cxx.

Member Data Documentation

Int_t TArray::fN

Definition at line 40 of file TArray.h.

Referenced by TH2Poly::Add(), TH1::Add(), TArrayC::Adopt(), TArrayD::Adopt(), TArrayF::Adopt(), TArrayI::Adopt(), TArrayL::Adopt(), TArrayS::Adopt(), TArrayL64::Adopt(), BoundsOk(), TH1::CheckBinLimits(), TH1::ClearUnderflowAndOverflow(), TArrayD::Copy(), TArrayL::Copy(), TArrayC::Copy(), TArrayF::Copy(), TArrayL64::Copy(), TArrayS::Copy(), TArrayI::Copy(), TF2::CreateHistogram(), TGraphAsymmErrors::Divide(), TProfile::Divide(), TProfile2D::Divide(), TProfile3D::Divide(), TH1::Divide(), TH1::DoFillN(), TH3::DoFillProfileProjection(), TH2::DoFitSlices(), TProfile2D::DoProfile(), TH2::DoProfile(), TH3::DoProject1D(), TH3::DoProject2D(), TH2::DoProjection(), TProfile3D::DoProjectProfile2D(), TH3::DoProjectProfile2D(), TH2::DoQuantiles(), TH1::DrawNormalized(), TH1::Eval(), TH1K::Fill(), TH2::Fill(), TH3::Fill(), TH2Poly::Fill(), TProfile::Fill(), TProfile2D::Fill(), TProfile3D::Fill(), TH1::Fill(), RooAbsData::fillHistogram(), TH2::FillN(), TProfile::FillN(), TH1::FillRandom(), TAxis::FindBin(), TAxis::FindFixBin(), TH3::FitSlicesZ(), TProfile::GetB2(), TProfile2D::GetB2(), TProfile3D::GetB2(), TAxis::GetBinCenter(), TAxis::GetBinCenterLog(), TH2Poly::GetBinError(), TH1::GetBinError(), TH1::GetBinErrorLow(), TH1::GetBinErrorSqUnchecked(), TH1::GetBinErrorUp(), TAxis::GetBinLowEdge(), TAxis::GetBinUpEdge(), TAxis::GetBinWidth(), TF2::GetContour(), TH1::GetContour(), TF2::GetContourLevel(), TH1::GetContourLevel(), TH1::GetContourLevelPad(), GetSize(), TProfile::GetStats(), TProfile2D::GetStats(), TProfile3D::GetStats(), TArrayD::GetSum(), TArrayI::GetSum(), TArrayL64::GetSum(), TArrayF::GetSum(), TArrayS::GetSum(), TArrayL::GetSum(), TArrayC::GetSum(), TH1::GetSumw2N(), TMVA::Tools::HistoHasEquidistantBins(), IsEquidistantBinning(), TH1::LabelsDeflate(), TH1::LabelsInflate(), TH1::LabelsOption(), TH2::Merge(), TH3::Merge(), TH1::Merge(), TH1::Multiply(), TDecayChannel::NDaughters(), TArrayF::operator=(), TArrayI::operator=(), TArrayL64::operator=(), TArrayL::operator=(), TArrayS::operator=(), TArrayC::operator=(), TArrayD::operator=(), operator=(), THStack::Paint(), TF2::Paint(), THistPainter::PaintErrors(), THistPainter::PaintHist(), TH1::Print(), TProfile::ProjectionX(), TProfile2D::ProjectionXY(), TProfile3D::ProjectionXYZ(), TProfile::Rebin(), TH1::Rebin(), TH2::Rebin2D(), TProfile2D::Rebin2D(), TH3::Rebin3D(), TH1::Rebuild(), TArrayD::Reset(), TArrayC::Reset(), TArrayL64::Reset(), TArrayL::Reset(), TArrayI::Reset(), TArrayS::Reset(), TArrayF::Reset(), TH1::ResetStats(), TH2Poly::SavePrimitive(), TProfile::SavePrimitive(), TEfficiency::SavePrimitive(), TProfile3D::SavePrimitive(), TProfile2D::SavePrimitive(), TH1::SavePrimitive(), TH1::Scale(), TArrayC::Set(), TArrayF::Set(), TArrayD::Set(), TArrayL64::Set(), TArrayI::Set(), TArrayS::Set(), TArrayL::Set(), TAxis::Set(), TH1::SetBinError(), TProfile3D::SetBins(), TProfile2D::SetBins(), TH1::SetBins(), TF2::SetContourLevel(), TH1::SetContourLevel(), TH2::Smooth(), TH1::Sumw2(), TArrayC::TArrayC(), TArrayD::TArrayD(), TArrayF::TArrayF(), TArrayI::TArrayI(), TArrayL::TArrayL(), TArrayL64::TArrayL64(), TArrayS::TArrayS(), and ~TArray().


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