|
lsst.afw g712618294e+4813a5392e
|
Namespaces | |
| namespace | _GenericMap |
| namespace | _SimpleGenericMap |
| namespace | detail |
| namespace | test |
| namespace | testUtils |
Classes | |
| class | GenericMap |
| Interface for a heterogeneous map. More... | |
| class | Key |
| Key for type-safe lookup in a GenericMap. More... | |
| class | MutableGenericMap |
| Interface for a GenericMap that allows element addition and removal. More... | |
| class | PolymorphicValue |
| Container that passes Storable objects by value while preserving type. More... | |
| class | SimpleGenericMap |
| A GenericMap that allows insertion and deletion of arbitrary values. More... | |
| class | Storable |
| Interface supporting iteration over heterogenous containers. More... | |
| class | StorableHelper |
| "Trampoline" for Storable to let it be used as a base class in Python. More... | |
| class | UnsupportedOperationException |
| Exception thrown by Storable operations for unimplemented operations. More... | |
Functions | |
| template<typename V , typename K > | |
| constexpr Key< K, V > | makeKey (K const &id) |
| Factory function for Key, to enable type parameter inference. More... | |
| template<typename K , typename V > | |
| std::ostream & | operator<< (std::ostream &os, Key< K, V > const &key) |
| Output operator for Key. More... | |
| void | swap (PolymorphicValue &lhs, PolymorphicValue &rhs) noexcept |
| Swap specialization for PolymorphicValue. More... | |
| std::string | declareGenericMapRestrictions (std::string const &className, std::string const &keyName) |
| std::ostream & | operator<< (std::ostream &os, Storable const &storable) |
| Output operator for Storable. More... | |
| std::string lsst::afw::typehandling::declareGenericMapRestrictions | ( | std::string const & | className, |
| std::string const & | keyName | ||
| ) |
|
constexpr |
Factory function for Key, to enable type parameter inference.
| id | the key ID to create. |
K.Calling this function prevents you from having to explicitly name the key type:
auto key = makeKey<int>("foo");
| std::ostream & operator<< | ( | std::ostream & | os, |
| Key< K, V > const & | key | ||
| ) |
Output operator for Key.
The output will use C++ template notation for the key; for example, a key "foo" pointing to an int may print as "foo<int>".
| os | the desired output stream |
| key | the key to print |
osK is exception-safe.
|
inline |
Output operator for Storable.
| os | the desired output stream |
| storable | the object to print |
os| UnsupportedOperationException | Thrown if storable does not have an implementation of Storable::toString. |
Definition at line 174 of file Storable.h.
|
inlinenoexcept |
Swap specialization for PolymorphicValue.
Definition at line 152 of file PolymorphicValue.h.