Hall A ROOT/C++ Analyzer (podd)
Loading...
Searching...
No Matches
THaArrayString Class Reference

Definition at line 13 of file THaArrayString.h.

Public Types

enum  EStatus {
  kOK , kBadsyntax , kIllegalchars , kToolarge ,
  kToolong , kNotinit
}
 

Public Member Functions

const Int_tGetDim () const
 
Int_t GetLen () const
 
const char * GetName () const
 
Int_t GetNdim () const
 
ULong_t Hash () const
 
Bool_t IsArray () const
 
Bool_t IsError () const
 
 operator const char * () const
 
 operator const TString & () const
 
bool operator! () const
 
THaArrayStringoperator= (const char *rhs)
 
THaArrayStringoperator= (const THaArrayString &)
 
Int_t operator[] (Int_t i) const
 
virtual Int_t Parse (const char *string="")
 
virtual void Print (Option_t *opt="") const
 
EStatus Status () const
 
 THaArrayString ()
 
 THaArrayString (const char *string)
 
 THaArrayString (const THaArrayString &)
 
virtual ~THaArrayString ()
 

Protected Attributes

union { 
 
   Int_t *   fDim 
 
   Int_t   fDimA [kMaxA
 
};  
 
Int_t fLen
 
TString fName
 
Int_t fNdim
 
EStatus fStatus
 

Static Protected Attributes

static const Int_t kMaxA = 1
 

#include <THaArrayString.h>

Member Enumeration Documentation

◆ EStatus

Enumerator
kOK 
kBadsyntax 
kIllegalchars 
kToolarge 
kToolong 
kNotinit 

Definition at line 16 of file THaArrayString.h.

Constructor & Destructor Documentation

◆ THaArrayString() [1/3]

THaArrayString::THaArrayString ( )
inline

Definition at line 19 of file THaArrayString.h.

◆ THaArrayString() [2/3]

THaArrayString::THaArrayString ( const char *  string)
inline

Definition at line 20 of file THaArrayString.h.

◆ THaArrayString() [3/3]

THaArrayString::THaArrayString ( const THaArrayString rhs)

Definition at line 36 of file THaArrayString.cxx.

◆ ~THaArrayString()

virtual THaArrayString::~THaArrayString ( )
inlinevirtual

Definition at line 26 of file THaArrayString.h.

Member Function Documentation

◆ GetDim()

const Int_t * THaArrayString::GetDim ( ) const
inline

Definition at line 77 of file THaArrayString.h.

◆ GetLen()

Int_t THaArrayString::GetLen ( ) const
inline

Definition at line 34 of file THaArrayString.h.

◆ GetName()

const char * THaArrayString::GetName ( ) const
inline

Definition at line 35 of file THaArrayString.h.

◆ GetNdim()

Int_t THaArrayString::GetNdim ( ) const
inline

Definition at line 36 of file THaArrayString.h.

◆ Hash()

ULong_t THaArrayString::Hash ( ) const
inline

Definition at line 37 of file THaArrayString.h.

◆ IsArray()

Bool_t THaArrayString::IsArray ( ) const
inline

Definition at line 38 of file THaArrayString.h.

◆ IsError()

Bool_t THaArrayString::IsError ( ) const
inline

Definition at line 39 of file THaArrayString.h.

◆ operator const char *()

THaArrayString::operator const char * ( ) const
inline

Definition at line 28 of file THaArrayString.h.

◆ operator const TString &()

THaArrayString::operator const TString & ( ) const
inline

Definition at line 29 of file THaArrayString.h.

◆ operator!()

bool THaArrayString::operator! ( ) const
inline

Definition at line 31 of file THaArrayString.h.

◆ operator=() [1/2]

THaArrayString & THaArrayString::operator= ( const char *  rhs)
inline

Definition at line 25 of file THaArrayString.h.

◆ operator=() [2/2]

THaArrayString & THaArrayString::operator= ( const THaArrayString rhs)

Definition at line 52 of file THaArrayString.cxx.

◆ operator[]()

Int_t THaArrayString::operator[] ( Int_t  i) const
inline

Definition at line 64 of file THaArrayString.h.

◆ Parse()

Int_t THaArrayString::Parse ( const char *  string = "")
virtual

Definition at line 76 of file THaArrayString.cxx.

◆ Print()

void THaArrayString::Print ( Option_t opt = "") const
virtual

Definition at line 274 of file THaArrayString.cxx.

◆ Status()

EStatus THaArrayString::Status ( ) const
inline

Definition at line 42 of file THaArrayString.h.

Member Data Documentation

◆ [union]

union { ... } THaArrayString

◆ fDim

Int_t* THaArrayString::fDim

Definition at line 53 of file THaArrayString.h.

◆ fDimA

Int_t THaArrayString::fDimA[kMaxA]

Definition at line 54 of file THaArrayString.h.

◆ fLen

Int_t THaArrayString::fLen
protected

Definition at line 56 of file THaArrayString.h.

◆ fName

TString THaArrayString::fName
protected

Definition at line 50 of file THaArrayString.h.

◆ fNdim

Int_t THaArrayString::fNdim
protected

Definition at line 51 of file THaArrayString.h.

◆ fStatus

EStatus THaArrayString::fStatus
protected

Definition at line 57 of file THaArrayString.h.

◆ kMaxA

const Int_t THaArrayString::kMaxA = 1
staticprotected

Definition at line 48 of file THaArrayString.h.

Collaboration diagram for THaArrayString:

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