I have about 15~20 member variables which needs to be accessed, I was wondering 
if it would be good just to let them be public instead of giving every one of them 
get/set functions.

The code would be something like

```
class A { // a singleton class
public:
    static A* get();

    B x, y, z;
    // ... a lot of other object that should only have one copy
    // and doesn't change often

private:
    A();
    virtual ~A();
    static A* a;
};

```

I have also thought about putting the variables into an array, but I don't
know the best way to do a lookup table, would it be better to put them in an array?

EDIT:

Is there a better way than Singleton class to put them in a collection