Changes between Version 6 and Version 7 of InterfaceLayers


Ignore:
Timestamp:
May 26, 2012, 10:25:51 AM (13 years ago)
Author:
manualwiki
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • InterfaceLayers

    v6 v7  
    1919== Interface functions == 
    2020 
    21 We currently have two interface functions in the {{{ri}}} module: {{{check_layered_arch/2}}} and {{{show_layered_arch/2}}}. Both take two parameters, {{{{Name, ModSpecs}}}} and {{{{AllowFrom, AllowTo}}}} as described above. The function {{{ri:check_layered_arch/2}}} outputs the functions that violate the layer access restrictions, while {{{ri:show_layered_arch/2}}} visualises the layers in a graph with the layer violations highlighted. 
     21We currently have three interface functions in the {{{ri}}} module: {{{check_layered_arch/2}}}, {{{show_layered_arch/2}}} and {{{ri:show_layered_arch/3}}}. The first two both take two parameters: {{{{Name, ModSpecs}}}} and {{{{AllowFrom, AllowTo}}}} as described above. The third has an extra parameter, which defines the name of the generated .dot file. The function {{{ri:check_layered_arch/2}}} outputs the functions that violate the layer access restrictions, while {{{ri:show_layered_arch/2}}} and {{{ri:show_layered_arch/3}}} visualises the layers in a graph with the layer violations highlighted. 
    2222 
    2323== Examples == 
     
    4444      {il2,["^(/home/user/layers/layer2)$"]}, 
    4545      {il3,["regexp3"]}], 
    46     [{il1,il3}]). 
     46    [{il1,il3}],"restrictions.dot"). 
    4747}}}