Wiki

Changes between Version 1 and Version 2 of AccessModifiers

Show
Ignore:
Timestamp:
08/13/08 07:59:41 (16 years ago)
Author:
hopscc
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • AccessModifiers

    v1 v2  
    11= Access Modifiers = 
    22 
    3 Access Modifiers can be specified  on Classes, Class (instance and class) variables and methods to set their visibility and accessibility  
     3Access Modifiers can be specified  on Classes, Class (instance and class) variables and methods to set their visibility and accessibility[[BR]] 
    44These are also called 'isNames' in the Cobra doc and Discussion since they're specified with a leading '''is''' keyword. 
    55 
     
    1313 *       '''fake''' - specifies item has no implementation - a placeholder 
    1414 *       '''shared''' - Specifies Class (static) method or variable,  
    15  *       '''virtual''',   '''nonvirtual''' -  on methods, specifies that its overridable or not  
     15 *       '''virtual''',   '''nonvirtual''' -  on methods, specifies that the method overridable or not  
    1616 *       '''override''', '''new'''         - on methods specifies that a method is overriding or replacing a baseclass method of same  signature 
    1717 *       '''public''', '''protected''', '''private''', '''internal''' - specifies item visibility  
    18  *       '''abstract''' - specifies a template only, subclasses must define 
     18 *       '''abstract''' - specifies a template only, subclasses must define fully 
    1919 
    20 Separate multiple by modifiers with ''',''' e.g    ....  is protected, override 
     20Separate multiple modifiers with ''',''' e.g    ....  is protected, override 
    2121      
    2222    is fake:: 
     
    4444 
    4545    is virtual:: 
    46        method is redefinable 
     46       method is redefinable (default) 
    4747 
    4848    is nonvirtual::