#include <SIOLCParameters.h>
Inheritance diagram for SIO::SIOLCParameters:

Public Member Functions | |
| virtual int | getIntVal (const std::string &key) const |
| virtual float | getFloatVal (const std::string &key) const |
| virtual const std::string & | getStringVal (const std::string &key) const |
| virtual EVENT::IntVec & | getIntVals (const std::string &key, EVENT::IntVec &values) const |
| virtual IntVec & | getIntVals (const std::string &key, IntVec &values) const =0 |
| virtual EVENT::FloatVec & | getFloatVals (const std::string &key, EVENT::FloatVec &values) const |
| virtual FloatVec & | getFloatVals (const std::string &key, FloatVec &values) const =0 |
| virtual EVENT::StringVec & | getStringVals (const std::string &key, EVENT::StringVec &values) const |
| virtual StringVec & | getStringVals (const std::string &key, StringVec &values) const =0 |
| virtual const EVENT::StringVec & | getIntKeys (EVENT::StringVec &keys) const |
| virtual const StringVec & | getIntKeys (StringVec &keys) const =0 |
| virtual const EVENT::StringVec & | getFloatKeys (EVENT::StringVec &keys) const |
| virtual const StringVec & | getFloatKeys (StringVec &keys) const =0 |
| virtual const EVENT::StringVec & | getStringKeys (EVENT::StringVec &keys) const |
| virtual const StringVec & | getStringKeys (StringVec &keys) const =0 |
| virtual int | getNInt (const std::string &key) const |
| virtual int | getNFloat (const std::string &key) const |
| virtual int | getNString (const std::string &key) const |
| virtual void | setValue (const std::string &key, int value) |
| virtual void | setValue (const std::string &key, float value) |
| virtual void | setValue (const std::string &key, const std::string &value) |
| virtual void | setValues (const std::string &key, EVENT::IntVec &values) |
| virtual void | setValues (const std::string &key, EVENT::FloatVec &values) |
| virtual void | setValues (const std::string &key, EVENT::StringVec &values) |
| virtual void | setValues (const std::string &key, IntVec &values)=0 |
| virtual void | setValues (const std::string &key, FloatVec &values)=0 |
| virtual void | setValues (const std::string &key, StringVec &values)=0 |
| virtual int | simpleUID () const |
Static Public Member Functions | |
| unsigned int | read (SIO_stream *stream, LCParameters ¶ms, unsigned int vers) |
| unsigned int | write (SIO_stream *stream, const LCParameters ¶ms) |
Protected Member Functions | |
| virtual void | setReadOnly (bool readOnly) |
| void | checkAccess () throw ( EVENT::ReadOnlyException ) |
| void | checkAccess (const char *what) throw ( EVENT::ReadOnlyException ) |
Protected Attributes | |
| IntMap | _intMap |
| FloatMap | _floatMap |
| StringMap | _stringMap |
| bool | _readOnly |
| int | _id |
Definition at line 16 of file SIOLCParameters.h.
|
|
Definition at line 20 of file AccessChecked.cc. |
|
|
|
Returns a list of all keys of float parameters. Referenced by UTIL::LCTOOLS::printParameters(), and write(). |
|
|
Returns a list of all keys of float parameters. Definition at line 92 of file LCParametersImpl.cc. References IMPL::LCParametersImpl::_floatMap, and EVENT::StringVec. |
|
|
Returns the first float value for the given key. Implements EVENT::LCParameters. Definition at line 25 of file LCParametersImpl.cc. References IMPL::LCParametersImpl::_floatMap, and EVENT::FloatVec. |
|
||||||||||||
|
Adds all float values for the given key to values. Returns a reference to values for convenience. Referenced by UTIL::LCTOOLS::printParameters(), and write(). |
|
||||||||||||
|
Adds all float values for the given key to values. Returns a reference to values for convenience. Definition at line 60 of file LCParametersImpl.cc. References IMPL::LCParametersImpl::_floatMap, and EVENT::FloatVec. |
|
|
Returns a list of all keys of integer parameters. Referenced by UTIL::LCTOOLS::printParameters(), and write(). |
|
|
Returns a list of all keys of integer parameters. Definition at line 81 of file LCParametersImpl.cc. References IMPL::LCParametersImpl::_intMap, and EVENT::StringVec. |
|
|
Returns the first integer value for the given key. Implements EVENT::LCParameters. Definition at line 14 of file LCParametersImpl.cc. References IMPL::LCParametersImpl::_intMap, and EVENT::IntVec. |
|
||||||||||||
|
Adds all integer values for the given key to values. Returns a reference to values for convenience. Referenced by UTIL::IndexMap::IndexMap(), UTIL::LCTOOLS::printParameters(), and write(). |
|
||||||||||||
|
Adds all integer values for the given key to values. Returns a reference to values for convenience. Definition at line 49 of file LCParametersImpl.cc. References IMPL::LCParametersImpl::_intMap, and EVENT::IntVec. |
|
|
The number of float values stored for this key. Implements EVENT::LCParameters. Definition at line 122 of file LCParametersImpl.cc. References IMPL::LCParametersImpl::_floatMap. |
|
|
The number of integer values stored for this key. Implements EVENT::LCParameters. Definition at line 112 of file LCParametersImpl.cc. References IMPL::LCParametersImpl::_intMap. |
|
|
The number of string values stored for this key. Implements EVENT::LCParameters. Definition at line 132 of file LCParametersImpl.cc. References IMPL::LCParametersImpl::_stringMap. |
|
|
Returns a list of all keys of string parameters. Referenced by UTIL::LCTOOLS::printParameters(), and write(). |
|
|
Returns a list of all keys of string parameters. Definition at line 102 of file LCParametersImpl.cc. References IMPL::LCParametersImpl::_stringMap, and EVENT::StringVec. |
|
|
Returns the first string value for the given key. Implements EVENT::LCParameters. Definition at line 36 of file LCParametersImpl.cc. References IMPL::LCParametersImpl::_stringMap, and EVENT::StringVec. |
|
||||||||||||
|
Adds all float values for the given key to values. Returns a reference to values for convenience. Referenced by UTIL::IndexMap::IndexMap(), SIO::SIOVertexHandler::init(), UTIL::LCTOOLS::printParameters(), and write(). |
|
||||||||||||
|
Adds all float values for the given key to values. Returns a reference to values for convenience. Definition at line 70 of file LCParametersImpl.cc. References IMPL::LCParametersImpl::_stringMap, and EVENT::StringVec. |
|
||||||||||||||||
|
Reads objects from an SIO stream. Definition at line 13 of file SIOLCParameters.cc. References EVENT::FloatVec, EVENT::IntVec, LCSIO_READ, EVENT::LCParameters::setValues(), SIO_DATA, and EVENT::StringVec. |
|
|
Reimplemented in IMPL::LCCollectionVec, and IMPL::LCRunHeaderImpl. Definition at line 14 of file AccessChecked.cc. References IMPL::AccessChecked::_readOnly. Referenced by IMPL::LCEventImpl::setAccessMode(), and IMPL::LCCollectionVec::setReadOnly(). |
|
||||||||||||
|
Set string value for the given key. Implements EVENT::LCParameters. Definition at line 156 of file LCParametersImpl.cc. References IMPL::LCParametersImpl::_stringMap, and IMPL::AccessChecked::checkAccess(). |
|
||||||||||||
|
Set float value for the given key. Implements EVENT::LCParameters. Definition at line 149 of file LCParametersImpl.cc. References IMPL::LCParametersImpl::_floatMap, and IMPL::AccessChecked::checkAccess(). |
|
||||||||||||
|
Set integer value for the given key. Implements EVENT::LCParameters. Definition at line 142 of file LCParametersImpl.cc. References IMPL::LCParametersImpl::_intMap, and IMPL::AccessChecked::checkAccess(). |
|
||||||||||||
|
Set string values for the given key. |
|
||||||||||||
|
Set float values for the given key. |
|
||||||||||||
|
Set integer values for the given key. Referenced by UTIL::IndexMap::encode(), SIO::SIOVertexHandler::init(), and read(). |
|
||||||||||||
|
Set string values for the given key. Definition at line 186 of file LCParametersImpl.cc. References IMPL::LCParametersImpl::_stringMap, and IMPL::AccessChecked::checkAccess(). |
|
||||||||||||
|
Set float values for the given key. Definition at line 176 of file LCParametersImpl.cc. References IMPL::LCParametersImpl::_floatMap, and IMPL::AccessChecked::checkAccess(). |
|
||||||||||||
|
Set integer values for the given key. Definition at line 166 of file LCParametersImpl.cc. References IMPL::LCParametersImpl::_intMap, and IMPL::AccessChecked::checkAccess(). |
|
|
Definition at line 24 of file AccessChecked.h. |
|
||||||||||||
|
Writes lcio objects to an SIO stream. Definition at line 88 of file SIOLCParameters.cc. References EVENT::FloatVec, EVENT::LCParameters::getFloatKeys(), EVENT::LCParameters::getFloatVals(), EVENT::LCParameters::getIntKeys(), EVENT::LCParameters::getIntVals(), EVENT::LCParameters::getStringKeys(), EVENT::LCParameters::getStringVals(), EVENT::IntVec, LCSIO_WRITE, SIO_DATA, and EVENT::StringVec. |
|
|
|
Definition at line 34 of file AccessChecked.h. Referenced by IMPL::AccessChecked::AccessChecked(). |
|
|
Definition at line 126 of file LCParametersImpl.h. Referenced by IMPL::LCParametersImpl::getIntKeys(), IMPL::LCParametersImpl::getIntVal(), IMPL::LCParametersImpl::getIntVals(), IMPL::LCParametersImpl::getNInt(), IMPL::LCParametersImpl::setValue(), and IMPL::LCParametersImpl::setValues(). |
|
|
Definition at line 33 of file AccessChecked.h. Referenced by IMPL::AccessChecked::setReadOnly(). |
|
1.3.9.1