yoda is hosted by Hepforge, IPPP Durham
YODA - Yet more Objects for Data Analysis 2.0.0
TestHelpers Namespace Reference

Classes

struct  TestData
 Precalculated data with it's properties used in statistical objects tests. More...
 

Functions

void skip_lines (std::istream &pStream, size_t pLines)
 From here: https://stackoverflow.com/a/2581839.
 

Function Documentation

◆ skip_lines()

void TestHelpers::skip_lines ( std::istream &  pStream,
size_t  pLines 
)

From here: https://stackoverflow.com/a/2581839.

Definition at line 10 of file TestHelpers.h.

11 {
12 std::string s;
13 for (; pLines; --pLines)
14 std::getline(pStream, s);
15 }

Referenced by TestHelpers::TestData::TestData().