Virtual Testbed
Ship dynamics simulator for extreme conditions
description.hh
1 #ifndef VTESTBED_VSL_DESCRIPTION_HH
2 #define VTESTBED_VSL_DESCRIPTION_HH
3 
4 #include <iosfwd>
5 #include <string>
6 
7 namespace vtb {
8 
9  namespace vsl {
10 
11  class Description: public std::string {
12 
13  public:
14  using std::string::string;
15  using std::string::operator=;
16 
17  };
18 
20  operator>>(std::istream& in, Description& rhs);
21 
23  operator<<(std::ostream& out, const Description& rhs);
24 
25  inline const std::string&
26  to_string(const Description& rhs) {
27  return rhs;
28  }
29 
30  }
31 
32 }
33 
34 #endif // vim:filetype=cpp
Main namespace.
Definition: convert.hh:9