ROOT
6.07/01
Reference Guide
|
Public Member Functions | |
TArrayC () | |
TArrayC (Int_t n) | |
Create TArrayC object and set array size to n chars. More... | |
TArrayC (Int_t n, const Char_t *array) | |
Create TArrayC object and initialize it with values of array. More... | |
TArrayC (const TArrayC &array) | |
Copy constructor. More... | |
TArrayC & | operator= (const TArrayC &rhs) |
TArrayC assignment operator. More... | |
virtual | ~TArrayC () |
Delete TArrayC object. More... | |
void | Adopt (Int_t n, Char_t *array) |
Adopt array arr into TArrayC, i.e. More... | |
void | AddAt (Char_t c, Int_t i) |
Add char c at position i. Check for out of bounds. More... | |
Char_t | At (Int_t i) const |
void | Copy (TArrayC &array) const |
const Char_t * | GetArray () const |
Char_t * | GetArray () |
Double_t | GetAt (Int_t i) const |
Stat_t | GetSum () const |
void | Reset (Char_t val=0) |
void | Set (Int_t n) |
Set size of this array to n chars. More... | |
void | Set (Int_t n, const Char_t *array) |
Set size of this array to n chars and set the contents. More... | |
void | SetAt (Double_t v, Int_t i) |
Char_t & | operator[] (Int_t i) |
Char_t | operator[] (Int_t i) const |
Public Member Functions inherited from TArray | |
TArray () | |
TArray (Int_t n) | |
TArray (const TArray &a) | |
TArray & | operator= (const TArray &rhs) |
virtual | ~TArray () |
Int_t | GetSize () const |
Public Attributes | |
Char_t * | fArray |
Public Attributes inherited from TArray | |
Int_t | fN |
Additional Inherited Members | |
Static Public Member Functions inherited from TArray | |
static TArray * | ReadArray (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... | |
Protected Member Functions inherited from TArray | |
Bool_t | BoundsOk (const char *where, Int_t at) const |
Bool_t | OutOfBoundsError (const char *where, Int_t i) const |
#include <TArrayC.h>
TArrayC::TArrayC | ( | ) |
TArrayC::TArrayC | ( | Int_t | n | ) |
Create TArrayC object and set array size to n chars.
Definition at line 34 of file TArrayC.cxx.
Create TArrayC object and initialize it with values of array.
Definition at line 43 of file TArrayC.cxx.
TArrayC::TArrayC | ( | const TArrayC & | array | ) |
Copy constructor.
Definition at line 52 of file TArrayC.cxx.
|
virtual |
Delete TArrayC object.
Definition at line 71 of file TArrayC.cxx.
Add char c at position i. Check for out of bounds.
Definition at line 93 of file TArrayC.cxx.
Referenced by SetAt().
Adopt array arr into TArrayC, i.e.
don't copy arr but use it directly in TArrayC. User may not delete arr, TArrayC dtor will do it.
Definition at line 81 of file TArrayC.cxx.
Definition at line 80 of file TArrayC.h.
Referenced by GetAt(), and rr_arrayc_new().
Definition at line 44 of file TArrayC.h.
Referenced by TH1C::TH1C(), TH2C::TH2C(), and TH3C::TH3C().
TArrayC assignment operator.
Definition at line 61 of file TArrayC.cxx.
Definition at line 49 of file TArrayC.h.
Referenced by TSQLFile::InitSqlDatabase(), TXMLFile::InitXmlFile(), TH2C::Reset(), TH3C::Reset(), and TH1C::Reset().
Set size of this array to n chars.
A new array is created, the old contents copied to the new array, then the old array is deleted. This function should not be called if the array was declared via Adopt.
Implements TArray.
Definition at line 105 of file TArrayC.cxx.
Referenced by Copy(), operator=(), TFile::ReadStreamerInfo(), TH2C::SetBinsLength(), TH3C::SetBinsLength(), TH1C::SetBinsLength(), TArrayC(), TH1C::TH1C(), TH2C::TH2C(), TH3C::TH3C(), and TParallelMergingFile::UploadAndReset().
Set size of this array to n chars and set the contents.
This function should not be called if the array was declared via Adopt.
Definition at line 129 of file TArrayC.cxx.
Char_t* TArrayC::fArray |
Definition at line 32 of file TArrayC.h.
Referenced by AddAt(), TH2C::AddBinContent(), TH3C::AddBinContent(), TH1C::AddBinContent(), Adopt(), At(), Copy(), TStreamerInfo::ForceWriteInfo(), GetArray(), GetSum(), operator=(), operator[](), TFile::ReadStreamerInfo(), TEveChunkManager::Refit(), Reset(), TH2C::RetrieveBinContent(), TH3C::RetrieveBinContent(), TH1C::RetrieveBinContent(), Set(), TStreamerInfo::TagFile(), TBufferFile::TagStreamerInfo(), TArrayC(), TH2C::UpdateBinContent(), TH3C::UpdateBinContent(), TH1C::UpdateBinContent(), TParallelMergingFile::UploadAndReset(), TParallelMergingFile::WriteStreamerInfo(), TXMLFile::WriteStreamerInfo(), TFile::WriteStreamerInfo(), TSQLFile::WriteStreamerInfo(), and ~TArrayC().