Juergen Vigna <[EMAIL PROTECTED]> writes:

| On 05-Jul-2001 Lars Gullik Bjønnes wrote:
| 
| >  protected:      
| > 
| > +       ///
| > +       unsigned int id_;
| > +       ///
| > +       static unsigned int inset_id;
| 
| So I can access them directly in all insets without the need to go over the
| function. I think that's the correct way to access the data I own.

No... accessor methods.

I will probably put that down as a coding rule later: "Class variables
shall always be private."

-- 
        Lgb

Reply via email to