Skip to content

Class TempLat::FileToString

ClassList > TempLat > FileToString

A class which reads a file into a std::string. Constructor does not work, reading is actually done when the class is cast to a string. More...

  • #include <filetostring.h>

Public Functions

Type Name
FileToString (const std::string fName)
string ()

Detailed Description

Unit test: ctest -R test-filetostring

Public Functions Documentation

function FileToString

inline TempLat::FileToString::FileToString (
    const std::string fName
) 

function string

inline TempLat::FileToString::string () 

Friends Documentation

friend operator<<

inline std::ostream & TempLat::FileToString::operator<< (
    std::ostream & ostream,
    FileToString & obj
) 


The documentation for this class was generated from the following file cosmolatticeweb/tmp/code_source/templat/include/TempLat/util/filetostring.h