31 template <
typename GUM_SCALAR >
33 const std::string& name,
37 __slotType(type), __isArray(isArray) {
40 PRMObject::LEFT_CAST() + type.
name() + PRMObject::RIGHT_CAST() + name;
44 template <
typename GUM_SCALAR >
49 template <
typename GUM_SCALAR >
53 __slotType(source.__slotType), __isArray(source.__isArray) {
56 "illegal call to gum::ReferenceSlot copy constructor.");
60 template <
typename GUM_SCALAR >
66 template <
typename GUM_SCALAR >
69 return this->prm_refslot;
72 template <
typename GUM_SCALAR >
78 template <
typename GUM_SCALAR >
84 template <
typename GUM_SCALAR >
89 template <
typename GUM_SCALAR >
94 template <
typename GUM_SCALAR >
99 template <
typename GUM_SCALAR >
104 template <
typename GUM_SCALAR >
110 template <
typename GUM_SCALAR >
117 template <
typename GUM_SCALAR >
121 template <
typename GUM_SCALAR >
aGrUM's Potential is a multi-dimensional array with tensor operators.
const std::string & name() const
Returns the name of this object.
Abstract class representing an element of PRM class.
gum is the global namespace for all aGrUM entities
A PRMReferenceSlot represent a relation between two PRMClassElementContainer.
PRMReferenceSlot(const std::string &name, PRMClassElementContainer< GUM_SCALAR > &type, bool isArray=false)
Default constructor.
This is a decoration of the DiscreteVariable class.
<agrum/PRM/classElementContainer.h>
PRMAttribute is a member of a Class in a PRM.
Headers of gum::PRMClassElement.
#define GUM_ERROR(type, msg)
ClassElementType
Returns true if obj_ptr is of type PRMReferenceSlot.