X-Git-Url: http://git.kpe.io/?p=ctsim.git;a=blobdiff_plain;f=include%2Farray2dfile.h;h=22e8b6173401fe6ed3d2dec6dccc4c2211e65af5;hp=754ad93a9d1df81138605fc684a81edf8db8a8a0;hb=7ec2cd66921180a624813dff9f8bac76c6b268cc;hpb=bc5a9ca28bc4da3691fb859945d2862f6155835b diff --git a/include/array2dfile.h b/include/array2dfile.h index 754ad93..22e8b61 100644 --- a/include/array2dfile.h +++ b/include/array2dfile.h @@ -9,7 +9,7 @@ ** This is part of the CTSim program ** Copyright (C) 1983-2000 Kevin Rosenberg ** -** $Id: array2dfile.h,v 1.13 2000/12/29 19:30:08 kevin Exp $ +** $Id: array2dfile.h,v 1.14 2001/01/01 10:14:34 kevin Exp $ ** ** This program is free software; you can redistribute it and/or modify ** it under the terms of the GNU General Public License (version 2) as @@ -165,6 +165,12 @@ public: kuint32 ny (void) const { return m_ny; } + bool isComplex() const + { return m_dataType == DATA_TYPE_COMPLEX; } + + bool isReal() const + { return m_dataType == DATA_TYPE_REAL; } + int dataType () const { return static_cast(m_dataType); }