37 : fName(rhs.fName), fNdim(rhs.fNdim), fLen(rhs.fLen), fStatus(rhs.fStatus)
97 static const size_t MAXLEN = 255;
98 bool changed =
false, dyn =
false;
99 char *str =
nullptr, *s, *t;
102 Int_t ncomma = 0, nl = 0, nr = 0;
106 if( !
string || !*
string ) {
110 if(
fLen != -1 )
goto ok;
114 len = strlen(
string);
117 if(
len > MAXLEN )
goto toolong;
121 str =
new char[
len+1 ];
125 if( *cs !=
' ' && *cs !=
'\t' )
132 if( t == str )
goto notinit;
138 while( *t && *t !=
'[' ) {
139 if( *t !=
',' && *t !=
']' && *t !=
'(' && *t !=
')' )
146 if( t == str )
goto badsyntax;
175 if ( *t <
'0' || *t >
'9' )
184 if( nl != nr || (ncomma && nl>1) || *(t-1) !=
']' )
198 for(
int i=0; i<
fNdim; i++ ) {
200 while ( *t && *t !=
',' && *t !=
']' ) {
202 if( *t ==
'[' )
goto badsyntax;
207 if( !*t || t == s )
goto badsyntax;
215 if( llen >
kMaxInt )
goto toolarge;
216 if( dyn )
fDim[i] = j;
223 if( !ncomma && *t ) {
266 for(
Int_t i = 0; i<ndim; i++ ) {
Option_t Option_t TPoint TPoint const char GetTextMagnitude GetFillStyle GetLineColor GetLineWidth GetMarkerStyle GetTextAlign GetTextColor GetTextSize void char Point_t Rectangle_t WindowAttributes_t Float_t Float_t Float_t Int_t Int_t UInt_t UInt_t Rectangle_t Int_t Int_t Window_t TString Int_t GCValues_t GetPrimarySelectionOwner GetDisplay GetScreen GetColormap GetNativeEvent const char const char dpyName wid window const char font_name cursor keysym reg const char only_if_exist regb h Point_t winding char text const char depth char const char Int_t count const char ColorStruct_t color const char Pixmap_t Pixmap_t PictureAttributes_t attr const char char ret_data h unsigned char height h Atom_t Int_t ULong_t ULong_t unsigned char prop_list Atom_t Atom_t Atom_t Time_t UChar_t len
static void WriteDims(Int_t ndim, const Int_t *dims)
virtual void Print(Option_t *opt="") const
virtual Int_t Parse(const char *string="")
THaArrayString & operator=(const THaArrayString &)
const char * Data() const
Bool_t Contains(const char *pat, ECaseCompare cmp=kExact) const