#include <LCSIO.h>
Static Public Member Functions | |
| void | checkVersion (int versionID) |
| unsigned int | read (SIO_stream *stream, char **c) |
| unsigned int | write (SIO_stream *stream, int i) |
| unsigned int | write (SIO_stream *stream, unsigned int i) |
| unsigned int | write (SIO_stream *stream, EVENT::long64 i) |
| unsigned int | write (SIO_stream *stream, float f) |
| unsigned int | write (SIO_stream *stream, const std::string &s) |
| std::string | getValidSIOName (const std::string &aName) |
Static Public Attributes | |
| const char * | RUNRECORDNAME = "LCRunHeader" |
| const char * | RUNBLOCKNAME = "RunHeader" |
| const char * | EVENTRECORDNAME = "LCEvent" |
| const char * | EVENTBLOCKNAME = "Event" |
| const char * | HEADERRECORDNAME = "LCEventHeader" |
| const char * | HEADERBLOCKNAME = "EventHeader" |
| const char * | FILE_EXTENSION = ".slcio" |
| const bool | COMPRESSION = true |
Static Private Attributes | |
| char * | dummy = new char[ LCSIO::dummy_initial_size ] |
| int | dummy_size = LCSIO::dummy_initial_size |
| const int | dummy_initial_size = 1024 |
Definition at line 24 of file LCSIO.h.
|
|
Checks the version of the file - oldefile (version < v00-08) are no longer supported Definition at line 25 of file LCSIO.cc. References SIO_VERSION_MAJOR, and SIO_VERSION_MINOR. |
|
|
Creates a valid SIO name (basically equivalent to a valid C++ name) by replacing every [.], [\] and [/] with underscores and removing all nonalphanumeric characters and adding an 'A' to the beginning, if necessary. |
|
||||||||||||
|
Read a string from the stream into a dummy buffer. Warning the same buffer is used for each call. So the return value needs to be copied to its final memory destination. Definition at line 62 of file LCSIO.cc. References SIO_functions::data(), dummy, and dummy_size. |
|
||||||||||||
|
Write a string to the stream. Writes the length of the string first and adds '' to the end. Definition at line 125 of file LCSIO.cc. References SIO_functions::data(). |
|
||||||||||||
|
Write a float to the stream. Definition at line 118 of file LCSIO.cc. References SIO_functions::data(). |
|
||||||||||||
|
Write a 64bit integer to the stream Definition at line 111 of file LCSIO.cc. References SIO_functions::data(), and EVENT::long64. |
|
||||||||||||
|
Write an unsigned int to the stream. Definition at line 94 of file LCSIO.cc. References SIO_functions::data(). |
|
||||||||||||
|
Write an int to the stream. Definition at line 88 of file LCSIO.cc. References SIO_functions::data(). |
|
|
the compression mode for SIO |
|
|
Definition at line 13 of file LCSIO.cc. Referenced by read(). |
|
|
|
|
|
Definition at line 12 of file LCSIO.cc. Referenced by read(). |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1.3.9.1