HPCToolkit
IOUtil Namespace Reference

Functions

std::istream * OpenIStream (const char *filenm)
 
std::ostream * OpenOStream (const char *filenm)
 
void CloseStream (std::istream *s)
 
void CloseStream (std::ostream *s)
 
void CloseStream (std::iostream *s)
 
void OpenIFile (std::ifstream &fs, const char *filenm)
 
void OpenOFile (std::ofstream &fs, const char *filenm)
 
void CloseFile (std::fstream &fs)
 
std::string Get (std::istream &is, char end)
 
std::string GetLine (std::istream &is, char end)
 
bool Skip (std::istream &is, const char *s)
 
bool Skip (std::istream &is, const std::string &s)
 

Function Documentation

◆ CloseFile()

void IOUtil::CloseFile ( std::fstream &  fs)

Definition at line 178 of file IOUtil.cpp.

◆ CloseStream() [1/3]

void IOUtil::CloseStream ( std::istream *  s)

Definition at line 127 of file IOUtil.cpp.

Here is the caller graph for this function:

◆ CloseStream() [2/3]

void IOUtil::CloseStream ( std::ostream *  s)

Definition at line 136 of file IOUtil.cpp.

◆ CloseStream() [3/3]

void IOUtil::CloseStream ( std::iostream *  s)

Definition at line 145 of file IOUtil.cpp.

◆ Get()

std::string IOUtil::Get ( std::istream &  is,
char  end 
)

Definition at line 185 of file IOUtil.cpp.

Here is the caller graph for this function:

◆ GetLine()

std::string IOUtil::GetLine ( std::istream &  is,
char  end 
)

Definition at line 201 of file IOUtil.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ OpenIFile()

void IOUtil::OpenIFile ( std::ifstream &  fs,
const char *  filenm 
)

Definition at line 154 of file IOUtil.cpp.

Here is the caller graph for this function:

◆ OpenIStream()

std::istream * IOUtil::OpenIStream ( const char *  filenm)

Definition at line 85 of file IOUtil.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ OpenOFile()

void IOUtil::OpenOFile ( std::ofstream &  fs,
const char *  filenm 
)

Definition at line 166 of file IOUtil.cpp.

Here is the caller graph for this function:

◆ OpenOStream()

std::ostream * IOUtil::OpenOStream ( const char *  filenm)

Definition at line 106 of file IOUtil.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ Skip() [1/2]

bool IOUtil::Skip ( std::istream &  is,
const std::string &  s 
)
inline

Definition at line 126 of file IOUtil.hpp.

Here is the call graph for this function:

◆ Skip() [2/2]

bool IOUtil::Skip ( std::istream &  is,
const char *  s 
)

Definition at line 210 of file IOUtil.cpp.

Here is the caller graph for this function: