Virtual Testbed
Ship dynamics simulator for extreme conditions
src
vtestbed
vsl
name.hh
1
#ifndef VTESTBED_VSL_NAME_HH
2
#define VTESTBED_VSL_NAME_HH
3
4
#include <iosfwd>
5
#include <string>
6
7
namespace
vtb
{
8
9
namespace
vsl {
10
11
class
Name
:
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,
Name
& rhs);
21
22
std::ostream
&
23
operator<<(
std::ostream
& out,
const
Name
& rhs);
24
25
inline
const
std::string
& to_string(
const
Name
& rhs) {
return
rhs; }
26
27
}
28
29
}
30
31
#endif // vim:filetype=cpp
vtb::vsl::Name
Definition:
name.hh:11
std::istream
std::string
vtb
Main namespace.
Definition:
convert.hh:9
std::ostream
Generated by
1.8.15