aGrUM  0.14.2
gum::prm::o3prm::O3InterfaceFactory< GUM_SCALAR > Class Template Reference

Bulds gum::prm:PRMInterface from gum::prm::o3prm::O3Interface. More...

#include <agrum/PRM/o3prm/O3InterfaceFactory.h>

+ Collaboration diagram for gum::prm::o3prm::O3InterfaceFactory< GUM_SCALAR >:

Public Member Functions

 O3InterfaceFactory (PRM< GUM_SCALAR > &prm, O3PRM &o3_prm, O3NameSolver< GUM_SCALAR > &solver, ErrorsContainer &errors)
 
 O3InterfaceFactory (const O3InterfaceFactory< GUM_SCALAR > &src)
 
 O3InterfaceFactory (O3InterfaceFactory< GUM_SCALAR > &&src)
 
 ~O3InterfaceFactory ()
 
O3InterfaceFactory< GUM_SCALAR > & operator= (const O3InterfaceFactory< GUM_SCALAR > &src)
 
O3InterfaceFactory< GUM_SCALAR > & operator= (O3InterfaceFactory< GUM_SCALAR > &&src)
 
void buildInterfaces ()
 
void buildElements ()
 

Detailed Description

template<typename GUM_SCALAR>
class gum::prm::o3prm::O3InterfaceFactory< GUM_SCALAR >

Bulds gum::prm:PRMInterface from gum::prm::o3prm::O3Interface.

Template Parameters
GUM_SCALARThe scalar type used by the gum::prm::PRM.

Definition at line 57 of file O3InterfaceFactory.h.

Constructor & Destructor Documentation

◆ O3InterfaceFactory() [1/3]

template<typename GUM_SCALAR >
INLINE gum::prm::o3prm::O3InterfaceFactory< GUM_SCALAR >::O3InterfaceFactory ( PRM< GUM_SCALAR > &  prm,
O3PRM o3_prm,
O3NameSolver< GUM_SCALAR > &  solver,
ErrorsContainer errors 
)

Definition at line 36 of file O3InterfaceFactory_tpl.h.

40  :
41  __prm(&prm),
42  __o3_prm(&o3_prm), __solver(&solver), __errors(&errors) {
43  GUM_CONSTRUCTOR(O3InterfaceFactory);
44  }
O3InterfaceFactory(PRM< GUM_SCALAR > &prm, O3PRM &o3_prm, O3NameSolver< GUM_SCALAR > &solver, ErrorsContainer &errors)
O3NameSolver< GUM_SCALAR > * __solver

◆ O3InterfaceFactory() [2/3]

template<typename GUM_SCALAR >
INLINE gum::prm::o3prm::O3InterfaceFactory< GUM_SCALAR >::O3InterfaceFactory ( const O3InterfaceFactory< GUM_SCALAR > &  src)

Definition at line 47 of file O3InterfaceFactory_tpl.h.

48  :
49  __prm(src.__prm),
50  __o3_prm(src.__o3_prm), __solver(src.__solver), __errors(src.__errors) {
51  GUM_CONS_CPY(O3InterfaceFactory);
52  }
O3InterfaceFactory(PRM< GUM_SCALAR > &prm, O3PRM &o3_prm, O3NameSolver< GUM_SCALAR > &solver, ErrorsContainer &errors)
O3NameSolver< GUM_SCALAR > * __solver

◆ O3InterfaceFactory() [3/3]

template<typename GUM_SCALAR >
INLINE gum::prm::o3prm::O3InterfaceFactory< GUM_SCALAR >::O3InterfaceFactory ( O3InterfaceFactory< GUM_SCALAR > &&  src)

Definition at line 55 of file O3InterfaceFactory_tpl.h.

56  :
57  __prm(std::move(src.__prm)),
58  __o3_prm(std::move(src.__o3_prm)), __solver(std::move(src.__solver)),
59  __errors(std::move(src.__errors)) {
60  GUM_CONS_MOV(O3InterfaceFactory);
61  }
O3InterfaceFactory(PRM< GUM_SCALAR > &prm, O3PRM &o3_prm, O3NameSolver< GUM_SCALAR > &solver, ErrorsContainer &errors)
O3NameSolver< GUM_SCALAR > * __solver

◆ ~O3InterfaceFactory()

template<typename GUM_SCALAR >
INLINE gum::prm::o3prm::O3InterfaceFactory< GUM_SCALAR >::~O3InterfaceFactory ( )

