echelon  0.8.0
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_LINK_HPP
7 #define ECHELON_LINK_HPP
8 
9 #include <echelon/object.hpp>
10 
11 #include <echelon/hdf5/link.hpp>
12 
13 #include <string>
14 
15 namespace echelon
16 {
17 
20 class link
21 {
22 public:
23  link(object origin_, std::string name_);
24 
25  link() = default;
26 
27  explicit link(hdf5::link native_link_);
28 
36  object destination() const;
37 
40  object origin() const;
41 
44  const std::string& name() const;
45 
46 private:
47  hdf5::link native_link_;
48 };
49 }
50 
51 #endif
echelon&#39;s core namespace
Definition: attribute.cpp:10