echelon  0.8.0
hdf5/link.hpp
1 // Copyright (c) 2013-2014 Christopher Hinz
2 //
3 // Distributed under the Boost Software License, Version 1.0. (See accompanying
4 // file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
5 
6 #ifndef ECHELON_HDF5_LINK_HPP
7 #define ECHELON_HDF5_LINK_HPP
8 
9 #include <echelon/hdf5/object.hpp>
10 #include <string>
11 
12 namespace echelon
13 {
14 namespace hdf5
15 {
18 class link
19 {
20 public:
21  link() = default;
22 
23  link(object origin_, std::string name_);
24 
32  object destination() const;
33 
36  object origin() const;
37 
40  const std::string& name() const;
41 
42  explicit operator bool() const;
43 private:
44  object origin_;
45  std::string name_;
46 };
47 }
48 }
49 
50 #endif
echelon&#39;s core namespace
Definition: attribute.cpp:10