📄 mcomplexscalarmethods.h
字号:
// file: $isip/class/math/scalar/MComplexScalar/MComplexScalarMethods.h// version: $Id: MComplexScalarMethods.h,v 1.6 2002/02/26 21:49:20 zheng Exp $//// make sure definitions are only made once//#ifndef ISIP_MCOMPLEX_SCALAR_METHODS#define ISIP_MCOMPLEX_SCALAR_METHODS// isip include files//#ifndef ISIP_INTEGRAL#include <Integral.h>#endif// forward class definitions//template<class TIntegral, class TSize> class MComplexScalar;class String;class Random;class Sof;// MComplexScalarMethods: provide implementations of more complex methods// found in the MComplexScalar template class.//class MComplexScalarMethods { //--------------------------------------------------------------------------- // // public constants // //---------------------------------------------------------------------------public: // define the class name // //---------------------------------------- // // other important constants // //---------------------------------------- //---------------------------------------- // // default values and arguments // //---------------------------------------- // define the default value(s) of the class data // // default arguments to methods // //---------------------------------------- // // error codes // //---------------------------------------- //--------------------------------------------------------------------------- // // protected data // //---------------------------------------------------------------------------protected: //--------------------------------------------------------------------------- // // required public methods // //---------------------------------------------------------------------------public: // static methods: // note that name() is not inlined to avoid a circular include file problem. // static const String& name(); template <class TCScalar, class TIntegral> static boolean diagnose(Integral::DEBUG debug_level); // debug methods: // these methods are not required for this class. // // destructor/constructor(s): // these methods are private in this class. // // assign methods: // these methods are not required for this class. // // i/o methods // template <class TIntegral, class TSize> static boolean read(MComplexScalar<TIntegral, TSize>& obj, Sof& sof, long tag, const String& name); template <class TIntegral, class TSize> static boolean write(const MComplexScalar<TIntegral, TSize>&, Sof& sof, long tag, const String& name); template <class TIntegral, class TSize> static boolean readData(MComplexScalar<TIntegral, TSize>&, Sof& sof, const String& pname, long size, boolean param_a , boolean nested_a); template <class TIntegral, class TSize> static boolean writeData(const MComplexScalar<TIntegral, TSize>&, Sof& sof, const String& pname); // equality methods: // these methods are not required for this class. // //--------------------------------------------------------------------------- // // class-specific public methods // //--------------------------------------------------------------------------- // digital signal processing methods // //--------------------------------------------------------------------------- // // private methods // //---------------------------------------------------------------------------private: // destructor/constructor(s): // the destructors and constructors are declared private so that a // compilation error will be generated if the user tries to construct an // object of this type // ~MComplexScalarMethods(); MComplexScalarMethods(); MComplexScalarMethods(const MComplexScalarMethods& arg); // additional diagnose methods: because of the complexity of diagnose, // we break it into smaller functions. // template <class TCScalar, class TIntegral> static boolean diagnose0(Integral::DEBUG debug_level); template <class TCScalar, class TIntegral> static boolean diagnose1(Integral::DEBUG debug_level); template <class TCScalar, class TIntegral> static boolean diagnose2(Integral::DEBUG debug_level);};// end of include file//#endif
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -