SCIRun  5.0
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Public Member Functions | Static Public Attributes | Friends | List of all members
MatrixBase< T > Class Template Referenceabstract

#include <Matrix.h>

Inheritance diagram for MatrixBase< T >:
MatrixIOBase Datatype Persistent HasId< IdType, IdGenerator > DenseColumnMatrixGeneric< T > DenseMatrixGeneric< T > SparseRowMatrixGeneric< T >

Public Member Functions

virtual size_t nrows () const =0
 
virtual size_t ncols () const =0
 
virtual void accept (MatrixVisitorGeneric< T > &visitor)=0
 
bool empty () const
 
virtual T get (int i, int j) const =0
 
virtual void put (int i, int j, const T &val)=0
 
- Public Member Functions inherited from MatrixIOBase
 MatrixIOBase ()
 
virtual std::string dynamic_type_name () const
 
virtual void io (Piostream &)
 
- Public Member Functions inherited from Datatype
 Datatype ()
 
virtual ~Datatype ()
 
 Datatype (const Datatype &other)
 
Datatypeoperator= (const Datatype &rhs)
 
template<typename T >
const T * as () const
 
virtual Datatypeclone () const =0
 
- Public Member Functions inherited from Persistent
virtual ~Persistent ()
 
- Public Member Functions inherited from HasId< IdType, IdGenerator >
 HasId ()
 
IdType id () const
 

Static Public Attributes

static PersistentTypeID type_id
 
- Static Public Attributes inherited from MatrixIOBase
static PersistentTypeID type_id
 

Friends

std::ostream & operator<< (std::ostream &o, const MatrixBase< T > &m)
 

Additional Inherited Members

- Public Types inherited from Datatype
typedef HasIntegerId::id_type id_type
 
- Public Types inherited from HasId< IdType, IdGenerator >
typedef IdType id_type
 
- Static Public Member Functions inherited from Persistent
static PersistentTypeIDPtr find_derived (const std::string &classname, const std::string &basename)
 
static bool is_base_of (const std::string &parent, const std::string &type)
 
static void add_class (const std::string &type, const std::string &parent, Persistent *(*maker)(), Persistent *(*bc_maker1)()=0, Persistent *(*bc_maker2)()=0)
 
static void add_mesh_class (const std::string &type, Persistent *(*maker)(), Persistent *(*bc_maker1)()=0, Persistent *(*bc_maker2)()=0)
 
static void add_field_class (const std::string &type, Persistent *(*maker)(), Persistent *(*bc_maker1)()=0, Persistent *(*bc_maker2)()=0)
 
- Protected Attributes inherited from MatrixIOBase
bool separate_raw_
 
std::string raw_filename_
 

Member Function Documentation

virtual void accept ( MatrixVisitorGeneric< T > &  visitor)
pure virtual
bool empty ( ) const
inline
virtual T get ( int  i,
int  j 
) const
pure virtual
virtual size_t ncols ( ) const
pure virtual
virtual size_t nrows ( ) const
pure virtual
virtual void put ( int  i,
int  j,
const T &  val 
)
pure virtual

Friends And Related Function Documentation

std::ostream& operator<< ( std::ostream &  o,
const MatrixBase< T > &  m 
)
friend

Member Data Documentation

PersistentTypeID type_id
static

The documentation for this class was generated from the following file: