]> Dogcows Code - chaz/yoink/blob - src/stlplus/strings/string_address.hpp
testing new non-autotools build system
[chaz/yoink] / src / stlplus / strings / string_address.hpp
1 #ifndef STLPLUS_STRING_ADDRESS
2 #define STLPLUS_STRING_ADDRESS
3 ////////////////////////////////////////////////////////////////////////////////
4
5 // Author: Andy Rushton
6 // Copyright: (c) Southampton University 1999-2004
7 // (c) Andy Rushton 2004-2009
8 // License: BSD License, see ../docs/license.html
9
10 // Functions for converting addresses to/from strings
11
12 ////////////////////////////////////////////////////////////////////////////////
13 #include "strings_fixes.hpp"
14 #include "format_types.hpp"
15 #include <string>
16 #include <stdexcept>
17
18 namespace stlplus
19 {
20
21 ////////////////////////////////////////////////////////////////////////////////
22
23 std::string address_to_string(const void*,
24 unsigned radix = 16,
25 radix_display_t display = radix_c_style_or_hash,
26 unsigned width = 0)
27 throw(std::invalid_argument);
28
29 ////////////////////////////////////////////////////////////////////////////////
30
31 void* string_to_address(const std::string& value,
32 unsigned radix = 0)
33 throw(std::invalid_argument);
34
35 ////////////////////////////////////////////////////////////////////////////////
36
37 } // end namespace stlplus
38
39 #endif
This page took 0.034085 seconds and 4 git commands to generate.