#include <universals_AMOS.hh>
Public Member Functions | |
BankSet_t () | |
Constructs a BankSet_t w/ default banks. | |
~BankSet_t () | |
Destroys a UniveralSet_t and closes its contained banks. | |
iterator | begin () |
Returns an iterator to the beginning of the set. | |
const_iterator | begin () const |
void | clearAll () |
Issues a clear command to each bank in the set. | |
void | closeAll () |
Issues a close command to each bank in the set. | |
iterator | end () |
Returns an iterator to the end of the set. | |
const_iterator | end () const |
bool | exists (NCode_t ncode) |
Checks if a bank with a given NCode exists in the set. | |
Size_t | getSize () |
Returns the number of known AMOS banks. | |
Bank_t & | operator[] (NCode_t ncode) |
Returns a reference to the bank with the given NCode. | |
const Bank_t & | operator[] (NCode_t ncode) const |
Bank_t & | operator[] (const std::string &ncode) |
const Bank_t & | operator[] (const std::string &ncode) const |
Provides a non-redundant, complete collection of static AMOS banks accessible by their NCode and iteration. Useful when all possible AMOS banks are required, but the exact makeup of banks is unknown. Banks stored in this set are static, and only destruced when the class is destructed. Banks are stored in order that will preserve the def-before-ref rule - meaning two banks A,B where B has a link to A will always appear in the order A,B when iterating through the set.
Definition at line 241 of file universals_AMOS.hh.
|
Constructs a BankSet_t w/ default banks. Definition at line 73 of file universals_AMOS.cc. |
|
Destroys a UniveralSet_t and closes its contained banks. Definition at line 93 of file universals_AMOS.cc. |
|
Definition at line 325 of file universals_AMOS.hh. References begin(). |
|
Returns an iterator to the beginning of the set. Iterator on all the banks in the set. Operates just like a std::vector iterator, however it does not support iterator addition/subtraction or reverse iteration. Banks will always be ordered definition-before-reference, meaning if B refers to A, A will always appear before B when iterating forward.
Referenced by BankSet_t(), begin(), clearAll(), closeAll(), and ~BankSet_t(). |
|
Issues a clear command to each bank in the set.
|
|
Issues a close command to each bank in the set.
|
|
Definition at line 350 of file universals_AMOS.hh. References end(). |
|
Returns an iterator to the end of the set.
References end(). Referenced by BankSet_t(), clearAll(), closeAll(), end(), exists(), operator[](), and ~BankSet_t(). |
|
Checks if a bank with a given NCode exists in the set.
References end(), and AMOS::NCode_t. |
|
Returns the number of known AMOS banks.
References AMOS::Size_t. |
|
Definition at line 411 of file universals_AMOS.hh. References AMOS::Encode(), and operator[](). |
|
Definition at line 404 of file universals_AMOS.hh. References AMOS::Encode(), and operator[](). |
|
Definition at line 393 of file universals_AMOS.hh. References AMOS_THROW_ARGUMENT, AMOS::Decode(), end(), and AMOS::NCode_t. |
|
Returns a reference to the bank with the given NCode.
References AMOS_THROW_ARGUMENT, AMOS::Decode(), end(), and AMOS::NCode_t. Referenced by operator[](). |