#
# OIFITS.jl --
#
# Support for OI-FITS (optical interferometry data format) in Julia.
#
#------------------------------------------------------------------------------

module OIFITS

export
    OIArray,
    OICorrelation,
    OIDataBlock,
    OIFlux,
    OIMaster,
    OIPolarization,
    OIT3,
    OITarget,
    OIVis,
    OIVis2,
    OIWavelength

using Compat
import Base: getindex, setindex!, haskey, keys, show

using FITSIO
using FITSIO.Libcfitsio

using FITSIO: libcfitsio, fits_assert_ok, fits_assert_open
using FITSIO.Libcfitsio: fits_get_errstatus

include("types.jl")
include("utils.jl")
include("objects.jl")
include("builder.jl")
include("files.jl")
include("accessors.jl") # must be *after* oifile.jl and all oiformat*.jl

end # module
