/[publicrep]/ezc/trunk/src/stringconv.h
ViewVC logotype

Contents of /ezc/trunk/src/stringconv.h

Parent Directory Parent Directory | Revision Log Revision Log


Revision 971 - (show annotations)
Fri Oct 17 21:48:11 2014 UTC (8 years, 5 months ago) by tomek
Content type: text/x-csrc
File size: 2228 byte(s)
changed: a header info in each source file to:
 * This file is a part of EZC -- Easy templating in C++ library
 * and is distributed under the BSD 3-Clause licence.



1 /*
2 * This file is a part of EZC -- Easy templating in C++ library
3 * and is distributed under the BSD 3-Clause licence.
4 * Author: Tomasz Sowa <t.sowa@ttmath.org>
5 */
6
7 /*
8 * Copyright (c) 2007-2010, Tomasz Sowa
9 * All rights reserved.
10 *
11 * Redistribution and use in source and binary forms, with or without
12 * modification, are permitted provided that the following conditions are met:
13 *
14 * * Redistributions of source code must retain the above copyright notice,
15 * this list of conditions and the following disclaimer.
16 *
17 * * Redistributions in binary form must reproduce the above copyright
18 * notice, this list of conditions and the following disclaimer in the
19 * documentation and/or other materials provided with the distribution.
20 *
21 * * Neither the name Tomasz Sowa nor the names of contributors to this
22 * project may be used to endorse or promote products derived
23 * from this software without specific prior written permission.
24 *
25 * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
26 * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
27 * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
28 * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
29 * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
30 * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
31 * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
32 * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
33 * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
34 * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF
35 * THE POSSIBILITY OF SUCH DAMAGE.
36 */
37
38
39 #ifndef headerfile_ezc_stringconv
40 #define headerfile_ezc_stringconv
41
42 #include <string>
43
44
45
46 namespace Ezc
47 {
48
49
50 void AssignString(const char * src, std::wstring & dst, bool clear = true);
51 void AssignString(const std::string & src, std::wstring & dst, bool clear = true);
52 void AssignString(const wchar_t * src, std::string & dst, bool clear = true);
53 void AssignString(const std::wstring & src, std::string & dst, bool clear = true);
54
55
56
57 } // namespace Ezc
58
59
60 #endif

Properties

Name Value
svn:executable *

svnadmin@ttmath.org
ViewVC Help
Powered by ViewVC 1.2.1