aGrUM  0.20.3
a C++ library for (probabilistic) graphical models
gum::prm::o3prm::O3Assignment Class Reference

The O3Assignment is part of the AST of the O3PRM language. More...

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

+ Collaboration diagram for gum::prm::o3prm::O3Assignment:

Public Member Functions

 O3Assignment ()
 
 O3Assignment (const O3Assignment &src)
 
 O3Assignment (O3Assignment &&src)
 
 ~O3Assignment ()
 
O3Assignmentoperator= (const O3Assignment &src)
 
O3Assignmentoperator= (O3Assignment &&src)
 
O3LabelleftInstance ()
 
const O3LabelleftInstance () const
 
O3IntegerleftIndex ()
 
const O3IntegerleftIndex () const
 
O3LabelleftReference ()
 
const O3LabelleftReference () const
 
O3LabelrightInstance ()
 
const O3LabelrightInstance () const
 
O3IntegerrightIndex ()
 
const O3IntegerrightIndex () const
 

Detailed Description

The O3Assignment is part of the AST of the O3PRM language.

Definition at line 675 of file O3prm.h.

Constructor & Destructor Documentation

◆ O3Assignment() [1/3]

gum::prm::o3prm::O3Assignment::O3Assignment ( )

Definition at line 1096 of file O3prm.cpp.

1096  {
1097  GUM_CONSTRUCTOR(O3Assignment);
1098  ;
1099  }

◆ O3Assignment() [2/3]

gum::prm::o3prm::O3Assignment::O3Assignment ( const O3Assignment src)

Definition at line 1101 of file O3prm.cpp.

1101  :
1102  _leftInstance_(src._leftInstance_), _leftIndex_(src._leftIndex_),
1103  _leftReference_(src._leftReference_), _rightInstance_(src._rightInstance_),
1104  _rightIndex_(src._rightIndex_) {
1105  GUM_CONS_CPY(O3Assignment);
1106  }

◆ O3Assignment() [3/3]

gum::prm::o3prm::O3Assignment::O3Assignment ( O3Assignment &&  src)

Definition at line 1108 of file O3prm.cpp.

1108  :
1109  _leftInstance_(std::move(src._leftInstance_)), _leftIndex_(std::move(src._leftIndex_)),
1110  _leftReference_(std::move(src._leftReference_)),
1111  _rightInstance_(std::move(src._rightInstance_)),
1112  _rightIndex_(std::move(src._rightIndex_)) {
1113  GUM_CONS_CPY(O3Assignment);
1114  }

◆ ~O3Assignment()

gum::prm::o3prm::O3Assignment::~O3Assignment ( )

Definition at line 1116 of file O3prm.cpp.

1116  {
1117  GUM_DESTRUCTOR(O3Assignment);
1118  ;
1119  }

Member Function Documentation

◆ leftIndex() [1/2]

O3Integer & gum::prm::o3prm::O3Assignment::leftIndex ( )

Definition at line 1147 of file O3prm.cpp.

1147 { return _leftIndex_; }

◆ leftIndex() [2/2]

const O3Integer & gum::prm::o3prm::O3Assignment::leftIndex ( ) const

Definition at line 1145 of file O3prm.cpp.

1145 { return _leftIndex_; }

◆ leftInstance() [1/2]

O3Label & gum::prm::o3prm::O3Assignment::leftInstance ( )

Definition at line 1143 of file O3prm.cpp.

1143 { return _leftInstance_; }

◆ leftInstance() [2/2]

const O3Label & gum::prm::o3prm::O3Assignment::leftInstance ( ) const

Definition at line 1141 of file O3prm.cpp.

1141 { return _leftInstance_; }

◆ leftReference() [1/2]

O3Label & gum::prm::o3prm::O3Assignment::leftReference ( )

Definition at line 1151 of file O3prm.cpp.

1151 { return _leftReference_; }

◆ leftReference() [2/2]

const O3Label & gum::prm::o3prm::O3Assignment::leftReference ( ) const

Definition at line 1149 of file O3prm.cpp.

1149 { return _leftReference_; }

◆ operator=() [1/2]

O3Assignment & gum::prm::o3prm::O3Assignment::operator= ( const O3Assignment src)

Definition at line 1121 of file O3prm.cpp.

1121  {
1122  if (this == &src) { return *this; }
1123  _leftInstance_ = src._leftInstance_;
1124  _leftIndex_ = src._leftIndex_;
1125  _leftReference_ = src._leftReference_;
1126  _rightInstance_ = src._rightInstance_;
1127  _rightIndex_ = src._rightIndex_;
1128  return *this;
1129  }

◆ operator=() [2/2]

O3Assignment & gum::prm::o3prm::O3Assignment::operator= ( O3Assignment &&  src)

Definition at line 1131 of file O3prm.cpp.

1131  {
1132  if (this == &src) { return *this; }
1133  _leftInstance_ = std::move(src._leftInstance_);
1134  _leftIndex_ = std::move(src._leftIndex_);
1135  _leftReference_ = std::move(src._leftReference_);
1136  _rightInstance_ = std::move(src._rightInstance_);
1137  _rightIndex_ = std::move(src._rightIndex_);
1138  return *this;
1139  }

◆ rightIndex() [1/2]

O3Integer & gum::prm::o3prm::O3Assignment::rightIndex ( )

Definition at line 1157 of file O3prm.cpp.

1157 { return _rightIndex_; }

◆ rightIndex() [2/2]

const O3Integer & gum::prm::o3prm::O3Assignment::rightIndex ( ) const

Definition at line 1159 of file O3prm.cpp.

1159 { return _rightIndex_; }

◆ rightInstance() [1/2]

O3Label & gum::prm::o3prm::O3Assignment::rightInstance ( )

Definition at line 1155 of file O3prm.cpp.

1155 { return _rightInstance_; }

◆ rightInstance() [2/2]

const O3Label & gum::prm::o3prm::O3Assignment::rightInstance ( ) const

Definition at line 1153 of file O3prm.cpp.

1153 { return _rightInstance_; }

Member Data Documentation

◆ _leftIndex_

O3Integer gum::prm::o3prm::O3Assignment::_leftIndex_
private

Definition at line 702 of file O3prm.h.

◆ _leftInstance_

O3Label gum::prm::o3prm::O3Assignment::_leftInstance_
private

Definition at line 701 of file O3prm.h.

◆ _leftReference_

O3Label gum::prm::o3prm::O3Assignment::_leftReference_
private

Definition at line 703 of file O3prm.h.

◆ _rightIndex_

O3Integer gum::prm::o3prm::O3Assignment::_rightIndex_
private

Definition at line 705 of file O3prm.h.

◆ _rightInstance_

O3Label gum::prm::o3prm::O3Assignment::_rightInstance_
private

Definition at line 704 of file O3prm.h.


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