~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/util/convert.h

  • Committer: Mark Atwood
  • Date: 2011-08-17 06:10:57 UTC
  • Revision ID: me@mark.atwood.name-20110817061057-7hsj5c0dc4n3grrr
link docs/ipv6_data_type.rst to TOC in docs/columntypes.rst

Show diffs side-by-side

added added

removed removed

Lines of Context:
18
18
 *  Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
19
19
 */
20
20
 
 
21
 
 
22
 
21
23
#pragma once
22
24
 
23
25
#include <boost/lexical_cast.hpp>
27
29
 
28
30
#include <drizzled/visibility.h>
29
31
 
30
 
namespace drizzled {
 
32
namespace drizzled
 
33
{
31
34
 
32
35
template <class T>
33
36
std::string to_string(T t)
45
48
 
46
49
void bytesToHexdumpFormat(std::string &s, const unsigned char *from, size_t from_length);
47
50
 
48
 
DRIZZLED_API uint64_t drizzled_string_to_hex(char *to, const char *from, uint64_t from_size);
49
 
DRIZZLED_API void drizzled_hex_to_string(char *to, const char *from, uint64_t from_size);
 
51
DRIZZLED_API uint64_t drizzled_string_to_hex(char *to, const char *from,
 
52
                                             uint64_t from_size);
 
53
DRIZZLED_API void drizzled_hex_to_string(char *to, const char *from,
 
54
                                         uint64_t from_size);
50
55
 
51
56
} /* namespace drizzled */
52
57