/* Example programs from the book Scientific and Engineering Programming in C++: An Introduction with Advanced Techniques and Examples, Addison-Wesley, 1994. (c) COPYRIGHT INTERNATIONAL BUSINESS MACHINES CORPORATION 1994. ALL RIGHTS RESERVED. See README file for further details. */ #ifndef ConcreteFortranArray3dH #define ConcreteFortranArray3dH #include "Array/ConcreteArrayShape.h" #include "Array/ConcreteArray3d.h" template class ConcreteFortranArray3d : public ConcreteArray3d, T > { public: ConcreteFortranArray3d(Subscript s0, Subscript s1, Subscript s2); ConcreteFortranArray3d(const ConcreteFortranArray3d& p); ConcreteFortranArray3d(const ConcreteArray3dConstRef, T>&); ConcreteFortranArray3d(const ConcreteArray3dConstRef::ProjectionT, T>&); ~ConcreteFortranArray3d(); ConcreteFortranArray3d& operator=(const ConcreteFortranArray3d& rhs); ConcreteFortranArray3d& operator=(const ConcreteArray3dConstRef& rhs); ConcreteFortranArray3d& operator=(const T& rhs); void reshape(const SubscriptArray<3>& s) { reshapeOnHeap(s); } }; #ifdef XLC_QNOTEMPINC #include "Array/ConcreteFortranArray3d.c" #endif #endif