46 #pragma warning (disable:4786)
72 side(MFDSide), pos(position) {}
75 return side == r.
side && pos == r.
pos;
87 else if (side ==
RIGHT)
105 bool sideError(
false);
108 instr >> sideChar >> pos;
128 if (!sideError && pos != 0)
158 outstr << sideChar <<
id.pos;
166 std::string sideString;
169 if (sideString ==
"TOP")
171 else if (sideString ==
"BOTTOM")
173 else if (sideString ==
"LEFT")
175 else if (sideString ==
"RIGHT")
184 std::string sideString;
192 sideString =
"BOTTOM";
198 sideString =
"RIGHT";
202 outstr << sideString;
std::istream & operator>>(std::istream &instr, GlsMFD::MenuItemId_t &id)
std::string Name(Side_t side)
std::ostream & operator<<(std::ostream &outstr, GlsMFD::MenuItemId_t id)
static const unsigned NUM_OF_SIDES