ProMCBook Class Reference
List of all members.
Member Function Documentation
void ProMCBook::close |
( |
|
) |
|
Close all files and write metadata.
Get a data record (event) using a random access. Use a key to extract the record. The key value runs from "0" to size()-1.
- Parameters:
-
- Returns:
- ProMCEvent record corresponding to this key.
Get the next record. Make sure you can next() first.
- Returns:
- ProMCEvent record.
Get the record with the header file.
- Parameters:
-
Get the statistics record. Should be called last after all events.
- Returns:
Get the next record.
- Returns:
- 0 if the record was extracted OK. Retun -1 if outside the scope
void ProMCBook::setDescription |
( |
int |
requested_events, |
|
|
string |
describe | |
|
) |
| | |
Set the description information.
- Parameters:
-
| requested_events | Requested events (not the actual!) |
| describe | description |
Set a header file.
- Parameters:
-
void ProMCBook::setStatistics |
( |
ProMCStat |
h |
) |
|
Set statistics information
- Parameters:
-
unsigned int ProMCBook::size |
( |
|
) |
|
Return the number of records.
- Returns:
- Return the size of all records (excluding metadata)
Write an event. Return true if no errors.
- Parameters:
-
The documentation for this class was generated from the following files: