summaryrefslogtreecommitdiff
path: root/XMPCommon/Utilities/UTF8String.h
blob: ec73e70fa82e2e986e6f3316eb4f7ca88a850c57 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
#ifndef __UTF8String_h__
#define __UTF8String_h__ 1

// =================================================================================================
// Copyright Adobe
// Copyright 2014 Adobe
// All Rights Reserved
//
// NOTICE: Adobe permits you to use, modify, and distribute this file in accordance with the terms
// of the Adobe license agreement accompanying it. If you have received this file from a source other 
// than Adobe, then your use, modification, or distribution of it requires the prior written permission
// of Adobe.
// =================================================================================================

#include <string>
#include <sstream>
#include "XMPCommon/XMPCommonDefines_I.h"
#include "XMPCommon/Utilities/TAllocator.h"

namespace XMP_COMPONENT_INT_NAMESPACE {

	typedef std::basic_string< char, std::char_traits< char >, TAllocator< char > > UTF8String;
	typedef std::string UTF8StringUnmanaged;

	typedef std::basic_stringstream< char, std::char_traits< char >, TAllocator< char > > UTF8StringStream;
	typedef std::stringstream UTF8StringStreamUnmanaged;
}

#endif  // __UTF8String_h__