www.pudn.com > vcmatlab20060426WaterMark.zip > images_private_iptregistry_mex_interface.cpp
//
// MATLAB Compiler: 2.2
// Date: Tue May 10 11:47:30 2005
// Arguments: "-B" "macro_default" "-O" "all" "-O" "fold_scalar_mxarrays:on"
// "-O" "fold_non_scalar_mxarrays:on" "-O" "optimize_integer_for_loops:on" "-O"
// "array_indexing:on" "-O" "optimize_conditionals:on" "-B" "sglcpp" "-p" "-W"
// "main" "-L" "Cpp" "-t" "-T" "link:exe" "-h" "libmmfile.mlib" "-W" "mainhg"
// "libmwsglm.mlib" "huatu"
//
#include "images_private_iptregistry_mex_interface.hpp"
void InitializeModule_images_private_iptregistry_mex_interface() {
}
void TerminateModule_images_private_iptregistry_mex_interface() {
}
static mwArray Mimages_private_iptregistry(int nargout_, mwArray varargin);
_mexLocalFunctionTable _local_function_table_images_private_iptregistry
= { 0, (mexFunctionTableEntry *)NULL };
//
// The function "Nimages_private_iptregistry" contains the nargout interface
// for the "images/private/iptregistry" M-function from file
// "D:\matlab\matlab\toolbox\images\images\private\iptregistry.dll" (lines
// 0-0). This interface is only produced if the M-function uses the special
// variable "nargout". The nargout interface allows the number of requested
// outputs to be specified via the nargout argument, as opposed to the normal
// interface which dynamically calculates the number of outputs based on the
// number of non-NULL inputs it receives. This function processes any input
// arguments and passes them to the implementation version of the function,
// appearing above.
//
mwArray Nimages_private_iptregistry(int nargout,
mwVarargout varargout,
mwVarargin varargin) {
nargout += varargout.Nargout();
varargout.GetCell()
= Mimages_private_iptregistry(nargout, varargin.ToArray());
return varargout.AssignOutputs();
}
//
// The function "images_private_iptregistry" contains the normal interface for
// the "images/private/iptregistry" M-function from file
// "D:\matlab\matlab\toolbox\images\images\private\iptregistry.dll" (lines
// 0-0). This function processes any input arguments and passes them to the
// implementation version of the function, appearing above.
//
mwArray images_private_iptregistry(mwVarargout varargout, mwVarargin varargin) {
int nargout(0);
nargout += varargout.Nargout();
varargout.GetCell()
= Mimages_private_iptregistry(nargout, varargin.ToArray());
return varargout.AssignOutputs();
}
//
// The function "Vimages_private_iptregistry" contains the void interface for
// the "images/private/iptregistry" M-function from file
// "D:\matlab\matlab\toolbox\images\images\private\iptregistry.dll" (lines
// 0-0). The void interface is only produced if the M-function uses the special
// variable "nargout", and has at least one output. The void interface function
// specifies zero output arguments to the implementation version of the
// function, and in the event that the implementation version still returns an
// output (which, in MATLAB, would be assigned to the "ans" variable), it
// deallocates the output. This function processes any input arguments and
// passes them to the implementation version of the function, appearing above.
//
void Vimages_private_iptregistry(mwVarargin varargin) {
mwArray varargout(mwArray::UNDEFINED);
varargout = Mimages_private_iptregistry(0, varargin.ToArray());
}
//
// The function "mlxImages_private_iptregistry" contains the feval interface
// for the "images/private/iptregistry" M-function from file
// "D:\matlab\matlab\toolbox\images\images\private\iptregistry.dll" (lines
// 0-0). The feval function calls the implementation version of
// images/private/iptregistry through this function. This function processes
// any input arguments and passes them to the implementation version of the
// function, appearing above.
//
void mlxImages_private_iptregistry(int nlhs,
mxArray * plhs[],
int nrhs,
mxArray * prhs[]) {
MW_BEGIN_MLX();
{
mwArray mprhs[1];
mwArray mplhs[1];
mclCppUninitializeArrays(1, mplhs);
mprhs[0] = mclCreateVararginCell(nrhs, prhs);
mplhs[0] = Mimages_private_iptregistry(nlhs, mprhs[0]);
mclAssignVarargoutCell(0, nlhs, plhs, mplhs[0].FreezeData());
}
MW_END_MLX();
}
//
// The function "Mimages_private_iptregistry" is the implementation version of
// the "images/private/iptregistry" M-function from file
// "D:\matlab\matlab\toolbox\images\images\private\iptregistry.dll" (lines
// 1-1). It contains the actual compiled code for that M-function. It is a
// static function and must only be called from one of the interface functions,
// appearing below.
//
static mwArray Mimages_private_iptregistry(int nargout_, mwArray varargin) {
mwLocalFunctionTable save_local_function_table_
(&_local_function_table_images_private_iptregistry);
return mclCppExecMexFile("iptregistry", nargout_, varargin);
}