Changes between Initial Version and Version 1 of Orange25/C++CamelCase


Ignore:
Timestamp:
04/12/11 11:54:45 (3 years ago)
Author:
marko
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Orange25/C++CamelCase

    v1 v1  
     1==== C++ underscores vs. camelCase ==== 
     2 
     3The names of attributes and methods in C++ classes have been modified to underscore form (Value.var_type instead of Value.varType). Class names are in CamelCase (e.g. BayesClassifier). Names of functions within the module, e.g. orange.getClassDistributions are still in mixedCase. 
     4 
     5Old names still work, except for referencing of unbound methods. E.g.  
     6{{{ 
     7v = orange.EnumVariable(); v.getExisting() 
     8}}} 
     9is OK, but  
     10{{{ 
     11orange.EnumVariable.getExisting() 
     12}}} 
     13is not. Former is uncommon, but needs to be found and modified manually. 
     14 
     15For refactoring, mapping of names can be found in source/orange/aliases.txt, source/_underscored and source/_underscored_manual.