Utils.h
Go to the documentation of this file.
1
/*
2
Copyright (C) 2008 National Institute For Space Research (INPE) - Brazil.
3
4
This file is part of the TerraLib - a Framework for building GIS enabled applications.
5
6
TerraLib is free software: you can redistribute it and/or modify
7
it under the terms of the GNU Lesser General Public License as published by
8
the Free Software Foundation, either version 3 of the License,
9
or (at your option) any later version.
10
11
TerraLib is distributed in the hope that it will be useful,
12
but WITHOUT ANY WARRANTY; without even the implied warranty of
13
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14
GNU Lesser General Public License for more details.
15
16
You should have received a copy of the GNU Lesser General Public License
17
along with TerraLib. See COPYING. If not, write to
18
TerraLib Team at <terralib-team@terralib.org>.
19
*/
20
21
/*!
22
\file terralib/core/utils/Utils.h
23
*/
24
25
#ifndef __TERRALIB_CORE_UTILS_UTILS_H__
26
#define __TERRALIB_CORE_UTILS_UTILS_H__
27
28
// TerraLib
29
#include "../Config.h"
30
31
// STL
32
#include <string>
33
34
namespace
te
35
{
36
namespace
core
37
{
38
TECOREEXPORT
std::string
ASCIIToHex
(
const
std::string& text);
39
TECOREEXPORT
std::string
HexToASCII
(
const
std::string& text);
40
TECOREEXPORT
std::string
URIConvertASCIIToHex
(
const
std::string& connInfo);
41
TECOREEXPORT
std::string
URIConvertHexToASCII
(
const
std::string& connInfo);
42
TECOREEXPORT
std::string
URIConvertASCIIToHex
(
const
std::string& connInfo);
43
TECOREEXPORT
std::string
encodeBase64
(
const
std::string &val);
44
TECOREEXPORT
std::string
decodeBase64
(
const
std::string &val);
45
46
}
// end namespace core
47
}
// end namespace te
48
49
#endif //__TERRALIB_CORE_UTILS_UTILS_H__
te::core::URIConvertHexToASCII
TECOREEXPORT std::string URIConvertHexToASCII(const std::string &connInfo)
te
TerraLib.
Definition:
AddressGeocodingOp.h:52
te::core::URIConvertASCIIToHex
TECOREEXPORT std::string URIConvertASCIIToHex(const std::string &connInfo)
te::core::encodeBase64
TECOREEXPORT std::string encodeBase64(const std::string &val)
TECOREEXPORT
#define TECOREEXPORT
Definition:
Config.h:52
te::core::ASCIIToHex
TECOREEXPORT std::string ASCIIToHex(const std::string &text)
te::core::decodeBase64
TECOREEXPORT std::string decodeBase64(const std::string &val)
te::core::HexToASCII
TECOREEXPORT std::string HexToASCII(const std::string &text)
git_release
src
terralib
core
utils
Utils.h
Generated on Wed Feb 2 2022 10:37:57 for TerraLib by
1.8.20