C++ Utilities
5.0.1
Useful C++ classes and routines such as argument parser, IO and conversion utilities
io
misc.h
Go to the documentation of this file.
1
#ifndef IOUTILITIES_MISC_H
2
#define IOUTILITIES_MISC_H
3
4
#include "../global.h"
5
6
#include <string>
7
8
namespace
CppUtilities
{
9
10
CPP_UTILITIES_EXPORT
std::string
readFile
(
const
std::string &path, std::string::size_type maxSize = std::string::npos);
11
}
12
13
#endif // IOUTILITIES_MISC_H
CppUtilities::readFile
CPP_UTILITIES_EXPORT std::string readFile(const std::string &path, std::string::size_type maxSize=std::string::npos)
Reads all contents of the specified file in a single call.
Definition:
misc.cpp:15
CppUtilities
Contains all utilities provides by the c++utilities library.
Definition:
argumentparser.h:17
CPP_UTILITIES_EXPORT
#define CPP_UTILITIES_EXPORT
Marks the symbol to be exported by the c++utilities library.
Generated on Wed Oct 2 2019 15:41:15 for C++ Utilities by
1.8.16