~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/util/convert.h

  • Committer: Mark Atwood
  • Date: 2011-09-16 17:16:41 UTC
  • mfrom: (2409.3.4 rf)
  • Revision ID: me@mark.atwood.name-20110916171641-ri5n2bd1xsqi5jfb
mergeĀ lp:~olafvdspek/drizzle/refactor7

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
 
 
23
21
#pragma once
24
22
 
25
23
#include <boost/lexical_cast.hpp>
29
27
 
30
28
#include <drizzled/visibility.h>
31
29
 
32
 
namespace drizzled
33
 
{
 
30
namespace drizzled {
34
31
 
35
32
template <class T>
36
33
std::string to_string(T t)
48
45
 
49
46
void bytesToHexdumpFormat(std::string &s, const unsigned char *from, size_t from_length);
50
47
 
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);
 
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);
55
50
 
56
51
} /* namespace drizzled */
57
52