| 1 |
|
|---|
| 2 |
import OperationRegistry; |
|---|
| 3 |
import Operations; |
|---|
| 4 |
|
|---|
| 5 |
groupAll = Operations.GroupingOperation("All"); |
|---|
| 6 |
groupBaseFuncRename = Operations.GroupingOperation("BaseFuncRename"); |
|---|
| 7 |
|
|---|
| 8 |
|
|---|
| 9 |
OperationRegistry.registerOperation(groupAll); |
|---|
| 10 |
OperationRegistry.registerOperation(groupBaseFuncRename); |
|---|
| 11 |
|
|---|
| 12 |
|
|---|
| 13 |
OperationRegistry.registerOperation(Operations.SimpleReplaceOperation("osgsqrt", "osgsqrt", "osgSqrt"), groupBaseFuncRename); |
|---|
| 14 |
|
|---|
| 15 |
OperationRegistry.registerOperation(Operations.SimpleReplaceOperation("osgcos", "osgcos", "osgCos"), groupBaseFuncRename); |
|---|
| 16 |
OperationRegistry.registerOperation(Operations.SimpleReplaceOperation("osgsin", "osgsin", "osgSin"), groupBaseFuncRename); |
|---|
| 17 |
OperationRegistry.registerOperation(Operations.SimpleReplaceOperation("osgtan", "osgtan", "osgTan"), groupBaseFuncRename); |
|---|
| 18 |
|
|---|
| 19 |
OperationRegistry.registerOperation(Operations.SimpleReplaceOperation("osgacos", "osgacos", "osgACos"), groupBaseFuncRename); |
|---|
| 20 |
OperationRegistry.registerOperation(Operations.SimpleReplaceOperation("osgasin", "osgasin", "osgASin"), groupBaseFuncRename); |
|---|
| 21 |
OperationRegistry.registerOperation(Operations.SimpleReplaceOperation("osgatan", "osgatan", "osgATan"), groupBaseFuncRename); |
|---|
| 22 |
OperationRegistry.registerOperation(Operations.SimpleReplaceOperation("osgatan2", "osgatan2", "osgATan2"), groupBaseFuncRename); |
|---|
| 23 |
|
|---|
| 24 |
OperationRegistry.registerOperation(Operations.SimpleReplaceOperation("osgasb", "osgabs", "osgAbs"), groupBaseFuncRename); |
|---|
| 25 |
OperationRegistry.registerOperation(Operations.SimpleReplaceOperation("osgpow", "osgpow", "osgPow"), groupBaseFuncRename); |
|---|
| 26 |
OperationRegistry.registerOperation(Operations.SimpleReplaceOperation("osglog", "osglog", "osgLog"), groupBaseFuncRename); |
|---|
| 27 |
OperationRegistry.registerOperation(Operations.SimpleReplaceOperation("osgexp", "osgexp", "osgExp"), groupBaseFuncRename); |
|---|
| 28 |
OperationRegistry.registerOperation(Operations.SimpleReplaceOperation("osgfloor", "osgfloor", "osgFloor"), groupBaseFuncRename); |
|---|
| 29 |
OperationRegistry.registerOperation(Operations.SimpleReplaceOperation("osgceil", "osgceil", "osgCeil"), groupBaseFuncRename); |
|---|
| 30 |
OperationRegistry.registerOperation(Operations.SimpleReplaceOperation("osgfinite", "osgfinite", "osgFinite"), groupBaseFuncRename); |
|---|
| 31 |
|
|---|
| 32 |
OperationRegistry.registerOperation(Operations.SimpleReplaceOperation("osgdegree2rad", "osgdegree2rad", "osgDegree2Rad"), groupBaseFuncRename); |
|---|
| 33 |
OperationRegistry.registerOperation(Operations.SimpleReplaceOperation("osgrad2degree", "osgrad2degree", "osgRad2Degree"), groupBaseFuncRename); |
|---|
| 34 |
|
|---|
| 35 |
OperationRegistry.registerOperation(Operations.SimpleReplaceOperation("osgispower2", "osgispower2", "osgIsPower2"), groupBaseFuncRename); |
|---|
| 36 |
OperationRegistry.registerOperation(Operations.SimpleReplaceOperation("osgnextpower2", "osgnextpower2", "osgNextPower2"), groupBaseFuncRename); |
|---|
| 37 |
|
|---|
| 38 |
OperationRegistry.registerOperation(Operations.SimpleReplaceOperation("osgsleep", "osgsleep", "osgSleep"), groupBaseFuncRename); |
|---|
| 39 |
OperationRegistry.registerOperation(Operations.SimpleReplaceOperation("osgrand", "osgrand", "osgRand"), groupBaseFuncRename); |
|---|
| 40 |
|
|---|
| 41 |
OperationRegistry.registerOperation(Operations.SimpleReplaceOperation("stringDup", "stringDup", "osgStringDup"), groupBaseFuncRename); |
|---|
| 42 |
OperationRegistry.registerOperation(Operations.SimpleReplaceOperation("stringcpy", "stringcpy", "osgStringCopy"), groupBaseFuncRename); |
|---|
| 43 |
OperationRegistry.registerOperation(Operations.SimpleReplaceOperation("stringncmp", "stringncmp", "osgStringNCmp"), groupBaseFuncRename); |
|---|
| 44 |
OperationRegistry.registerOperation(Operations.SimpleReplaceOperation("stringlen", "stringlen", "osgStringLen"), groupBaseFuncRename); |
|---|
| 45 |
OperationRegistry.registerOperation(Operations.SimpleReplaceOperation("stringcmp", "stringcmp", "osgStringCmp"), groupBaseFuncRename); |
|---|
| 46 |
OperationRegistry.registerOperation(Operations.SimpleReplaceOperation("stringcasecmp", "stringcasecmp", "osgStringCaseCmp"), groupBaseFuncRename); |
|---|
| 47 |
|
|---|
| 48 |
|
|---|
| 49 |
groupAll.addOp("BaseFuncRename"); |
|---|