Traits of proxy::ChargedSpacePoints
proxy.
More...
#include <ChargedSpacePoints.h>
Public Types | |
template<typename... Args> | |
using | collection_proxy_impl_t = ChargedSpacePointsCollectionProxy< Args...> |
Traits of proxy::ChargedSpacePoints
proxy.
The proxy::ChargedSpacePoints
is special in that it uses a custom collection proxy, ChargedSpacePointsCollectionProxy
, which in turns uses a custom collection proxy element, SpacePointWithCharge
. The former allows to access all the charges and space points with meaningful methods (spacePoints()
and charges()
), and the latter allows the same when addressing the single element of the collection (position()
, charge()
, etc.).
The price for this candy is that those interfaces need to be written, and then the traits of the proxy needs to be specialized to register that customization.
Specifying collection_proxy_impl_t
is the way to do that. The other traits are inherited from "default" values of an unflavoured proxy.
Definition at line 423 of file ChargedSpacePoints.h.
using proxy::CollectionProxyMakerTraits< ChargedSpacePoints >::collection_proxy_impl_t = ChargedSpacePointsCollectionProxy<Args...> |
Definition at line 428 of file ChargedSpacePoints.h.