template<typename ColT, typename IndexT, typename BaseProxyT>
vt::vrt::collection::ElmInsertable struct

Constructors, destructors, conversion operators

ElmInsertable() defaulted
ElmInsertable(typename BaseProxyT::ProxyType const& in_proxy, typename BaseProxyT::ElementProxyType const& in_elm)

Public functions

template<typename SerializerT>
void serialize(SerializerT& s)
void insert(ModifierToken& token) const
Insert a new collection element (calling the default constructor). Collective must have dynamic membership to perform insertions. The element will be inserted on the node where the initial map puts it.
void insertAt(ModifierToken& token, NodeType node) const
Insert a new collection element (calling the default constructor). Collective must have dynamic membership to perform insertions.
template<typename MsgT>
void insertMsg(ModifierToken& token, messaging::MsgPtrThief<MsgT> msg) const
Insert a new collection element, calling the constructor that takes a message as an argument. Collection must have dynamic membership to perform insertions.
template<typename MsgT>
void insertAtMsg(ModifierToken& token, NodeType node, messaging::MsgPtrThief<MsgT> msg) const
Insert a new collection element, calling the constructor that takes a message as an argument. Collection must have dynamic membership to perform insertions.
void destroy(ModifierToken& token) const
Destroy the collection element.

Function documentation

template<typename ColT, typename IndexT, typename BaseProxyT>
void vt::vrt::collection::ElmInsertable<ColT, IndexT, BaseProxyT>::insert(ModifierToken& token) const

Insert a new collection element (calling the default constructor). Collective must have dynamic membership to perform insertions. The element will be inserted on the node where the initial map puts it.

Parameters
token in the modifier token

template<typename ColT, typename IndexT, typename BaseProxyT>
void vt::vrt::collection::ElmInsertable<ColT, IndexT, BaseProxyT>::insertAt(ModifierToken& token, NodeType node) const

Insert a new collection element (calling the default constructor). Collective must have dynamic membership to perform insertions.

Parameters
token in the modifier token
node in the node to insert on

template<typename ColT, typename IndexT, typename BaseProxyT> template<typename MsgT>
void vt::vrt::collection::ElmInsertable<ColT, IndexT, BaseProxyT>::insertMsg(ModifierToken& token, messaging::MsgPtrThief<MsgT> msg) const

Insert a new collection element, calling the constructor that takes a message as an argument. Collection must have dynamic membership to perform insertions.

Parameters
token in the modifier token
msg in the message

template<typename ColT, typename IndexT, typename BaseProxyT> template<typename MsgT>
void vt::vrt::collection::ElmInsertable<ColT, IndexT, BaseProxyT>::insertAtMsg(ModifierToken& token, NodeType node, messaging::MsgPtrThief<MsgT> msg) const

Insert a new collection element, calling the constructor that takes a message as an argument. Collection must have dynamic membership to perform insertions.

Parameters
token in the modifier token
node in the node to insert on
msg in the message

template<typename ColT, typename IndexT, typename BaseProxyT>
void vt::vrt::collection::ElmInsertable<ColT, IndexT, BaseProxyT>::destroy(ModifierToken& token) const

Destroy the collection element.

Parameters
token in the modifier token