Definition at line 64 of file O3InterfaceFactory_tpl.h.

References gum::prm::o3prm::O3InterfaceFactory< GUM_SCALAR >::operator=().

64  {
65  GUM_DESTRUCTOR(O3InterfaceFactory);
66  }
O3InterfaceFactory(PRM< GUM_SCALAR > &prm, O3PRM &o3_prm, O3NameSolver< GUM_SCALAR > &solver, ErrorsContainer &errors)
+ Here is the call graph for this function:

Member Function Documentation

◆ __addArcs2Dag()

template<typename GUM_SCALAR >
INLINE bool gum::prm::o3prm::O3InterfaceFactory< GUM_SCALAR >::__addArcs2Dag ( )
private

Definition at line 131 of file O3InterfaceFactory_tpl.h.

References gum::prm::o3prm::O3InterfaceFactory< GUM_SCALAR >::__dag, gum::prm::o3prm::O3InterfaceFactory< GUM_SCALAR >::__errors, gum::prm::o3prm::O3InterfaceFactory< GUM_SCALAR >::__nameMap, gum::prm::o3prm::O3InterfaceFactory< GUM_SCALAR >::__o3_prm, gum::prm::o3prm::O3InterfaceFactory< GUM_SCALAR >::__solver, gum::DAG::addArc(), and gum::prm::o3prm::O3PRM::interfaces().

Referenced by gum::prm::o3prm::O3InterfaceFactory< GUM_SCALAR >::__checkO3Interfaces().

131  {
132  // Adding arcs to the graph inheritance graph
133  for (auto& i : __o3_prm->interfaces()) {
134  if (i->superLabel().label() != "") {
135  if (!__solver->resolveInterface(i->superLabel())) { return false; }
136 
137  auto head = __nameMap[i->superLabel().label()];
138  auto tail = __nameMap[i->name().label()];
139 
140  try {
141  __dag.addArc(tail, head);
142 
143  } catch (InvalidDirectedCycle&) {
144  // Cyclic inheritance
145  O3PRM_INTERFACE_CYCLIC_INHERITANCE(
146  i->name(), i->superLabel(), *__errors);
147  return false;
148  }
149  }
150  }
151  return true;
152  }
O3NameSolver< GUM_SCALAR > * __solver
virtual void addArc(const NodeId tail, const NodeId head)
insert a new arc into the directed graph
Definition: DAG_inl.h:40
O3InterfaceList & interfaces()
Definition: O3prm.cpp:496
HashTable< std::string, gum::NodeId > __nameMap
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ __addInterface2Dag()

template<typename GUM_SCALAR >
INLINE bool gum::prm::o3prm::O3InterfaceFactory< GUM_SCALAR >::__addInterface2Dag ( )
private

Definition at line 112 of file O3InterfaceFactory_tpl.h.

References gum::prm::o3prm::O3InterfaceFactory< GUM_SCALAR >::__dag, gum::prm::o3prm::O3InterfaceFactory< GUM_SCALAR >::__errors, gum::prm::o3prm::O3InterfaceFactory< GUM_SCALAR >::__interfaceMap, gum::prm::o3prm::O3InterfaceFactory< GUM_SCALAR >::__nameMap, gum::prm::o3prm::O3InterfaceFactory< GUM_SCALAR >::__nodeMap, gum::prm::o3prm::O3InterfaceFactory< GUM_SCALAR >::__o3_prm, gum::NodeGraphPart::addNode(), gum::HashTable< Key, Val, Alloc >::insert(), and gum::prm::o3prm::O3PRM::interfaces().

Referenced by gum::prm::o3prm::O3InterfaceFactory< GUM_SCALAR >::__checkO3Interfaces().

112  {
113  // Adding nodes to the type inheritance graph
114  for (auto& i : __o3_prm->interfaces()) {
115  auto id = __dag.addNode();
116  try {
117  __nameMap.insert(i->name().label(), id);
118  __interfaceMap.insert(i->name().label(), i.get());
119  __nodeMap.insert(id, i.get());
120 
121  } catch (DuplicateElement&) {
122  // Raised if duplicate type names
123  O3PRM_INTERFACE_DUPLICATE(i->name(), *__errors);
124  return false;
125  }
126  }
127  return true;
128  }
HashTable< NodeId, O3Interface *> __nodeMap
virtual NodeId addNode()
insert a new node and return its id
O3InterfaceList & interfaces()
Definition: O3prm.cpp:496
HashTable< std::string, gum::NodeId > __nameMap
HashTable< std::string, O3Interface *> __interfaceMap
value_type & insert(const Key &key, const Val &val)
Adds a new element (actually a copy of this element) into the hash table.
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ __checkAttributeOverloadLegality()

