Design of a solar system

We dispose of some classes both in C++ and JAVA that allow building applications working on notions of planets, stars and solar systems.

Planet

This class represents the characteristics of a planet.
Type Attribute name Description
double diameter the average diameter of the planet

Earth

This class represents our planet, for instantiating our particular solar system for instance, and working on geopolitical data perhaps!
Type Attribute name Description
std::vector<std::string> countryNames the name of all countries are put into

SolarSystem

This class represents the solar system, with its constituents, the sun excluded for the moment.
Type Attribute name Description
std::vector<Planet*> planets the planets that compose the solar system.