deprecated.hpp

Go to the documentation of this file.
00001 // Copyright (C) 2009 NICTA
00002 // 
00003 // Authors:
00004 // - Conrad Sanderson (conradsand at ieee dot org)
00005 // 
00006 // This file is part of the Armadillo C++ library.
00007 // It is provided without any warranty of fitness
00008 // for any purpose. You can redistribute this file
00009 // and/or modify it under the terms of the GNU
00010 // Lesser General Public License (LGPL) as published
00011 // by the Free Software Foundation, either version 3
00012 // of the License or (at your option) any later version.
00013 // (see http://www.opensource.org/licenses for more info)
00014 
00015 
00016 //! \addtogroup deprecated
00017 //! @{
00018 
00019 
00020 
00021 
00022 #define basic_mat    Mat
00023 #define basic_colvec Col
00024 #define basic_rowvec Row
00025 #define basic_math   Math
00026 
00027 
00028 namespace deprecated
00029   {
00030   // pre-processing tricks to let doxygen document deprecated classes.
00031   // the defines above were not documented via \def as we've explicitly
00032   // set Doxygen's ENABLE_PREPROCESSING to NO
00033   
00034   #if defined(ARMA_TEMP_DEFINE)
00035     #undef ARMA_TEMP_DEFINE
00036   #endif
00037   
00038   #if defined(ARMA_TEMP_DEFINE)
00039     
00040     #undef basic_mat
00041     #undef basic_colvec
00042     #undef basic_rowvec
00043     
00044     //! Class name 'basic_mat' is deprecated.
00045     //! 'basic_mat' has been defined as 'Mat' for compatibility with Armadillo <= 0.6.2
00046     template<typename eT> class basic_mat {};
00047     
00048     //! Class name 'basic_colvec' is deprecated.
00049     //! 'basic_colvec' has been defined as 'Col' for compatibility with Armadillo <= 0.6.2
00050     template<typename eT> class basic_colvec {};
00051     
00052     //! Class name 'basic_rowvec' is deprecated.
00053     //! 'basic_rowvec' has been defined as 'Row' for compatibility with Armadillo <= 0.6.2
00054     template<typename eT> class basic_rowvec {};
00055   
00056     //! Class name 'basic_math' is deprecated.
00057     //! 'basic_math' has been defined as 'Math' for compatibility with Armadillo <= 0.6.2
00058     template<typename eT> class basic_math {};
00059   
00060   
00061   #endif
00062   }
00063 
00064 
00065 //! @}