c++ Programming Glossary: brokeredobject
Looking for a better C++ class factory http://stackoverflow.com/questions/363453/looking-for-a-better-c-class-factory What I've done is derive all of the objects from a base BrokeredObject class class BrokeredObject virtual int GetInterfaceId 0 And.. all of the objects from a base BrokeredObject class class BrokeredObject virtual int GetInterfaceId 0 And each object type returns a.. it puts it in the list and returns it. All well and good. BrokeredObject GetObjectByID int id BrokeredObject pObject ObjectMap iterator..
|