1 #ifndef _STATEFS_MIRROR_HPP_
2 #define _STATEFS_MIRROR_HPP_
30 #include <statefs/provider.hpp>
31 #include <statefs/property.hpp>
36 namespace statefs {
namespace inout {
43 Dst(std::string
const &);
45 virtual void release() {}
52 Src(std::string
const &, std::shared_ptr<Dst>);
55 virtual void release() {}
60 auto out = t.create();
62 insert_input(t.name, setter(out));
67 void insert_input(std::string
const&, setter_type
const&);
69 std::shared_ptr<Dst> dst_;
73 Src& operator << (Src &ns, PropTraits<T>
const &p)
81 #endif // _STATEFS_PROVIDER_HPP_