blob: d9aa0108d645c2c07441789a921510b6a7f9e96f (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
|
// file : xsde/cxx/qname-stl.hxx
// copyright : Copyright (c) 2005-2014 Code Synthesis Tools CC
// license : GNU GPL v2 + exceptions; see accompanying LICENSE file
#ifndef XSDE_CXX_QNAME_STL_HXX
#define XSDE_CXX_QNAME_STL_HXX
#include <string>
namespace xsde
{
namespace cxx
{
class qname
{
public:
qname ();
explicit
qname (const std::string& name);
qname (const std::string& prefix, const std::string& name);
void
swap (qname&);
const std::string&
prefix () const;
std::string&
prefix ();
void
prefix (const std::string&);
const std::string&
name () const;
std::string&
name ();
void
name (const std::string&);
private:
std::string prefix_;
std::string name_;
};
bool
operator== (const qname&, const qname&);
bool
operator!= (const qname&, const qname&);
}
}
#include <xsde/cxx/qname-stl.ixx>
#endif // XSDE_CXX_QNAME_STL_HXX
|