OpenStudio:airflow
Loading...
Searching...
No Matches
openstudio::contam::Reader Class Reference

#include <PrjReader.hpp>

Public Member Functions

int lineNumber () const
 
template<class T >
read ()
 
void read999 ()
 
void read999 (std::string mesg)
 
double readDouble ()
 
template<class T >
std::vector< std::shared_ptr< T > > readElementVector (const std::string &name=std::string())
 
void readEnd ()
 
 Reader (const std::string &string, int starting=0)
 
 Reader (openstudio::filesystem::ifstream &file)
 
int readInt ()
 
std::vector< int > readIntVector (bool terminated=false)
 
std::string readLine ()
 
template<class T >
readNumber ()
 
std::string readSection ()
 
template<class T >
std::vector< T > readSectionVector (const std::string &name=std::string())
 
std::string readString ()
 
unsigned readUInt ()
 
void skipSection ()
 
 ~Reader ()=default
 

Constructor & Destructor Documentation

◆ Reader() [1/2]

openstudio::contam::Reader::Reader ( openstudio::filesystem::ifstream & file)
explicit

◆ Reader() [2/2]

openstudio::contam::Reader::Reader ( const std::string & string,
int starting = 0 )
explicit

◆ ~Reader()

openstudio::contam::Reader::~Reader ( )
default

Member Function Documentation

◆ lineNumber()

int openstudio::contam::Reader::lineNumber ( ) const
inline

◆ read()

template<class T >
T openstudio::contam::Reader::read ( )

◆ read999() [1/2]

void openstudio::contam::Reader::read999 ( )

◆ read999() [2/2]

void openstudio::contam::Reader::read999 ( std::string mesg)

◆ readDouble()

double openstudio::contam::Reader::readDouble ( )

◆ readElementVector()

template<class T >
std::vector< std::shared_ptr< T > > openstudio::contam::Reader::readElementVector ( const std::string & name = std::string())

◆ readEnd()

void openstudio::contam::Reader::readEnd ( )

◆ readInt()

int openstudio::contam::Reader::readInt ( )

◆ readIntVector()

std::vector< int > openstudio::contam::Reader::readIntVector ( bool terminated = false)

◆ readLine()

std::string openstudio::contam::Reader::readLine ( )

◆ readNumber()

template<class T >
T openstudio::contam::Reader::readNumber ( )

◆ readSection()

std::string openstudio::contam::Reader::readSection ( )

◆ readSectionVector()

template<class T >
std::vector< T > openstudio::contam::Reader::readSectionVector ( const std::string & name = std::string())

◆ readString()

std::string openstudio::contam::Reader::readString ( )

◆ readUInt()

unsigned openstudio::contam::Reader::readUInt ( )

◆ skipSection()

void openstudio::contam::Reader::skipSection ( )