AWS SDK for C++  1.7.207
AWS SDK for C++
AWSStringStream.h
Go to the documentation of this file.
1 /*
2  * Copyright 2010-2017 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 #if defined(_GLIBCXX_FULLY_DYNAMIC_STRING) && _GLIBCXX_FULLY_DYNAMIC_STRING == 0 && defined(__ANDROID__)
21 
23 
24 #else
25 
27 
28 #include <sstream>
29 
30 #endif
31 
32 namespace Aws
33 {
34 
35 #if defined(_GLIBCXX_FULLY_DYNAMIC_STRING) && _GLIBCXX_FULLY_DYNAMIC_STRING == 0 && defined(__ANDROID__)
36 
37 // see the large comment block in AWSString.h for an explanation
42 
43 #else
44 
45 typedef std::basic_stringstream< char, std::char_traits< char >, Aws::Allocator< char > > StringStream;
46 typedef std::basic_istringstream< char, std::char_traits< char >, Aws::Allocator< char > > IStringStream;
47 typedef std::basic_ostringstream< char, std::char_traits< char >, Aws::Allocator< char > > OStringStream;
48 typedef std::basic_stringbuf< char, std::char_traits< char >, Aws::Allocator< char > > StringBuf;
49 
50 #endif
51 
52 } // namespace Aws
std::basic_stringbuf< char, std::char_traits< char >, Aws::Allocator< char > > StringBuf
std::allocator< T > Allocator
Definition: AWSAllocator.h:94
std::basic_istringstream< char, std::char_traits< char >, Aws::Allocator< char > > IStringStream
std::basic_stringstream< char, std::char_traits< char >, Aws::Allocator< char > > StringStream
std::basic_ostringstream< char, std::char_traits< char >, Aws::Allocator< char > > OStringStream