casa
$Rev:20696$
|
Forward declarations for LogicalArrays. More...
#include <LogiArrayFwd.h>
Public Types | |
typedef Bool | LogicalArrayElem |
The element type for LogicalArray. | |
typedef Array< LogicalArrayElem > | LogicalArray |
Define LogicalArray. |
Forward declarations for LogicalArrays.
LogiArrayFwd is short for LogicalArrayForwards, which is too long by AIPS++ file naming conventions. It contains forwards for LogicalArrays.
This file contains forward definitions for LogicalArrays.
There are places where LogicalArrays cannot be defined, i.e. where LogiArray.h cannot be included. In those places, one must provide forward declarations for those objects which one is using. This is particularly tricky for LogicalArrays, since they are not classes, but are rather typedefs. In order to make these forwards easier to get correct, and easier to maintain, this file was created. If LogicalArrays should ever be change to a class, only this file would need to be changed, instead of every file where the current typedefs would have to be changed to class forwards.
Definition at line 79 of file LogiArrayFwd.h.
typedef Array<LogicalArrayElem> casa::LogiArrayFwd_global_functions_LogicalArray_forwards::LogicalArray |
Define LogicalArray.
Definition at line 93 of file LogiArrayFwd.h.
The element type for LogicalArray.
This should stay a typedef and not a class, so that it will work inside of logical expressions without defining a cast to int, which would lose its typesafeness.
Definition at line 88 of file LogiArrayFwd.h.