6#include <aws/core/Core_EXPORTS.h>
7#include <aws/core/utils/memory/stl/AWSStreamFwd.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/platform/FileSystem.h>
22 Aws::
FStream(fileName.c_str(), openFlags), m_fileName(fileName) {}
41 TempFile(
const char* prefix,
const char* suffix, std::ios_base::openmode openFlags);
46 TempFile(
const char* prefix, std::ios_base::openmode openFlags);
FStreamWithFileName(const Aws::String &fileName, std::ios_base::openmode openFlags)
virtual ~FStreamWithFileName()=default
const Aws::String & GetFileName() const
static Aws::String GetFileNameFromPathWithoutExt(const Aws::String &path)
static Aws::String GetFileNameFromPathWithExt(const Aws::String &path)
TempFile(const char *prefix, const char *suffix, std::ios_base::openmode openFlags)
TempFile(const char *prefix, std::ios_base::openmode openFlags)
TempFile(std::ios_base::openmode openFlags)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::basic_fstream< char, std::char_traits< char > > FStream