Main MRPT website > C++ reference
MRPT logo
CMatrixB.h
Go to the documentation of this file.
1 /* +---------------------------------------------------------------------------+
2  | Mobile Robot Programming Toolkit (MRPT) |
3  | http://www.mrpt.org/ |
4  | |
5  | Copyright (c) 2005-2014, Individual contributors, see AUTHORS file |
6  | See: http://www.mrpt.org/Authors - All rights reserved. |
7  | Released under BSD License. See details in http://www.mrpt.org/License |
8  +---------------------------------------------------------------------------+ */
9 #ifndef CMATRIXB_H
10 #define CMATRIXB_H
11 
14 
15 namespace mrpt
16 {
17  namespace math
18  {
19  // This must be added to any CSerializable derived class:
21 
22  /** This class is a "CSerializable" wrapper for "CMatrixBool".
23  * \note For a complete introduction to Matrices and vectors in MRPT, see: http://www.mrpt.org/Matrices_vectors_arrays_and_Linear_Algebra_MRPT_and_Eigen_classes
24  * \ingroup mrpt_base_grp
25  */
26  class BASE_IMPEXP CMatrixB : public mrpt::utils::CSerializable, public CMatrixBool
27  {
28  // This must be added to any CSerializable derived class:
30  public:
31  /** Constructor
32  */
33  CMatrixB(size_t row = 1, size_t col = 1) : CMatrixBool(row,col)
34  {
35  }
36 
37  /** Copy constructor
38  */
39  CMatrixB( const CMatrixBool &m ) : CMatrixBool(m)
40  {
41  }
42 
43  /** Assignment operator for float matrixes
44  */
45  CMatrixB & operator = (const CMatrixBool& m)
46  {
48  return *this;
49  }
50 
51  }; // end of class definition
53 
54  } // End of namespace
55 } // End of namespace
56 
57 #endif
The virtual base class which provides a unified interface for all persistent objects in MRPT...
Definition: CSerializable.h:35
class BASE_IMPEXP CSerializable
Definition: CStream.h:23
#define DEFINE_SERIALIZABLE_PRE_CUSTOM_BASE(class_name, base_name)
This declaration must be inserted in all CSerializable classes definition, before the class declarati...
CMatrixB(const CMatrixBool &m)
Copy constructor.
Definition: CMatrixB.h:39
This template class provides the basic functionality for a general 2D any-size, resizable container o...
This is the global namespace for all Mobile Robot Programming Toolkit (MRPT) libraries.
#define DEFINE_SERIALIZABLE(class_name)
This declaration must be inserted in all CSerializable classes definition, within the class declarati...
#define DEFINE_SERIALIZABLE_POST_CUSTOM_BASE(class_name, base_name)
This class is a "CSerializable" wrapper for "CMatrixBool".
Definition: CMatrixB.h:26
CMatrixTemplate & operator=(const CMatrixTemplate &m)
Assignment operator from another matrix.



Page generated by Doxygen 1.8.8 for MRPT 1.2.2 SVN:Unversioned directory at Tue Oct 14 02:14:08 UTC 2014