Class Mapping.ShadowedMapping
- Description
A mapping look-alike that overrides (ie shadows) another parent mapping.
The class implements most of the usual mapping operations.
- Variable
parent
protected
mapping
|ShadowedMapping
Mapping.ShadowedMapping.parent
- Method
create
Mapping.ShadowedMapping Mapping.ShadowedMapping(
mapping
|ShadowedMapping
parent
,mapping
|ShadowedMapping
parent
,mapping
|void
shadow
,int(0..2)
|void
modify_parent
)- Parameter
parent
Mapping to be shadowed.
- Parameter
shadow
Initial shadow of parent.
- Parameter
modify_parent
Modifications should be done to parent rather than to shadow.
0
Modifications should be done only to shadow.
1
Entries that already present in shadow can be modified by later operations. Other modifications will be performed in parent.
2
All modifications will be performed in parent. If the entry to be modified is present in shadow, it will be removed from it.