Virtual Testbed
Ship dynamics simulator for extreme conditions
src
vtestbed
vsl
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
19
std::istream
&
20
operator>>(
std::istream
& in,
Description
& rhs);
21
22
std::ostream
&
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
std::istream
std::string
vtb
Main namespace.
Definition:
convert.hh:9
std::ostream
vtb::vsl::Description
Definition:
description.hh:11
Generated by
1.8.15