#useDynLib(externalVector)

import(methods, stats)

exportClasses(noneIndex,
              allIndex,
              externalAllocator,
              externalResource,
              externalStorage,
              externalVector,
              externalVectorWithStorage,
              gcAllocator,
              indirectExternalMatrix,
              indirectExternalVector,
              matrixIndex,
              NAIndex,
              nativeStorageMethods,
              nativeStorageMethodsList,
              positiveIndex,
              simpleStorage,
              sliceIndex,
              vectorIndex)

exportMethods(allNA,
              allocatedSize,
              allocatedType,
              allocate,
              allocator,
              anyNA,
              apply,
              Arith,
              as.character,
              as.complex,
              as.data.frame,
              #as.double,
              asEach,
              as.integer,
              as.list,
              as.logical,
              as.matrix,
              as.numeric,
              as.Rmatrix,
              as.Rvector,
              as.single,
              as.vector,
              "[<-",
              "[",
              "[[<-",
              "[[",
              c,
              coerce,
              colMeans,
              colSums,
              Compare,
              Complex,
              cor,
              cov2cor,
              cov,
              deallocate,
              defaultElement,
              "dim<-",
              dim,
              "dimnames<-",
              dimnames,
              "external.size<-",
              external.size,
              force,
              getExternalStorage,
              getNativeStorageMethods,
              getPointer,
              initialize,
              initializeResource,
              internalType,
              is.finite,
              is.infinite,
              is.na,
              is.nan,
              lapply,
              "length<-",
              length,
              log,
              match,
              Math,
              mean,
              median,
              "names<-",
              names,
              Ops,
              reinitializePointer,
              rowMeans,
              rowSums,
              sapply,
              setDimNames,
              setNames,
              show,
              Subset2,
              Subset,
              Summary,
              var)

export(externalCharacter,
       externalComplex,
       externalInteger,
       externalLogical,
       externalMatrix,
       externalNumeric,
       externalVector,
       makeSlice,
       nonSlotAttributes,
       "nonSlotAttributes<-",
       rebind,
       setExternalStorageClass,
       setVirtualMethod,
       SubscriptList)
