📄 promote.hpp
字号:
/* * =========================================================================== * PRODUCTION $Log: promote.hpp,v $ * PRODUCTION Revision 1000.2 2004/06/01 19:48:58 gouriano * PRODUCTION PRODUCTION: UPGRADED [GCC34_MSVC7] Dev-tree R1.9 * PRODUCTION * =========================================================================== */#ifndef GUI_MATH___PROMOTE__HPP#define GUI_MATH___PROMOTE__HPP#include <util/math/promote.hpp>/** @addtogroup GUI_MATH * * @{ */BEGIN_NCBI_SCOPE//// prmotion rules for non-builtin types// we add these as we need them////// promote: int + CVect/CMatrix<int> --> ???NCBI_PROMOTE2_TRAITS(int, CVect2<int>, CVect2<int>);NCBI_PROMOTE2_TRAITS(int, CVect3<int>, CVect3<int>);NCBI_PROMOTE2_TRAITS(int, CVect4<int>, CVect4<int>);NCBI_PROMOTE2_TRAITS(int, CMatrix3<int>, CMatrix3<int>);NCBI_PROMOTE2_TRAITS(int, CMatrix4<int>, CMatrix4<int>);//// promote: int + CVect/CMatrix<float> --> ???NCBI_PROMOTE2_TRAITS(int, CVect2<float>, CVect2<float>);NCBI_PROMOTE2_TRAITS(int, CVect3<float>, CVect3<float>);NCBI_PROMOTE2_TRAITS(int, CVect4<float>, CVect4<float>);NCBI_PROMOTE2_TRAITS(int, CMatrix3<float>, CMatrix3<float>);NCBI_PROMOTE2_TRAITS(int, CMatrix4<float>, CMatrix4<float>);//// promote: float + CVect/CMatrix<int> --> ???NCBI_PROMOTE2_TRAITS(float, CVect2<int>, CVect2<float>);NCBI_PROMOTE2_TRAITS(float, CVect3<int>, CVect3<float>);NCBI_PROMOTE2_TRAITS(float, CVect4<int>, CVect4<float>);NCBI_PROMOTE2_TRAITS(float, CMatrix3<int>, CMatrix3<float>);NCBI_PROMOTE2_TRAITS(float, CMatrix4<int>, CMatrix4<float>);//// promote: float + CVect/CMatrix<float> --> ???NCBI_PROMOTE2_TRAITS(float, CVect2<float>, CVect2<float>);NCBI_PROMOTE2_TRAITS(float, CVect3<float>, CVect3<float>);NCBI_PROMOTE2_TRAITS(float, CVect4<float>, CVect4<float>);NCBI_PROMOTE2_TRAITS(float, CMatrix3<float>, CMatrix3<float>);NCBI_PROMOTE2_TRAITS(float, CMatrix4<float>, CMatrix4<float>);//// promote: double + CVect/CMatrix<double> --> ???NCBI_PROMOTE2_TRAITS(double, CVect2<double>, CVect2<double>);NCBI_PROMOTE2_TRAITS(double, CVect3<double>, CVect3<double>);NCBI_PROMOTE2_TRAITS(double, CVect4<double>, CVect4<double>);NCBI_PROMOTE2_TRAITS(double, CMatrix3<double>, CMatrix3<double>);NCBI_PROMOTE2_TRAITS(double, CMatrix4<double>, CMatrix4<double>);//// promote: CVect/CMatrix<float> + CVect/CMatrix<float> --> ???NCBI_PROMOTE2_TRAITS(CVect3<float>, CVect4<float>, CVect4<float>);NCBI_PROMOTE2_TRAITS(CVect3<float>, CMatrix3<float>, CMatrix3<float>);NCBI_PROMOTE2_TRAITS(CVect3<float>, CMatrix4<float>, CMatrix4<float>);NCBI_PROMOTE2_TRAITS(CVect4<float>, CMatrix4<float>, CMatrix4<float>);NCBI_PROMOTE2_TRAITS(float, CVect4< CVect3<float> >, CVect4< CVect3<float> >);NCBI_PROMOTE2_TRAITS(float, CMatrix4< CVect3<float> >, CMatrix4< CVect3<float> >);END_NCBI_SCOPE/* @} *//* * ========================================================================== * $Log: promote.hpp,v $ * Revision 1000.2 2004/06/01 19:48:58 gouriano * PRODUCTION: UPGRADED [GCC34_MSVC7] Dev-tree R1.9 * * Revision 1.9 2004/05/11 18:53:50 dicuccio * Added doxygen modules info * * ========================================================================== * */#endif // GUI_MATH___PROMOTE__HPP
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -