Data-Loading Structures

We define two structures to help organise the file-loading:

struct FileStarPairs

A simple structure for holding the name of a stellar data file and the number of stars within it.

Public Members

std::string FileName

The name of the proposed file.

int NStars

The number of stars within it, precalculated from the directory. Needed so that DataLoadCount stars can be loaded easily from the file.

struct File

A way of keeping the name of the file and the associated magnitude bin together, forever, in perfect harmony.

Public Members

std::string Name
int Bin