Main MRPT website > C++ reference for MRPT 1.5.6
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
GLenum GLenum GLvoid * row
Definition: glew.h:2903
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
#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
#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
const GLdouble * m
Definition: glew.h:5094



Page generated by Doxygen 1.8.6 for MRPT 1.5.6 Git: 4c65e84 Tue Apr 24 08:18:17 2018 +0200 at mar abr 24 08:26:17 CEST 2018