TArrayC


class description - source file - inheritance tree

class TArrayC : public TArray


    public:
TArrayC TArrayC(Int_t n) TArrayC TArrayC(Int_t n, Char_t* array) TArrayC TArrayC() TArrayC TArrayC(const TArrayC& array) virtual void ~TArrayC() void AddAt(Char_t c, Int_t i) void Adopt(Int_t n, Char_t* array) Char_t At(Int_t i) TClass* Class() void Copy(TArrayC& array) Char_t* GetArray() const Stat_t GetSum() const virtual TClass* IsA() const TArrayC& operator=(const TArrayC& rhs) Char_t& operator[](Int_t i) void Reset() virtual void Set(Int_t n) void Set(Int_t n, Char_t* array) virtual void ShowMembers(TMemberInspector& insp, char* parent) virtual void Streamer(TBuffer& b)

Data Members

public:
Char_t* fArray Array of fN chars


See also

TH1C

Class Description

                                                                      
 TArrayC                                                              
                                                                      
 Array of chars or bytes (8 bits per element).                        
                                                                      


TArrayC()
 Default TArrayC ctor.

TArrayC(Int_t n)
 Create TArrayC object and set array size to n chars.

TArrayC(Int_t n, Char_t *array)
 Create TArrayC object and initialize it with values of array.

TArrayC(const TArrayC &array)
 Copy constructor.

~TArrayC()
 Delete TArrayC object.

void Adopt(Int_t n, Char_t *arr)
 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.

void AddAt(Char_t c, Int_t i)
 Add char c at position i. Check for out of bounds.

void Set(Int_t n)
 Set array size of TArrayC object to n chars. If n<0 leave array unchanged.

void Set(Int_t n, Char_t *array)
 Set array size of TArrayC object to n chars and copy array.
 If n<0 leave array unchanged.

void Streamer(TBuffer &b)
 Stream a TArrayC object.



Inline Functions


           TArrayC& operator=(const TArrayC& rhs)
             Char_t At(Int_t i)
               void Copy(TArrayC& array)
            Char_t* GetArray() const
             Stat_t GetSum() const
               void Reset()
            Char_t& operator[](Int_t i)
            TClass* Class()
            TClass* IsA() const
               void ShowMembers(TMemberInspector& insp, char* parent)


Author: Rene Brun 06/03/95
Last update: 1.03/06 27/10/97 03.22.33 by Fons Rademakers
Copyright (c) 1995-1999, The ROOT System, All rights reserved. *


ROOT page - Class index - Top of the page

This page has been automatically generated. If you have any comments or suggestions about the page layout send a mail to ROOT support, or contact the developers with any questions or problems regarding ROOT.