Main MRPT website > C++ reference for MRPT 1.5.7
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-2017, 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  CMatrixB(size_t row = 1, size_t col = 1) : CMatrixBool(row,col) { }
33  /** Copy constructor */
34  CMatrixB( const CMatrixBool &m ) : CMatrixBool(m) { }
35  /** Assignment operator for float matrixes */
36  CMatrixB & operator = (const CMatrixBool& m) { CMatrixBool::operator =(m); return *this; }
37  }; // end of class definition
39 
40  } // End of namespace
41 } // End of namespace
42 
43 #endif
Declares a matrix of booleans (non serializable).
CMatrixBool & operator=(const CMatrixTemplate< bool > &m)
Assignment operator for float matrixes.
Definition: CMatrixB.cpp:78
The virtual base class which provides a unified interface for all persistent objects in MRPT...
Definition: CSerializable.h:39
CMatrixB(size_t row=1, size_t col=1)
Constructor.
Definition: CMatrixB.h:32
#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:34
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)
GLenum GLenum GLvoid * row
Definition: glext.h:3533
This class is a "CSerializable" wrapper for "CMatrixBool".
Definition: CMatrixB.h:26



Page generated by Doxygen 1.8.14 for MRPT 1.5.7 Git: 5902e14cc Wed Apr 24 15:04:01 2019 +0200 at lun oct 28 01:39:17 CET 2019