HDK
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
UT_PtrMatrix.h
Go to the documentation of this file.
1 /*
2  * PROPRIETARY INFORMATION. This software is proprietary to
3  * Side Effects Software Inc., and is not to be reproduced,
4  * transmitted, or disclosed in any way without written permission.
5  *
6  * NAME: Utility Library (C++)
7  *
8  * COMMENTS:
9  * This class is a wrapper for UT_RefMatrix provided for backward
10  * compatibility.
11  */
12 
13 #ifndef __UT_PtrMatrix_h__
14 #define __UT_PtrMatrix_h__
15 
16 #include "UT_RefMatrix.h"
17 
18 template <class utPtr>
19 class UT_PtrMatrix : public UT_RefMatrix<utPtr> {
20 public:
21  // Trivial constructor and destructor:
22  UT_PtrMatrix(unsigned mSz = 0, unsigned nSz = 0) : UT_RefMatrix<utPtr>(mSz, nSz) {}
23 
24  // Copy constructor that copies each utPtr from the source matrix to
25  // this matrix using the '=' operator.
27  : UT_RefMatrix<utPtr>(m)
28  {
29  }
30 };
31 
32 #endif
UT_PtrMatrix(const UT_PtrMatrix< utPtr > &m)
Definition: UT_PtrMatrix.h:26
UT_PtrMatrix(unsigned mSz=0, unsigned nSz=0)
Definition: UT_PtrMatrix.h:22