template<typename GUM_SCALAR >
INLINE bool gum::prm::o3prm::O3InterfaceFactory< GUM_SCALAR >::__checkAttributeOverloadLegality ( O3Interface i,
O3InterfaceElement elt 
)
private

Definition at line 232 of file O3InterfaceFactory_tpl.h.

References gum::prm::o3prm::O3InterfaceFactory< GUM_SCALAR >::__errors, gum::prm::o3prm::O3InterfaceFactory< GUM_SCALAR >::__prm, gum::prm::o3prm::O3Label::label(), gum::prm::o3prm::O3InterfaceElement::name(), gum::prm::o3prm::O3Interface::name(), and gum::prm::o3prm::O3InterfaceElement::type().

Referenced by gum::prm::o3prm::O3InterfaceFactory< GUM_SCALAR >::__checkOverloadLegality().

233  {
234  const auto& real_i = __prm->getInterface(i.name().label());
235  const auto& real_elt = real_i.get(elt.name().label());
236 
237  const auto& sub_type = __prm->type(elt.type().label());
238  const auto& super_type = real_elt.type();
239 
240  if (!sub_type.isSubTypeOf(super_type)) {
241  O3PRM_INTERFACE_ILLEGAL_OVERLOAD(elt, *__errors);
242  return false;
243  }
244 
245  if (sub_type.name() == super_type.name()) {
246  O3PRM_INTERFACE_DUPLICATE_ELEMENT(elt, *__errors);
247  return false;
248  }
249 
250  return true;
251  }
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ __checkCyclicReference()

template<typename GUM_SCALAR >
INLINE bool gum::prm::o3prm::O3InterfaceFactory< GUM_SCALAR >::__checkCyclicReference ( O3Interface i,
O3InterfaceElement elt 
)
private

Definition at line 286 of file O3InterfaceFactory_tpl.h.

References gum::prm::o3prm::O3InterfaceFactory< GUM_SCALAR >::__errors, gum::prm::o3prm::O3InterfaceFactory< GUM_SCALAR >::__prm, gum::prm::o3prm::O3Label::label(), gum::prm::o3prm::O3Interface::name(), and gum::prm::o3prm::O3InterfaceElement::type().

Referenced by gum::prm::o3prm::O3InterfaceFactory< GUM_SCALAR >::__checkInterfaceElement().

287  {
288  if (__prm->isInterface(elt.type().label())
289  || __prm->isClass(elt.type().label())) {
290  auto ref_type = (const PRMClassElementContainer< GUM_SCALAR >*)nullptr;
291 
292  if (__prm->isInterface(elt.type().label())) {
293  ref_type = &(__prm->getInterface(elt.type().label()));
294  } else {
295  ref_type = &(__prm->getClass(elt.type().label()));
296  }
297 
298  const auto& real_i = __prm->getInterface(i.name().label());
299 
300  if (&real_i == ref_type) {
301  O3PRM_INTERFACE_SELF_REFERENCE(i, elt, *__errors);
302  return false;
303  }
304 
305  if (ref_type->isSubTypeOf(real_i)) {
306  O3PRM_INTERFACE_ILLEGAL_SUB_REFERENCE(i, elt, *__errors);
307  return false;
308  }
309  }
310 
311  return true;
312  }
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ __checkInterfaceElement()

template<typename GUM_SCALAR >
INLINE bool gum::prm::o3prm::O3InterfaceFactory< GUM_SCALAR >::__checkInterfaceElement ( O3Interface i,
O3InterfaceElement elt 
)
private

Definition at line 193 of file O3InterfaceFactory_tpl.h.

References gum::prm::o3prm::O3InterfaceFactory< GUM_SCALAR >::__checkCyclicReference(), gum::prm::o3prm::O3InterfaceFactory< GUM_SCALAR >::__checkOverloadLegality(), gum::prm::o3prm::O3InterfaceFactory< GUM_SCALAR >::__errors, gum::prm::o3prm::O3InterfaceFactory< GUM_SCALAR >::__prm, gum::prm::o3prm::O3InterfaceFactory< GUM_SCALAR >::__solver, gum::prm::o3prm::O3InterfaceElement::isArray(), gum::prm::o3prm::O3Label::label(), gum::prm::o3prm::O3InterfaceElement::name(), gum::prm::o3prm::O3Interface::name(), and gum::prm::o3prm::O3InterfaceElement::type().

