casa
5.7.0-16
|
a base for classes that rely on assumptions regarding privitive type sizes. More...
#include <MirTypeAssert.h>
Public Member Functions | |
MirTypeAssert () | |
Static Protected Attributes | |
static casacore::Bool | ok |
a base for classes that rely on assumptions regarding privitive type sizes.
Public interface
Current support of Miriad uv-IO is based on certain assumptions about use of memory, specifically the size of primitive types.
This exception is used to indicate that certain assumptions about the size of primitive types do not hold. Miriad IO in aips++ assumes that the sizes of casacore::Int, casacore::Float, and casacore::Double are equal to the corresponding sizes of int, float, and casacore::Double; this exception is thrown when these conditions are not met.
Normally, applications do not create and throw this exception directly as it has been integrated into the MirTypeAssert class which automatically checks the memory assumptions upon construction. Any class that depends on this assumption can inherit from MirTypeAssert.
See summary above.
Definition at line 110 of file MirTypeAssert.h.
MirTypeAssert::MirTypeAssert | ( | ) |
|
staticprotected |
Definition at line 115 of file MirTypeAssert.h.