google-code-export / umple

Automatically exported from code.google.com/p/umple
1 stars 0 forks source link

an issue on C++ real-time code generation for private and protected methods #571

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
When we write a class with methods which have private or protected 
visibilities, they are considered public which is wrong.
e.g.
class X{

  public void display1(){
    //code
  }
  private void display2(){
     //code
  }
  protected void display3(){
     //code
  }
}

In generated code, display2() and display3() are in public section.

Original issue reported on code.google.com by V.Abdel...@gmail.com on 26 May 2014 at 6:04

GoogleCodeExporter commented 9 years ago

Original comment by V.Abdel...@gmail.com on 26 May 2014 at 6:06

GoogleCodeExporter commented 9 years ago

Original comment by ahmedvc@gmail.com on 21 Jun 2014 at 1:46