• Skip to content
  • Skip to link menu
KDE 4.4 API Reference
  • KDE API Reference
  • KDE Support
  • Sitemap
  • Contact Us
 

qca

charset.h

Go to the documentation of this file.
00001 /*
00002 Copyright (C) 1999-2007 The Botan Project. All rights reserved.
00003 
00004 Redistribution and use in source and binary forms, for any use, with or without
00005 modification, is permitted provided that the following conditions are met:
00006 
00007 1. Redistributions of source code must retain the above copyright notice, this
00008 list of conditions, and the following disclaimer.
00009 
00010 2. Redistributions in binary form must reproduce the above copyright notice,
00011 this list of conditions, and the following disclaimer in the documentation
00012 and/or other materials provided with the distribution.
00013 
00014 THIS SOFTWARE IS PROVIDED BY THE AUTHOR(S) "AS IS" AND ANY EXPRESS OR IMPLIED
00015 WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
00016 MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE, ARE DISCLAIMED.
00017 
00018 IN NO EVENT SHALL THE AUTHOR(S) OR CONTRIBUTOR(S) BE LIABLE FOR ANY DIRECT,
00019 INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,
00020 BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
00021 DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF
00022 LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE
00023 OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
00024 ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
00025 */
00026 // LICENSEHEADER_END
00027 namespace QCA { // WRAPNS_LINE
00028 /*************************************************
00029 * Character Set Handling Header File             *
00030 * (C) 1999-2007 The Botan Project                *
00031 *************************************************/
00032 
00033 #ifndef BOTAN_CHARSET_H__
00034 #define BOTAN_CHARSET_H__
00035 
00036 } // WRAPNS_LINE
00037 #include <botan/types.h>
00038 namespace QCA { // WRAPNS_LINE
00039 #ifndef BOTAN_TOOLS_ONLY
00040 } // WRAPNS_LINE
00041 #include <botan/enums.h>
00042 namespace QCA { // WRAPNS_LINE
00043 #endif
00044 } // WRAPNS_LINE
00045 #include <string>
00046 namespace QCA { // WRAPNS_LINE
00047 
00048 namespace Botan {
00049 
00050 /*************************************************
00051 * Character Set Transcoder Interface             *
00052 *************************************************/
00053 #ifndef BOTAN_TOOLS_ONLY
00054 class Charset_Transcoder
00055    {
00056    public:
00057       virtual std::string transcode(const std::string&,
00058                                     Character_Set, Character_Set) const = 0;
00059 
00060       virtual ~Charset_Transcoder() {}
00061    };
00062 #endif
00063 
00064 namespace Charset {
00065 
00066 /*************************************************
00067 * Character Set Handling                         *
00068 *************************************************/
00069 #ifndef BOTAN_TOOLS_ONLY
00070 std::string transcode(const std::string&, Character_Set, Character_Set);
00071 #endif
00072 
00073 bool is_digit(char);
00074 bool is_space(char);
00075 bool caseless_cmp(char, char);
00076 
00077 byte char2digit(char);
00078 char digit2char(byte);
00079 
00080 }
00081 
00082 }
00083 
00084 #endif
00085 } // WRAPNS_LINE

qca

Skip menu "qca"
  • Main Page
  • Modules
  • Namespace List
  • Class Hierarchy
  • Alphabetical List
  • Class List
  • File List
  • Namespace Members
  • Class Members
  • Related Pages

KDE Support

Skip menu "KDE Support"
  • akonadi
  • Decibel
  • grantlee
  • kdewin
  • phonon
  •     Backend
  • polkit-qt
  • qca
  • qimageblitz
  • soprano
  • strigi
  •     searchclient
  •     streamanalyzer
  •     streams
Generated for KDE Support by doxygen 1.5.9-20090814
This website is maintained by Adriaan de Groot and Allen Winter.
KDE® and the K Desktop Environment® logo are registered trademarks of KDE e.V. | Legal