GURLS++  2.0.00
C++ Implementation of GURLS Matlab Toolbox
gurls::OptMatrixBase Class Reference

OptMatrixBase is the base class for all options containing matrices.

#include <optmatrix.h>

Inheritance diagram for gurls::OptMatrixBase:
Collaboration diagram for gurls::OptMatrixBase:

List of all members.

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.

Detailed Description

Definition at line 59 of file optmatrix.h.


The documentation for this class was generated from the following file:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Friends