Home > mrg > MRG_MIKE > mrg_effing_factory.m

mrg_effing_factory

PURPOSE ^

Load the f**king factory.

SYNOPSIS ^

function factory = mrg_effing_factory()

DESCRIPTION ^

 Load the f**king factory.

 A function to generate the factory object required in a number of MIKE
 toolbox examples.  Should prevent errors in functions.  

 USAGE
   Wherever a MIKE toolbox example shows this:
       factory = DfsFactory();
   replace it with this:
       factory = mrg_effing_factory();

CROSS-REFERENCE INFORMATION ^

This function calls: This function is called by:

SOURCE CODE ^

0001 function factory = mrg_effing_factory()
0002 % Load the f**king factory.
0003 %
0004 % A function to generate the factory object required in a number of MIKE
0005 % toolbox examples.  Should prevent errors in functions.
0006 %
0007 % USAGE
0008 %   Wherever a MIKE toolbox example shows this:
0009 %       factory = DfsFactory();
0010 %   replace it with this:
0011 %       factory = mrg_effing_factory();
0012 %
0013 
0014 NET.addAssembly('DHI.Generic.MikeZero.DFS');
0015 import DHI.Generic.MikeZero.DFS.*;
0016 factory = DfsFactory();
0017 
0018 end

Generated on Thu 29-May-2014 21:29:53 by m2html © 2005