Add a new input renaming.
For example:
addInputRename ("Foo", "foo", "bar")
to rename the object of type Foo named `foo' to `bar'.
May also be used to rename dynamic (but NOT static) auxiliary variables:
addInputRename ("Foo", "foo.d1", "foo.x1")
If both are combined, write it like this:
addInputRename ("Foo", "foo", "bar")
addInputRename ("Foo", "foo.d1", "bar.x1")
Definition at line 25 of file AddressRemappingSvc.py.
26 """Add a new input renaming.
30 addInputRename ("Foo", "foo", "bar")
32 to rename the object of type Foo named `foo' to `bar'.
34 May also be used to rename dynamic (but NOT static) auxiliary variables:
36 addInputRename ("Foo", "foo.d1", "foo.x1")
38 If both are combined, write it like this:
40 addInputRename ("Foo", "foo", "bar")
41 addInputRename ("Foo", "foo.d1", "bar.x1")
44 ars.TypeKeyRenameMaps += [
'%s#%s->%s' % (type, from_name, to_name) ]