108 friend void writeBinary(
const PIP& data, std::ostream& outputStream);
109 friend void readBinary(
PIP& data, std::istream& inputStream);
111 unsigned short m_startWireIndex;
112 unsigned short m_endWireIndex;
121 if (pip1.m_startWireIndex != pip2.m_startWireIndex)
return false;
122 if (pip1.m_endWireIndex != pip2.m_endWireIndex)
return false;
123 return (pip1.m_direction == pip2.m_direction);
136 if (pip1.m_startWireIndex != pip2.m_startWireIndex)
137 return (pip1.m_startWireIndex < pip2.m_startWireIndex);
138 if (pip1.m_endWireIndex != pip2.m_endWireIndex)
139 return (pip1.m_endWireIndex < pip2.m_endWireIndex);
140 return (pip1.m_direction < pip2.m_direction);
146 return (
operator< (pip2, pip1));