diff options
author | Daniel Wilhelm <daniel@wili.li> | 2014-04-18 17:24:59 +0200 |
---|---|---|
committer | Daniel Wilhelm <daniel@wili.li> | 2014-04-18 17:24:59 +0200 |
commit | a1c91f4695e208d5a8f80dc37b1818169b7829ff (patch) | |
tree | 52f5134376d17c99b6c9e53133a2eb5cf171377c /zenxml/cvrt_text.h | |
parent | 5.16 (diff) | |
download | FreeFileSync-a1c91f4695e208d5a8f80dc37b1818169b7829ff.tar.gz FreeFileSync-a1c91f4695e208d5a8f80dc37b1818169b7829ff.tar.bz2 FreeFileSync-a1c91f4695e208d5a8f80dc37b1818169b7829ff.zip |
5.17
Diffstat (limited to 'zenxml/cvrt_text.h')
-rw-r--r-- | zenxml/cvrt_text.h | 29 |
1 files changed, 11 insertions, 18 deletions
diff --git a/zenxml/cvrt_text.h b/zenxml/cvrt_text.h index a70c0813..80664317 100644 --- a/zenxml/cvrt_text.h +++ b/zenxml/cvrt_text.h @@ -1,5 +1,5 @@ // ************************************************************************** -// * This file is part of the zenXML project. It is distributed under the * +// * This file is part of the zen::Xml project. It is distributed under the * // * Boost Software License: http://www.boost.org/LICENSE_1_0.txt * // * Copyright (C) Zenju (zenju AT gmx DOT de) - All Rights Reserved * // ************************************************************************** @@ -75,15 +75,15 @@ template <class T> void writeText(const T& value, std::string& output); /* Different classes of data types: ---------------------------- -| structured | readStruc/writeStruc - e.g. string-convertible types, STL containers, std::pair, structured user types -| ---------------------- | -| | string-convertible | | readText/writeText - e.g. string-like types, all built-in arithmetic numbers, bool -| | --------------- | | -| | | string-like | | | utfCvrtTo - e.g. std::string, wchar_t*, char[], wchar_t, wxString, MyStringClass, ... -| | --------------- | | -| ---------------------- | ---------------------------- +----------------------------- +| structured | readStruc/writeStruc - e.g. string-convertible types, STL containers, std::pair, structured user types +| ------------------------- | +| | to-string-convertible | | readText/writeText - e.g. string-like types, all built-in arithmetic numbers, bool +| | --------------- | | +| | | string-like | | | utfCvrtTo - e.g. std::string, wchar_t*, char[], wchar_t, wxString, MyStringClass, ... +| | --------------- | | +| ------------------------- | +----------------------------- */ @@ -100,13 +100,6 @@ template <class T> void writeText(const T& value, std::string& output); - - - - - - - //------------------------------ implementation ------------------------------------- //Conversion from arbitrary types to text (for use with XML elements and attributes) @@ -196,7 +189,7 @@ struct ConvertText<T, TEXT_TYPE_OTHER> //########################################################################################################################################### assert_static(sizeof(T) == -1); /* - ATTENTION: The data type T is yet unknown to the zenXML framework! + ATTENTION: The data type T is yet unknown to the zen::Xml framework! Please provide a specialization for T of the following two functions in order to handle conversions to XML elements and attributes |