45 # pragma warning( disable : 4786 )
85 return side == r.
side && pos == r.
pos;
96 else if( side ==
RIGHT )
112 bool sideError(
false );
113 char sideChar(
'\0' );
115 instr >> sideChar >> pos;
135 if( !sideError && pos != 0 )
147 char sideChar(
'\0' );
165 outstr << sideChar <<
id.pos;
173 std::string sideString;
176 if( sideString ==
"TOP" )
178 else if( sideString ==
"BOTTOM" )
180 else if( sideString ==
"LEFT" )
182 else if( sideString ==
"RIGHT" )
191 std::string sideString;
199 sideString =
"BOTTOM";
205 sideString =
"RIGHT";
209 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