The topological classification of a family of quadratic differential systems in terms of affine invariant polynomials