accessing members of class

Hi -

I'm writing some code for a filter for a DSP application. The user needs to access the members (real and imag) individually for the purpose of something he referred to as "half multiplications." This kind of math isn't my forte.

My first thought was to derive a class and add getters/setters. I'm not sure this would even work, if the members are defined as private in the base class. I thought I'd see if anyone here had a better idea.

declare it as protected, the the derivative class can use it.
Topic archived. No new replies allowed.