owlcpp
v0.3.3~
C++ library for working with OWL ontologies
Main Page
Related Pages
Namespaces
Classes
Files
Examples
File List
File Members
All
Classes
Namespaces
Files
Functions
Macros
Pages
include
owlcpp
ns_id.hpp
Go to the documentation of this file.
1
6
#ifndef NS_ID_HPP_
7
#define NS_ID_HPP_
8
#include <iosfwd>
9
#include "owlcpp/detail/object_id_base.hpp"
10
11
namespace
owlcpp{
12
15
class
Ns_id
:
public
detail::Base_id<Ns_id> {
16
public
:
17
Ns_id
() : base(0) {}
18
explicit
Ns_id
(
const
unsigned
x) : base(x) {}
19
};
20
23
template
<
class
ChT,
class
Tr>
inline
std::basic_ostream<ChT,Tr>& operator<<(
24
std::basic_ostream<ChT,Tr>& os,
25
Ns_id
const
&
id
26
) {
27
return
os <<
"Ns"
<< id();
28
}
29
30
}
//namespace owlcpp
31
32
#endif
/* NS_ID_HPP_ */
Generated on Tue Dec 10 2013 17:00:47 for owlcpp by
1.8.1.2