SourcePro® C++ 13.2 |
SourcePro® C++ API Reference Guide |
Product Documentation: SourcePro C++ Documentation Home |
Converts between RWGenMat types with different datatypes. More...
#include <rw/math/genmat.h>
Public Member Functions | |
RWConvertGenMat (const RWGenMat< From > &v) | |
operator RWGenMat< To > () const | |
Class RWConvertGenMat<From,To> converts between RWGenMat types with different datatypes. It assumes that there is a conversion operator from From to To.
|
inline |
Constructs a new matrix of type RWGenMat<To> that can be used anywhere as a type RWGenMat<To> . Note that a temporary matrix is created every time this constructor is invoked, but the conversion operator below can be used repeatedly without creating additional temporary matrices.
|
inline |
Automatic conversion operator that enables class RWConvertGenMat<From,To> to be used as an RWGenMat<To> . While the actual conversion takes place in the constructor, this operator provides a reference to that converted matrix.
Copyright © 2015 Rogue Wave Software, Inc. All Rights Reserved. |