Re: Text_t question

From: Pasha Murat (murat@cdfsga.fnal.gov)
Date: Fri Aug 20 1999 - 19:06:24 MEST


Hi Andrew - I hope this will help:

>grep Text_t $ROOTSYS/include/Rtypes.h
typedef char           Text_t;      //General string

					best, Pasha
-----------------------------------------------------------------------------
Andrew Askew (padley) writes:
 > Hi ROOTers,
 > 
 > This may sound like a trivial question, but I'm somewhat befuddled by the
 > variable type Text_t.  Many function prototypes take this argument for
 > their text boxes etc., but actually knowing how to work with this
 > construct is not clear to me.  The only definition its given in the
 > Classes and Members Reference Guide is:
 > Text_t........Generic String
 > 
 > Does that mean one treats its instantiation like a char array?  Its
 > obvious that this and the TString type are in no way inheritence related
 > at least, but what operations are defined for Text_t?  How does one
 > construct Text_ts with more than just one char (this is all I can get it
 > to do at the moment, is instantiate a Text_t with one character, which is 
 > not terribly useful)?
 > 
 > Andrew 



This archive was generated by hypermail 2b29 : Tue Jan 04 2000 - 00:43:38 MET