1 #if !defined(FLOW_NAMED_H)
26 named(
const std::string& name_r) : d_name(name_r) {}
29 named(
named&& name_rr) : d_name(std::move(name_rr.d_name)) {}
37 virtual const std::string&
name()
const {
return d_name; }
42 virtual std::string
rename(
const std::string& name_r) { std::string old = d_name; d_name = name_r;
return old; }