get class data on WriteClassToFile