31 Ssiz_t end, cur = strm.tellg();
32 strm.seekg(0, std::ios::end);
107 if (!strm.good())
break;
140 strm.get(
c).good() && (hitSpace = isspace((
Int_t)
c)) == 0) {
174 if (os.tie()) os.tie()->flush();
179 long flags = os.flags();
180 if (
wid && !(flags & std::ios::left))
183 if (
wid && (flags & std::ios::left))
187 if (os.flags() & std::ios::unitbuf)
206 if (fgets(buf,
sizeof(buf), fp) ==
nullptr)
break;
209 }
while (!ferror(fp) && !feof(fp) && strchr(buf,
'\n') ==
nullptr);
TBuffer & operator<<(TBuffer &buf, const Tmpl *obj)
std::istream & operator>>(std::istream &strm, TString &s)
Read string from stream.
winID h TVirtualViewer3D TVirtualGLPainter p
Option_t Option_t TPoint TPoint const char GetTextMagnitude GetFillStyle GetLineColor GetLineWidth GetMarkerStyle GetTextAlign GetTextColor GetTextSize wid
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 r
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
Bool_t Gets(FILE *fp, Bool_t chop=kTRUE)
Read one line from the stream, including the \n, or until EOF.
std::istream & ReadToDelim(std::istream &str, char delim='\n')
Read up to an EOF, or a delimiting character, whichever comes first.
Bool_t EndsWith(const char *pat, ECaseCompare cmp=kExact) const
Return true if string ends with the specified string.
const char * Data() const
static TString * ReadString(TBuffer &b, const TClass *clReq)
Read TString object from buffer.
static Ssiz_t AdjustCapacity(Ssiz_t oldCap, Ssiz_t newCap)
Calculate a nice capacity greater than or equal to newCap.
void Puts(FILE *fp)
Write string to the stream.
std::istream & ReadFile(std::istream &str)
Replace string with the contents of strm, stopping at an EOF.
std::istream & ReadToken(std::istream &str)
Read a token, delimited by whitespace, from the input stream.
void Clobber(Ssiz_t nc)
Clear string and make sure it has a capacity of nc.
std::istream & ReadLine(std::istream &str, Bool_t skipWhite=kTRUE)
Read a line from stream upto newline skipping any whitespace.