21 #ifndef DATATOOLS_UI_TARGET_COMMAND_H 22 #define DATATOOLS_UI_TARGET_COMMAND_H 37 template <
typename Type>
53 const std::string & name_,
54 const std::string & description_ =
"",
77 return _target_ !=
nullptr;
93 virtual void tree_dump(std::ostream & out_ = std::clog,
94 const std::string & title_ =
"",
95 const std::string & indent_ =
"",
96 bool inherit_ =
false)
const 101 <<
"Target : [@" << _target_ <<
"]" << std::endl;
123 Type * _target_ =
nullptr;
128 template <
typename Type>
144 const std::string & name_,
145 const std::string & description_ =
"",
168 return _target_ !=
nullptr;
179 const std::string & title_ =
"",
180 const std::string & indent_ =
"",
181 bool inherit_ =
false)
const 186 <<
"Target : [@" << _target_ <<
"]" << std::endl;
208 const Type * _target_ =
nullptr;
216 #endif // DATATOOLS_UI_TARGET_COMMAND_H
Base class for command line interface command objects.