casa  $Rev:20696$
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines
Public Types
casa::LogiArrayFwd_global_functions_LogicalArray_forwards Struct Reference

Forward declarations for LogicalArrays. More...

#include <LogiArrayFwd.h>

List of all members.

Public Types

typedef Bool LogicalArrayElem
 The element type for LogicalArray.
typedef Array< LogicalArrayElemLogicalArray
 Define LogicalArray.

Detailed Description

Forward declarations for LogicalArrays.

Review Status

Reviewed By:
UNKNOWN
Date Reviewed:
before2004/08/25

Prerequisite

Etymology

LogiArrayFwd is short for LogicalArrayForwards, which is too long by AIPS++ file naming conventions. It contains forwards for LogicalArrays.

Synopsis

This file contains forward definitions for LogicalArrays.

Motivation

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.

To Do

Definition at line 79 of file LogiArrayFwd.h.


Member Typedef Documentation

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.


The documentation for this struct was generated from the following file: