![]() SourcePro C++ 13.0 |
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 © 2014 Rogue Wave Software, Inc. All Rights Reserved.
Rogue Wave and SourcePro are registered trademarks of Rogue Wave Software, Inc. in the United States and other countries. All other trademarks are the property of their respective owners.
Provide feedback to Rogue Wave about its documentation.