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