winstl/filesystem/file_functions.hpp File Reference


Detailed Description

[C++ only] Helper functions for (text) file handling (File System Library).

#include <winstl/winstl.h>
#include <winstl/filesystem/filesystem_traits.hpp>
#include <winstl/error/exceptions.hpp>
#include <winstl/memory/processheap_allocator.hpp>
#include <stlsoft/memory/auto_buffer.hpp>
#include <stlsoft/shims/access/string.hpp>
#include <stlsoft/smartptr/scoped_handle.hpp>
#include <stlsoft/string/string_traits.hpp>
#include <stlsoft/string/tokeniser_functions.hpp>

Go to the source code of this file.

Namespaces

namespace  winstl

Functions

template<typename S1, typename S2>
ws_uint64_t load_text_file (S1 const &fileName, S2 &contents)
 Loads a text file into a string.
template<typename CH, typename C>
void readlines_impl (CH const *p, size_t len, C &container)
template<typename S, typename C>
C & readlines (S const &fileName, C &container)
 Reads the lines of a text-file into a sequence container.


Generated on Thu Jun 10 08:58:14 2010 for STLSoft by  doxygen 1.5.6