28 #ifndef TABLES_SSMSTRINGHANDLER_H
29 #define TABLES_SSMSTRINGHANDLER_H
A Vector of integers, for indexing into Array<T> objects.
SSMStringHandler & operator=(const SSMStringHandler &)
void replace(Int bucketNr, Int offset, Int length, const String &string)
Replace the current data with the new data.
Int lastStringBucket() const
void resync()
Resynchronize (after a table lock was acquired).
void put(Int &bucketNr, Int &offset, Int &length, const String &string)
Put a single string or an array of strings into a bucket.
Base class of the Standard Storage Manager.
void putData(Int length, const Char *data)
Put the data with the given length at the end of the current bucket.
ABSTRACT CLASSES Deliberately vague to be general enough to allow for many different types of data
Store strings in the Standard Storage Manager.
void getNewBucket(Bool doConcat)
Get a new bucket and make it current.
void putShape(Int &bucketNr, Int &offset, Int &length, const IPosition &aShape)
Put a single string or an array of strings into a bucket.
LatticeExprNode length(const LatticeExprNode &expr, const LatticeExprNode &axis)
2-argument function to get the length of an axis.
bool Bool
Define the standard types used by Casacore.
void flush()
Flush the currently used string bucket.
template <class T, class U> class vector;
void getData(Int length, Char *data, Int &offset)
Get the data with the given length from the curent bucket at the given offset.
void getShape(IPosition &aShape, Int bucket, Int &offset, Int length)
Get the shape in the given bucket and offset.
void replaceData(Int &offset, Int length, const Char *data)
String: the storage and methods of handling collections of characters.
void init()
Initialize the StringHandler.
SSMStringHandler(SSMBase *aBase)
Default constructor initializes last string bucket to -1.
void setLastStringBucket(Int lastStringBucket)
Set or get last string bucketnr.
void getBucket(uInt bucketNr, Bool isNew=False)
Get the given bucket and make it current.
#define casacore
<X11/Intrinsic.h> #defines true, false, casacore::Bool, and String.