Defines an event layout
Layout (const LayoutInfo* info = 0) Default constructor | |
explicit | Layout (const Type& type) Constructor |
explicit | Layout (const char* name) Constructor |
explicit | Layout (const std::string& name) Constructor |
Layout (const Layout& layout) Copy constructor | |
~Layout () Destructor | |
Layout& | operator= (const Layout& layout) Assignment operator |
bool | operator== (const Layout& layout) const Equality operator |
bool | operator!= (const Layout& layout) const Inequality operator |
bool | IsRegistered () const Registered layout? |
int | GetRefCount () const Get reference count |
int | GetColumNum (const_data_ptr data) const Gets the column number of an event |
Name | GetName (const_data_ptr data) const Gets the event name |
void | SetName (data_ptr data, const Name& name) Sets the event name |
Time | GetTime (const_data_ptr data) const Gets the event time |
void | SetTime (data_ptr data, const Time& time) Sets the event time |
ColumnType::ColumnIfo_t | GetIfo (const_data_ptr data) const Gets the event ifo set |
void | SetIfo (data_ptr data, const ColumnType::ColumnIfo_t& ifo) Sets the event ifo set |
std::string | GetIfoStr (const_data_ptr data) const Gets the event ifo string |
void | SetIfoStr (data_ptr data, const char* ifo) Sets the event ifo set |
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 |
bool | SetType (const Type& type) Sets the event type |
bool | GetType (Type& type) 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 |
void | Swap (Layout& l) Swap a layout |
bool | Register () Register the layout globaly |
void | Dump (std::ostream& os) const Dump column names to specified output stream. |
void | Dump () const Dump column names to specified output stream. |
static void | DumpAll (std::ostream& os) Dump all registered layouts to specified output stream. |
static void | DumpAll () Dump all registered layouts to specified output stream. |
static const Layout& | GetSimple () Get "simple" layout |
static const Layout& | GetStandard () Get "standard" layout |
static Layout | GetCoincidence (int order = 2) Get "coincidence" layout |
static Layout | GetCluster (int eventnum) Get "cluster" layout |
An event layout is used to describe an event. The layout basically contains a pointer to a event layout information record. A layout can be registered which means it points to a global event layout registered by the event factory. A registerd layout is read-only. A layout owns the layout information record if it isn't registered.
data - Pointer to event data block
val - Return value (return)
data - Pointer to event data block
val - Set value
alphabetic index hierarchy of classes
Please send questions and comments to sigg_d@ligo-wa.caltech.edu
generated by doc++