owlcpp  v0.3.3~
C++ library for working with OWL ontologies
 All Classes Namespaces Files Functions Macros Pages
lib_info.hpp
Go to the documentation of this file.
1 
25 #ifndef LIB_INFO_HPP_
26 #define LIB_INFO_HPP_
27 #include <string>
28 #include <iosfwd>
29 #include "owlcpp/config.hpp"
30 
31 namespace owlcpp{
32 
35 struct OWLCPP_DECL Lib_info {
36  static std::string const& name();
37  static std::string const& version();
38  static std::string const& description();
39  static int version_1();
40  static int version_2();
41  static int version_3();
42  static std::string const& version_e();
43  static int build();
44 
45  template<class Ch, class Tr> static std::basic_ostream<Ch,Tr>&
46  print(std::basic_ostream<Ch,Tr>& os) {
47  os
48  << name() << " - " << description()
49  << ' ' << version()
50  << " build:" << build()
51  ;
52  return os;
53  }
54 };
55 
56 }//namespace owlcpp
57 #endif /* LIB_INFO_HPP_ */