Go to the documentation of this file.
60 title_ =
static_cast<std::string
>(config[
"title"]);
63 content_ =
static_cast<std::string
>(config[
"content"]);
88 for (
int i = 0; i < value.
size(); ++i)
93 positions.push_back(std::pair<int, int>(
static_cast<int>(value[0]),
static_cast<int>(value[1])));
99 if (color ==
"main_color")
101 else if (color ==
"yellow")
103 else if (color ==
"green")
105 else if (color ==
"orange")
107 else if (color ==
"purple")
109 else if (color ==
"pink")
111 else if (color ==
"cyan")
113 else if (color ==
"black")
121 if (type ==
"rectangle")
123 else if (type ==
"circle")
125 else if (type ==
"ellipse")
127 else if (type ==
"arc")
129 else if (type ==
"string")
131 else if (type ==
"int_num")
133 else if (type ==
"float_num")
135 else if (type ==
"line")
std::vector< std::pair< int, int > > start_positions_
void initPosition(XmlRpc::XmlRpcValue value, std::vector< std::pair< int, int >> &positions)
std::vector< std::pair< int, int > > end_positions_
Graph(const XmlRpc::XmlRpcValue &config, Base &base, int id)
rm_referee::GraphConfig config_
rm_referee::GraphType getType(const std::string &type)
void updatePosition(int index)
const Type & getType() const
bool hasMember(const std::string &name) const
rm_referee::GraphColor getColor(const std::string &color)
rm_referee
Author(s): Qiayuan Liao
autogenerated on Tue May 6 2025 02:23:49