// constructor public tokenType(AbstractVehicle parentObject, BruteForceProximityDatabase pd) { // store pointer to our associated database and the object this // token represents, and store this token on the database's vector bfpd = pd; tParentObject = parentObject; bfpd.group.Add(this); }