1 /** 2 * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. 3 * SPDX-License-Identifier: Apache-2.0. 4 */ 5 6 #pragma once 7 8 #include <aws/core/Core_EXPORTS.h> 9 10 #include <iostream> 11 #include <functional> 12 13 namespace Aws 14 { 15 16 // Serves no purpose other than to help my conversion process 17 typedef std::basic_ifstream< char, std::char_traits< char > > IFStream; 18 typedef std::basic_ofstream< char, std::char_traits< char > > OFStream; 19 typedef std::basic_fstream< char, std::char_traits< char > > FStream; 20 typedef std::basic_istream< char, std::char_traits< char > > IStream; 21 typedef std::basic_ostream< char, std::char_traits< char > > OStream; 22 typedef std::basic_iostream< char, std::char_traits< char > > IOStream; 23 typedef std::istreambuf_iterator< char, std::char_traits< char > > IStreamBufIterator; 24 25 using IOStreamFactory = std::function< Aws::IOStream*(void) >; 26 27 28 } // namespace Aws 29