예제 #1
0
//inline bool NodeID::operator <(const NodeID &nid)const
bool NodeID::operator <(const NodeID &nid)const
{
	return this->toString()<nid.toString();
} 
예제 #2
0
NodeID::NodeID(const NodeID &n)
{
	idArray = new char[129];
	strncpy(idArray, n.toString().c_str(), 128);
	idArray[n.toString().size()] = '\0';
};