Defines an event layout information record
typedef IndexList <ColumnInfo> | ColumnList Column list |
LayoutInfo () Default constructor | |
LayoutInfo (const Type& type) Default constructor | |
LayoutInfo* | Copy () const Copy the layout information |
bool | operator== (const LayoutInfo& info) const Equality operator |
bool | operator!= (const LayoutInfo& info) const Inequality operator |
bool | IsRegistered () const Registered layout? |
void | RefCount (bool up) Reference counting |
int | GetRefCount () const Get reference count |
bool | GetValue (const char* name, const_data_ptr data, Value& val) const Gets the column value of an event |
bool | SetValue (const char* name, data_ptr& data, const Value& val) Sets the column value of an event |
const Type& | GetType () const Gets the event type |
bool | IsCompatible (const Type& type) const Compatible type? |
const ColumnInfoList& | GetColumnList () const Column information |
bool | AddColumn (const ColumnInfo& col) Add a column |
bool | AddColumn (const char* name, Enum type) Add a column |
bool | RemoveColumn (const char* name) Remove a column |
const ColumnInfo* | GetColumn (const char* name) const Get a column |
int | DataSize () const Data block size |
bool | Construct (data_ptr data, const_data_ptr init = 0) Construct event data |
bool | Destruct (data_ptr data) Destruct event data |
bool | Update (data_ptr& data) Update the event |
bool | Compare (const_data_ptr d1, const_data_ptr d2) const Compares event data |
const LayoutInfo* | Register () Register the layout globaly |
void | Dump (std::ostream& os) const Dump column names to specified output stream. |
static bool | Parse (const char* nameOrg, std::string& nameFirst, std::string& nameRem) Get column event |
static bool | ParseArrayIndex (const char* str, int& first, std::string& left) Get column event |
static const LayoutInfo* | Lookup (const Type& type) Lookup a layout |
static const LayoutInfo* | GetSimple () Get "simple" layout |
static const LayoutInfo* | GetStandard () Get "standard" layout |
static const char* | Simple () Name of simple event layout |
static const char* | Standard () Name of standard event layout |
static std::string | Coincidence (int order) Name of coincidence event layout |
static std::string | Cluster (int num) Name of cluster event layout |
static const char* | GdsTrigger () Name of gds trigger event layout |
static const char* | SnglInspiral () Name of single inspiral event layout |
static const char* | SnglBurst () Name of single burst event layout |
static const char* | SnglRingdown () Name of single ringdown event layout |
static const char* | SnglUnmodeled () Name of single unmodeled event layout |
static const char* | SnglDPeriodic () Name of single directed periodic event layout |
void | Recalculate () Recalculate data offset, column index and total size |
An event layout is used to describe an event. The layout infromation contains the (sub)type name and id, and the column information. An event layout is uniquely identified by its type and subtype ID. An event will store a pointer to its corresponding event layout.
data - Pointer to event data block
val - Return value (return)
data - Pointer to event data block
val - Set value
nameFirst - First part of the name (return)
nameRem - Remainder of the name (return)
first - First index (return)
left - Remainder of indices (return)
alphabetic index hierarchy of classes
Please send questions and comments to sigg_d@ligo-wa.caltech.edu
generated by doc++