21 #ifndef DATATOOLS_UI_TARGET_COMMAND_INTERFACE_H 22 #define DATATOOLS_UI_TARGET_COMMAND_INTERFACE_H 36 template <
typename Type>
52 const std::string & description_ =
"",
62 const std::string & name_,
63 const std::string & description_ =
"",
81 return _target_ !=
nullptr;
88 "Target command interface is already initialized!");
107 const std::string & title_ =
"",
108 const std::string & indent_ =
"",
109 bool inherit_ =
false)
const 114 <<
"Target : [@" << _target_ <<
"]" << std::endl;
136 Type * _target_ =
nullptr;
145 template <
typename Type>
161 const std::string & description_ =
"",
171 const std::string & name_,
172 const std::string & description_ =
"",
190 return _target_ !=
nullptr;
197 "Target command interface is already initialized!");
210 const std::string & title_ =
"",
211 const std::string & indent_ =
"",
212 bool inherit_ =
false)
const 217 <<
"Target : [@" << _target_ <<
"]" << std::endl;
239 const Type * _target_ =
nullptr;
247 #endif // DATATOOLS_UI_TARGET_COMMAND_INTERFACE_H
#define DT_THROW_IF(Condition, ExceptionType, Message)
Definition: exception.h:76