28 #ifndef TABLES_STARRAYFILE_H
29 #define TABLES_STARRAYFILE_H
void copyArrayComplex(Int64 to, Int64 from, uInt nr)
A Vector of integers, for indexing into Array<T> objects.
long long Int64
Define the extra non-standard types used by Casacore (like proposed uSize, Size)
void copyArrayBool(Int64 to, Int64 from, uInt nr)
Copy the array with nr elements from one file offset to another.
uInt getRefCount(Int64 offset)
Get the reference count.
void copyArrayString(Int64 to, Int64 from, uInt nr)
std::complex< Float > Complex
~StManArrayFile()
Close the possibly opened file.
Abstract base class to combine multiple files in a single one.
Int64 length()
Return the current file length (merely a debug tool).
void copyArrayuChar(Int64 to, Int64 from, uInt nr)
unsigned long long uInt64
void put(Int64 fileOffset, uInt arrayOffset, uInt nr, const Bool *)
Put nr elements at the given file offset and array offset.
void copyArrayInt(Int64 to, Int64 from, uInt nr)
ABSTRACT CLASSES Abstract class for colors Any implementation of color should be able to provide a hexadecimal form of the if a human readable name(i.e."black").In many places throughout the plotter
virtual size_t read(size_t nvalues, Bool *value)
Read the values from the ByteIO object and convert them.
void putRefCount(uInt refCount, Int64 offset)
Put the reference count.
void copyArrayuInt(Int64 to, Int64 from, uInt nr)
void copyArrayChar(Int64 to, Int64 from, uInt nr)
void resync()
Resync the file (i.e.
void copyArrayuInt64(Int64 to, Int64 from, uInt nr)
virtual void reopenRW()
Reopen the underlying IO stream for read/write access.
uInt putRes(const IPosition &shape, Int64 &fileOffset, float lenElem)
Put the array shape at the end of the file and reserve space for nr elements (each lenElem bytes long...
uInt putShape(const IPosition &shape, Int64 &fileOffset, const Bool *dummy)
Put the array shape and store its file offset into the offset argument.
std::complex< Double > DComplex
Abstract base class for IO on a byte stream.
void copyArrayFloat(Int64 to, Int64 from, uInt nr)
Abstract base class for IO of data in a type-dependent format.
void copyArrayDouble(Int64 to, Int64 from, uInt nr)
virtual size_t write(size_t nvalues, const Bool *value)
Convert the values and write them to the ByteIO object.
void get(Int64 fileOffset, uInt arrayOffset, uInt nr, Bool *)
Get nr elements at the given file offset and array offset.
bool Bool
Define the standard types used by Casacore.
void reopenRW()
Reopen the file for read/write access.
TableExprNode shape(const TableExprNode &array)
Function operating on any scalar or array resulting in a Double array containing the shape...
void copyArrayShort(Int64 to, Int64 from, uInt nr)
OpenOption
Define the possible ByteIO open options.
StManArrayFile(const String &name, ByteIO::OpenOption, uInt version=0, Bool bigEndian=True, uInt bufferSize=0, MultiFileBase *mfile=0)
Construct the object and attach it to the give file.
void setpos(Int64 offset)
Position the file on the given offset.
uInt getShape(Int64 fileOffset, IPosition &shape)
Get the shape at the given file offset.
String: the storage and methods of handling collections of characters.
Bool flush(Bool fsync)
Flush and optionally fsync the data.
void copyArrayInt64(Int64 to, Int64 from, uInt nr)
Read/write array in external format for a storage manager.
LatticeExprNode value(const LatticeExprNode &expr)
This function returns the value of the expression without a mask.
void copyData(Int64 to, Int64 from, uInt length)
Copy data with the given length from one file offset to another.
void copyArrayDComplex(Int64 to, Int64 from, uInt nr)
void copyArrayuShort(Int64 to, Int64 from, uInt nr)
#define casacore
<X11/Intrinsic.h> #defines true, false, casacore::Bool, and String.