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 {
21 public:
22  // Trivial constructor and destructor:
23  UT_PtrMatrix(unsigned mSz = 0, unsigned nSz = 0) : UT_RefMatrix<utPtr>(mSz, nSz) {}
24 
25  // Copy constructor that copies each utPtr from the source matrix to
26  // this matrix using the '=' operator.
28  : UT_RefMatrix<utPtr>(m)
29  {
30  }
31 };
32 
33 #endif
UT_PtrMatrix(const UT_PtrMatrix< utPtr > &m)
Definition: UT_PtrMatrix.h:27
UT_PtrMatrix(unsigned mSz=0, unsigned nSz=0)
Definition: UT_PtrMatrix.h:23