Defines an event column
explicit | ColumnInfo (const char* name = 0, Enum type = kInvalid) Default constructor |
explicit | ColumnInfo (const std::string& name, Enum type = kInvalid) Constructor |
bool | operator== (const ColumnInfo& desc) const Equality operator |
bool | operator!= (const ColumnInfo& desc) const Inequality operator |
bool | operator< (const ColumnInfo& desc) const Less operator |
bool | SetNameType (const char* name, Enum type) Set the column name |
const char* | GetName () const Get the column name |
Enum | GetType () const Get the column type |
std::string | GetTypeName () const Get the column type name |
int | GetTypeSize () const Get the type size |
int | GetTypeAlignment () const Get the alignment size |
void | SetColumn (int col) Set column number |
int | GetColumn () const Get column number |
void | SetOffset (int offset) Set column data offset |
int | GetOffset () const Get column data offset |
bool | IsFixed () const Fixed column? |
bool | Construct (data_ptr data, const_data_ptr init = 0) Constructs a column value |
bool | Destruct (data_ptr data) Destructs a column value |
bool | Compare (const_data_ptr d1, const_data_ptr d2) const Compares two column values |
bool | IsZero (const_data_ptr data) const Compares column value against zero |
static bool | CheckName (const char* name) Check name |
void | Init (const char* name, Enum type) Initializes the column information record |
Event column information. This class describes the columns of an event. This class is used the event layout. Event columns are separated between fixed and varying. Fixed columns are identical for every event, whereas varying columns are specific to the layout of the event. By default fixed columns are the event time, the event subtype and the interferometer set. A forth column describing the number of actual column allocated for the event is needed to add columns to an event layout at run-time.The column names within an event layout have to be unique. Column names can not contain the characters "[", "]" or ".". They can not contain "(", ")" unless they are of the event type and contain the string "Event" together with a positive index.
A column information contains the following information:
Name - The name of the column (case insensitive) Type - The column type, i.e., Real, Time, Int, Complex or String. CharSize - The maximum length of a string type Fixed - True if a fixed column Column - The column index of this column within an event layout Offset - The byte offset of column value within an event data block
type - Column type
d2 - Pointer to second column data
type - Column type
alphabetic index hierarchy of classes
Please send questions and comments to sigg_d@ligo-wa.caltech.edu
generated by doc++