예제 #1
0
	void NetworkBinding::RemoveBinding(void* binding)
	{
		std::vector<SharedKObject>::iterator i = bindings.begin();
		while(i!=bindings.end())
		{
			SharedKObject b = (*i);
			if (binding == b.get())
			{
				bindings.erase(i);
				break;
			}
			i++;
		}
	}
예제 #2
0
파일: kobject.cpp 프로젝트: jonnymind/kroll
	bool KObject::Equals(SharedKObject other)
	{
		return other.get() == this;
	}