![]() |
GURLS++
2.0.00
C++ Implementation of GURLS Matlab Toolbox
|
OptMatrixBase is the base class for all options containing matrices.
#include <optmatrix.h>
Public Types | |
enum | MatrixType { FLOAT, DOUBLE, ULONG } |
Enumeration containing all supported element types. | |
Public Member Functions | |
virtual const std::type_info & | getDataID () |
Returns the identifier of the option type. | |
MatrixType | getMatrixType () const |
Returns the element type for the matrix. | |
OptTypes | getType () const |
Returns the option type. | |
virtual bool | isA (OptTypes id) const |
Checks if the option has the given type. | |
virtual std::ostream & | operator<< (std::ostream &os) const =0 |
Writes the option to a stream. | |
OptMatrixBase () | |
Empty constructor. | |
Protected Attributes | |
MatrixType | matType |
Stores the type of the elements inside the matrix. | |
OptTypes | type |
Option type. | |
Friends | |
GURLS_EXPORT std::ostream & | operator<< (std::ostream &os, const GurlsOption &opt) |
Writes an option to a stream. |
Definition at line 59 of file optmatrix.h.