2 #ifndef SYDEVS_SYSTEMS_DATA_GOAL_H_
3 #define SYDEVS_SYSTEMS_DATA_GOAL_H_
35 return static_cast<std::underlying_type<data_goal>::type
>(dgoal);
const auto output
Equivalent to data_goal::output.
Definition: data_goal.h:22
const auto input
Equivalent to data_goal::input.
Definition: data_goal.h:21
constexpr int64 int64_from_data_goal(data_goal dgoal)
Returns the integer representation of the dgoal value.
Definition: data_goal.h:33
const std::string & string_from_data_goal(data_goal dgoal)
Returns the std::string representation of the dgoal value.
Definition: data_goal.cpp:21
data_goal
Indicates whether data is meant to serve as input or output.
Definition: data_goal.h:15
data_goal data_goal_from_string(const std::string &dgoal_string)
Returns the data_goal value indicated by dmode_string.
Definition: data_goal.cpp:27
int64_t int64
Definition: number_types.h:14
int8_t int8
Definition: number_types.h:11