26#ifndef TABLES_MAPPEDARRAYENGINE_H
27#define TABLES_MAPPEDARRAYENGINE_H
30#include <casacore/casa/aips.h>
31#include <casacore/tables/DataMan/BaseMappedArrayEngine.h>
137 const String& storedColumnName);
202#ifndef CASACORE_NO_AUTO_TEMPLATES
203#include <casacore/tables/DataMan/MappedArrayEngine.tcc>
ArrayColumn< StoredType > & column()
Give access to the stored column.
void setNames(const String &virtualName, const String &storedName)
Set the virtual and stored column name.
const String & storedName() const
Get the stored column name.
const String & virtualName() const
Get the virtual column name.
Abstract base class for a data manager.
Table & table() const
Get the table this object is associated with.
virtual String dataManagerName() const
Get the name given to the engine (is the virtual column name).
MappedArrayEngine(const Record &spec)
Construct from a record specification as created by dataManagerSpec().
~MappedArrayEngine()
Destructor is mandatory.
virtual void mapOnPut(const Array< VirtualType > &array, Array< StoredType > &stored)
Copy the virtual array to the stored array.
static void registerClass()
Register the class name and the static makeObject "constructor".
DataManager * clone() const
Clone the engine object.
virtual String dataManagerType() const
Return the type name of the engine (i.e.
virtual Record dataManagerSpec() const
Record a record containing data manager specifications.
MappedArrayEngine(const MappedArrayEngine< VirtualType, StoredType > &)
Copy constructor is only used by clone().
static String className()
Return the name of the class.
MappedArrayEngine(const String &virtualColumnName, const String &storedColumnName)
Construct an engine to map all arrays in a column.
virtual void mapOnGet(Array< VirtualType > &array, const Array< StoredType > &stored)
Copy the stored array to the virtual array.
static DataManager * makeObject(const String &dataManagerType, const Record &spec)
Define the "constructor" to construct this engine when a table is read back.
String: the storage and methods of handling collections of characters.
this file contains all the compiler specific defines
TableExprNode array(const TableExprNode &values, const TableExprNodeSet &shape)
Create an array of the given shape and fill it with the values.