AWS SDK for C++  0.14.3
AWS SDK for C++
AWSStreamFwd.h
Go to the documentation of this file.
1 /*
2  * Copyright 2010-2015 Amazon.com, Inc. or its affiliates. All Rights Reserved.
3  *
4  * Licensed under the Apache License, Version 2.0 (the "License").
5  * You may not use this file except in compliance with the License.
6  * A copy of the License is located at
7  *
8  * http://aws.amazon.com/apache2.0
9  *
10  * or in the "license" file accompanying this file. This file is distributed
11  * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
12  * express or implied. See the License for the specific language governing
13  * permissions and limitations under the License.
14  */
15 
16 #pragma once
17 
18 #include <aws/core/Core_EXPORTS.h>
19 
20 #include <iostream>
21 #include <functional>
22 
23 namespace Aws
24 {
25 
26 // Serves no purpose other than to help my conversion process
27 typedef std::basic_ifstream< char, std::char_traits< char > > IFStream;
28 typedef std::basic_ofstream< char, std::char_traits< char > > OFStream;
29 typedef std::basic_fstream< char, std::char_traits< char > > FStream;
30 typedef std::basic_istream< char, std::char_traits< char > > IStream;
31 typedef std::basic_ostream< char, std::char_traits< char > > OStream;
32 typedef std::basic_iostream< char, std::char_traits< char > > IOStream;
33 typedef std::istreambuf_iterator< char, std::char_traits< char > > IStreamBufIterator;
34 
35 using IOStreamFactory = std::function< Aws::IOStream*(void) >;
36 
37 
38 } // namespace Aws
std::basic_istream< char, std::char_traits< char > > IStream
Definition: AWSStreamFwd.h:30
std::basic_ifstream< char, std::char_traits< char > > IFStream
Definition: AWSStreamFwd.h:27
std::basic_iostream< char, std::char_traits< char > > IOStream
Definition: AWSStreamFwd.h:32
std::basic_ostream< char, std::char_traits< char > > OStream
Definition: AWSStreamFwd.h:31
std::istreambuf_iterator< char, std::char_traits< char > > IStreamBufIterator
Definition: AWSStreamFwd.h:33
std::basic_fstream< char, std::char_traits< char > > FStream
Definition: AWSStreamFwd.h:29
std::basic_ofstream< char, std::char_traits< char > > OFStream
Definition: AWSStreamFwd.h:28
std::function< Aws::IOStream *(void) > IOStreamFactory
Definition: AWSStreamFwd.h:35
JSON (JavaScript Object Notation).