Referenced by gum::prm::o3prm::O3InterfaceFactory< GUM_SCALAR >::buildElements().

194  {
195  if (!__solver->resolveClassElement(elt.type())) { return false; }
196 
197  if (__prm->isType(elt.type().label()) && elt.isArray()) {
198  O3PRM_INTERFACE_ILLEGAL_ARRAY(elt.name(), *__errors);
199  return false;
200  }
201 
202  const auto& real_i = __prm->getInterface(i.name().label());
203 
204  if (real_i.exists(elt.name().label())) {
205  if (!__checkOverloadLegality(i, elt)) { return false; }
206  }
207 
208  if (!__checkCyclicReference(i, elt)) { return false; }
209 
210  return true;
211  }
bool __checkOverloadLegality(O3Interface &i, O3InterfaceElement &elt)
O3NameSolver< GUM_SCALAR > * __solver
bool __checkCyclicReference(O3Interface &i, O3InterfaceElement &elt)
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ __checkO3Interfaces()

template<typename GUM_SCALAR >
INLINE bool gum::prm::o3prm::O3InterfaceFactory< GUM_SCALAR >::__checkO3Interfaces ( )
private

Definition at line 107 of file O3InterfaceFactory_tpl.h.

References gum::prm::o3prm::O3InterfaceFactory< GUM_SCALAR >::__addArcs2Dag(), and gum::prm::o3prm::O3InterfaceFactory< GUM_SCALAR >::__addInterface2Dag().

Referenced by gum::prm::o3prm::O3InterfaceFactory< GUM_SCALAR >::buildInterfaces().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ __checkOverloadLegality()

template<typename GUM_SCALAR >
INLINE bool gum::prm::o3prm::O3InterfaceFactory< GUM_SCALAR >::__checkOverloadLegality ( O3Interface i,
O3InterfaceElement elt 
)
private

Definition at line 214 of file O3InterfaceFactory_tpl.h.

References gum::prm::o3prm::O3InterfaceFactory< GUM_SCALAR >::__checkAttributeOverloadLegality(), gum::prm::o3prm::O3InterfaceFactory< GUM_SCALAR >::__checkReferenceOverloadLegality(), gum::prm::o3prm::O3InterfaceFactory< GUM_SCALAR >::__prm, gum::prm::o3prm::O3Label::label(), gum::prm::o3prm::O3InterfaceElement::name(), and gum::prm::o3prm::O3Interface::name().

Referenced by gum::prm::o3prm::O3InterfaceFactory< GUM_SCALAR >::__checkInterfaceElement().

215  {
216  const auto& real_i = __prm->getInterface(i.name().label());
217  const auto& real_elt = real_i.get(elt.name().label());
218 
220  return __checkAttributeOverloadLegality(i, elt);
221  }
222 
224  return __checkReferenceOverloadLegality(i, elt);
225  }
226 
227  return false;
228  }
bool __checkReferenceOverloadLegality(O3Interface &i, O3InterfaceElement &elt)
bool __checkAttributeOverloadLegality(O3Interface &i, O3InterfaceElement &elt)
static INLINE bool isAttribute(const PRMClassElement< GUM_SCALAR > &elt)
Returns true if obj_ptr is of type PRMAttribute.
static INLINE bool isReferenceSlot(const PRMClassElement< GUM_SCALAR > &elt)
Returns true if obj_ptr is of type PRMReferenceSlot.
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ __checkReferenceOverloadLegality()

template<typename GUM_SCALAR >
INLINE bool gum::prm::o3prm::O3InterfaceFactory< GUM_SCALAR >::__checkReferenceOverloadLegality ( O3Interface i,
O3InterfaceElement elt 
)
private

Definition at line 255 of file O3InterfaceFactory_tpl.h.

References gum::prm::o3prm::O3InterfaceFactory< GUM_SCALAR >::__errors, gum::prm::o3prm::O3InterfaceFactory< GUM_SCALAR >::__prm, gum::prm::o3prm::O3Label::label(), gum::prm::o3prm::O3InterfaceElement::name(), gum::prm::o3prm::O3Interface::name(), and gum::prm::o3prm::O3InterfaceElement::type().

Referenced by gum::prm::o3prm::O3InterfaceFactory< GUM_SCALAR >::__checkOverloadLegality().

