summaryrefslogtreecommitdiff
path: root/XMPCommon/Utilities/UTF8String.h
blob: fe6526b94f8a79f1ca502a474673b2a160aa8e49 (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
#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. 
// =================================================================================================

#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__