ROOT  6.06/09
Reference Guide
Functions
ROOT::TreeUtils Namespace Reference

Functions

template<class DataType , class Tuple >
Long64_t FillNtupleFromStream (std::istream &inputStream, Tuple &tuple, char delimiter, bool strictMode)
 
void SkipEmptyLines (std::istream &input)
 Skips empty lines (newline-characters), ws-lines (consisting only of whitespace characters + newline-characters). More...
 
void SkipWSCharacters (std::istream &input)
 Skip whitespace characters, but not newline-characters we support ('\r' or '\n'). More...
 
bool NextCharacterIsEOL (std::istream &input)
 Either '\r' | '\n' or eof of some problem. More...
 
template Long64_t FillNtupleFromStream< Float_t, TNtuple > (std::istream &, TNtuple &, char, bool)
 
template Long64_t FillNtupleFromStream< Double_t, TNtupleD > (std::istream &, TNtupleD &, char, bool)
 
void SkipComment (std::istream &input)
 Skips everything from '#' to (including) '\r' or '\n'. More...
 

Function Documentation

template<class DataType , class Tuple >
Long64_t ROOT::TreeUtils::FillNtupleFromStream ( std::istream &  inputStream,
Tuple &  tuple,
char  delimiter,
bool  strictMode 
)

Definition at line 78 of file TreeUtils.cxx.

template Long64_t ROOT::TreeUtils::FillNtupleFromStream< Double_t, TNtupleD > ( std::istream &  ,
TNtupleD ,
char  ,
bool   
)

Referenced by TNtupleD::ReadStream().

template Long64_t ROOT::TreeUtils::FillNtupleFromStream< Float_t, TNtuple > ( std::istream &  ,
TNtuple ,
char  ,
bool   
)

Referenced by TNtuple::ReadStream().

bool ROOT::TreeUtils::NextCharacterIsEOL ( std::istream &  input)

Either '\r' | '\n' or eof of some problem.

Definition at line 296 of file TreeUtils.cxx.

Referenced by FillNtupleFromStream().

void ROOT::TreeUtils::SkipComment ( std::istream &  input)

Skips everything from '#' to (including) '\r' or '\n'.

Definition at line 238 of file TreeUtils.cxx.

Referenced by SkipEmptyLines().

void ROOT::TreeUtils::SkipEmptyLines ( std::istream &  input)

Skips empty lines (newline-characters), ws-lines (consisting only of whitespace characters + newline-characters).

Definition at line 257 of file TreeUtils.cxx.

Referenced by FillNtupleFromStream().

void ROOT::TreeUtils::SkipWSCharacters ( std::istream &  input)

Skip whitespace characters, but not newline-characters we support ('\r' or '\n').

Definition at line 278 of file TreeUtils.cxx.

Referenced by FillNtupleFromStream().