256  {
257  const auto& real_i = __prm->getInterface(i.name().label());
258  const auto& real_elt =
259  static_cast< const PRMReferenceSlot< GUM_SCALAR >& >(
260  real_i.get(elt.name().label()));
261 
262  auto sub_type = (const PRMClassElementContainer< GUM_SCALAR >*)nullptr;
263 
264  if (__prm->isClass(elt.type().label())) {
265  sub_type = &(__prm->getClass(elt.type().label()));
266  } else {
267  sub_type = &(__prm->getInterface(elt.type().label()));
268  }
269 
270  auto super_type = &(real_elt.slotType());
271 
272  if (!sub_type->isSubTypeOf(*super_type)) {
273  O3PRM_INTERFACE_ILLEGAL_OVERLOAD(elt, *__errors);
274  return false;
275  }
276 
277  if (sub_type->name() == super_type->name()) {
278  O3PRM_INTERFACE_DUPLICATE_ELEMENT(elt, *__errors);
279  return false;
280  }
281 
282  return true;
283  }
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ __setO3InterfaceCreationOrder()

template<typename GUM_SCALAR >
INLINE void gum::prm::o3prm::O3InterfaceFactory< GUM_SCALAR >::__setO3InterfaceCreationOrder ( )
private

Definition at line 156 of file O3InterfaceFactory_tpl.h.

References gum::prm::o3prm::O3InterfaceFactory< GUM_SCALAR >::__dag, gum::prm::o3prm::O3InterfaceFactory< GUM_SCALAR >::__nodeMap, gum::prm::o3prm::O3InterfaceFactory< GUM_SCALAR >::__o3Interface, and gum::DiGraph::topologicalOrder().

Referenced by gum::prm::o3prm::O3InterfaceFactory< GUM_SCALAR >::buildInterfaces().

156  {
157  auto topo_order = __dag.topologicalOrder();
158  for (auto id = topo_order.rbegin(); id != topo_order.rend(); --id) {
159  __o3Interface.push_back(__nodeMap[*id]);
160  }
161  }
HashTable< NodeId, O3Interface *> __nodeMap
const Sequence< NodeId > & topologicalOrder(bool clear=true) const
The topological order stays the same as long as no variable or arcs are added or erased src the topol...
Definition: diGraph.cpp:88
std::vector< O3Interface *> __o3Interface
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ buildElements()

template<typename GUM_SCALAR >
INLINE void gum::prm::o3prm::O3InterfaceFactory< GUM_SCALAR >::buildElements ( )

Definition at line 164 of file O3InterfaceFactory_tpl.h.

References gum::prm::o3prm::O3InterfaceFactory< GUM_SCALAR >::__checkInterfaceElement(), gum::prm::o3prm::O3InterfaceFactory< GUM_SCALAR >::__errors, gum::prm::o3prm::O3InterfaceFactory< GUM_SCALAR >::__o3Interface, gum::prm::o3prm::O3InterfaceFactory< GUM_SCALAR >::__prm, gum::prm::PRMFactory< GUM_SCALAR >::addAttribute(), gum::prm::PRMFactory< GUM_SCALAR >::addReferenceSlot(), gum::prm::PRMFactory< GUM_SCALAR >::continueInterface(), and gum::prm::PRMFactory< GUM_SCALAR >::endInterface().

164  {
165  PRMFactory< GUM_SCALAR > factory(__prm);
166 
167  for (auto i : __o3Interface) {
168  __prm->getInterface(i->name().label()).inheritInterface();
169 
170  factory.continueInterface(i->name().label());
171 
172  for (auto& elt : i->elements()) {
173  if (__checkInterfaceElement(*i, elt)) {
174  try {
175  if (__prm->isType(elt.type().label())) {
176  factory.addAttribute(elt.type().label(), elt.name().label());
177  } else {
178  factory.addReferenceSlot(
179  elt.type().label(), elt.name().label(), elt.isArray());
180  }
181 
182  } catch (OperationNotAllowed&) {
183  // Duplicate or Wrong overload
184  O3PRM_INTERFACE_DUPLICATE_ELEMENT(elt, *__errors);
185  }
186  }
187  }
188  factory.endInterface();
189  }
190  }
bool __checkInterfaceElement(O3Interface &i, O3InterfaceElement &elt)
std::vector< O3Interface *> __o3Interface
+ Here is the call graph for this function:

◆ buildInterfaces()

template<typename GUM_SCALAR >
INLINE void gum::prm::o3prm::O3InterfaceFactory< GUM_SCALAR >::buildInterfaces ( )

Definition at line 91 of file O3InterfaceFactory_tpl.h.

References gum::prm::o3prm::O3InterfaceFactory< GUM_SCALAR >::__checkO3Interfaces(), gum::prm::o3prm::O3InterfaceFactory< GUM_SCALAR >::__o3Interface, gum::prm::o3prm::O3InterfaceFactory< GUM_SCALAR >::__prm, gum::prm::o3prm::O3InterfaceFactory< GUM_SCALAR >::__setO3InterfaceCreationOrder(), gum::prm::o3prm::O3InterfaceFactory< GUM_SCALAR >::__solver, gum::prm::PRMFactory< GUM_SCALAR >::endInterface(), and gum::prm::PRMFactory< GUM_SCALAR >::startInterface().

91  {
92  PRMFactory< GUM_SCALAR > factory(__prm);
93  if (__checkO3Interfaces()) {
95 
96  for (auto i : __o3Interface) {
97  if (__solver->resolveInterface(i->superLabel())) {
98  factory.startInterface(
99  i->name().label(), i->superLabel().label(), true);
100  factory.endInterface();
101  }
102  }
103  }
104  }
O3NameSolver< GUM_SCALAR > * __solver
std::vector< O3Interface *> __o3Interface
+ Here is the call graph for this function:

◆ operator=() [1/2]

template<typename GUM_SCALAR >
INLINE O3InterfaceFactory< GUM_SCALAR > & gum::prm::o3prm::O3InterfaceFactory< GUM_SCALAR >::operator= ( const O3InterfaceFactory< GUM_SCALAR > &  src)

Definition at line 70 of file O3InterfaceFactory_tpl.h.

References gum::prm::o3prm::O3InterfaceFactory< GUM_SCALAR >::__errors, gum::prm::o3prm::O3InterfaceFactory< GUM_SCALAR >::__o3_prm, gum::prm::o3prm::O3InterfaceFactory< GUM_SCALAR >::__prm, and gum::prm::o3prm::O3InterfaceFactory< GUM_SCALAR >::__solver.

Referenced by gum::prm::o3prm::O3InterfaceFactory< GUM_SCALAR >::~O3InterfaceFactory().

70  {
71  if (this == &src) { return *this; }
72  __prm = src.__prm;
73  __o3_prm = src.__o3_prm;
74  __solver = src.__solver;
75  __errors = src.__errors;
76  return *this;
77  }
O3NameSolver< GUM_SCALAR > * __solver
+ Here is the caller graph for this function:

◆ operator=() [2/2]

template<typename GUM_SCALAR >
INLINE O3InterfaceFactory< GUM_SCALAR > & gum::prm::o3prm::O3InterfaceFactory< GUM_SCALAR >::operator= ( O3InterfaceFactory< GUM_SCALAR > &&  src)

Definition at line 81 of file O3InterfaceFactory_tpl.h.

References gum::prm::o3prm::O3InterfaceFactory< GUM_SCALAR >::__errors, gum::prm::o3prm::O3InterfaceFactory< GUM_SCALAR >::__o3_prm, gum::prm::o3prm::O3InterfaceFactory< GUM_SCALAR >::__prm, and gum::prm::o3prm::O3InterfaceFactory< GUM_SCALAR >::__solver.

81  {
82  if (this == &src) { return *this; }
83  __prm = std::move(src.__prm);
84  __o3_prm = std::move(src.__o3_prm);
85  __solver = std::move(src.__solver);
86  __errors = std::move(src.__errors);
87  return *this;
88  }
O3NameSolver< GUM_SCALAR > * __solver

Member Data Documentation

◆ __dag

◆ __eltName

template<typename GUM_SCALAR>
HashTable< std::string, std::string > gum::prm::o3prm::O3InterfaceFactory< GUM_SCALAR >::__eltName
private

Definition at line 81 of file O3InterfaceFactory.h.

◆ __errors

◆ __interfaceMap

template<typename GUM_SCALAR>
HashTable< std::string, O3Interface* > gum::prm::o3prm::O3InterfaceFactory< GUM_SCALAR >::__interfaceMap
private

◆ __nameMap

◆ __nodeMap

◆ __o3_prm

◆ __o3Interface

◆ __prm

◆ __solver


The documentation for this class was generated from the following files: