aGrUM  0.20.2
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 681 of file O3prm.h.

Constructor & Destructor Documentation

◆ O3Assignment() [1/3]

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

Definition at line 1079 of file O3prm.cpp.

1079 { GUM_CONSTRUCTOR(O3Assignment); }

◆ O3Assignment() [2/3]

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

Definition at line 1081 of file O3prm.cpp.

1081  :
1082  leftInstance__(src.leftInstance__), leftIndex__(src.leftIndex__),
1083  leftReference__(src.leftReference__),
1084  rightInstance__(src.rightInstance__), rightIndex__(src.rightIndex__) {
1085  GUM_CONS_CPY(O3Assignment);
1086  }

◆ O3Assignment() [3/3]

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

Definition at line 1088 of file O3prm.cpp.

1088  :
1089  leftInstance__(std::move(src.leftInstance__)),
1090  leftIndex__(std::move(src.leftIndex__)),
1091  leftReference__(std::move(src.leftReference__)),
1092  rightInstance__(std::move(src.rightInstance__)),
1093  rightIndex__(std::move(src.rightIndex__)) {
1094  GUM_CONS_CPY(O3Assignment);
1095  }

◆ ~O3Assignment()

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

Definition at line 1097 of file O3prm.cpp.

1097 { GUM_DESTRUCTOR(O3Assignment); }

Member Function Documentation

◆ leftIndex() [1/2]

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

Definition at line 1125 of file O3prm.cpp.

1125 { return leftIndex__; }

◆ leftIndex() [2/2]

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

Definition at line 1123 of file O3prm.cpp.

1123 { return leftIndex__; }

◆ leftInstance() [1/2]

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

Definition at line 1121 of file O3prm.cpp.

1121 { return leftInstance__; }

◆ leftInstance() [2/2]

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

Definition at line 1119 of file O3prm.cpp.

1119 { return leftInstance__; }

◆ leftReference() [1/2]

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

Definition at line 1131 of file O3prm.cpp.

1131 { return leftReference__; }

◆ leftReference() [2/2]

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

Definition at line 1127 of file O3prm.cpp.

1127  {
1128  return leftReference__;
1129  }

◆ operator=() [1/2]

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

Definition at line 1099 of file O3prm.cpp.

1099  {
1100  if (this == &src) { return *this; }
1101  leftInstance__ = src.leftInstance__;
1102  leftIndex__ = src.leftIndex__;
1103  leftReference__ = src.leftReference__;
1104  rightInstance__ = src.rightInstance__;
1105  rightIndex__ = src.rightIndex__;
1106  return *this;
1107  }

◆ operator=() [2/2]

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

Definition at line 1109 of file O3prm.cpp.

1109  {
1110  if (this == &src) { return *this; }
1111  leftInstance__ = std::move(src.leftInstance__);
1112  leftIndex__ = std::move(src.leftIndex__);
1113  leftReference__ = std::move(src.leftReference__);
1114  rightInstance__ = std::move(src.rightInstance__);
1115  rightIndex__ = std::move(src.rightIndex__);
1116  return *this;
1117  }

◆ rightIndex() [1/2]

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

Definition at line 1139 of file O3prm.cpp.

1139 { return rightIndex__; }

◆ rightIndex() [2/2]

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

Definition at line 1141 of file O3prm.cpp.

1141 { return rightIndex__; }

◆ rightInstance() [1/2]

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

Definition at line 1137 of file O3prm.cpp.

1137 { return rightInstance__; }

◆ rightInstance() [2/2]

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

Definition at line 1133 of file O3prm.cpp.

1133  {
1134  return rightInstance__;
1135  }

Member Data Documentation

◆ leftIndex__

O3Integer gum::prm::o3prm::O3Assignment::leftIndex__
private

Definition at line 708 of file O3prm.h.

◆ leftInstance__

O3Label gum::prm::o3prm::O3Assignment::leftInstance__
private

Definition at line 707 of file O3prm.h.

◆ leftReference__

O3Label gum::prm::o3prm::O3Assignment::leftReference__
private

Definition at line 709 of file O3prm.h.

◆ rightIndex__

O3Integer gum::prm::o3prm::O3Assignment::rightIndex__
private

Definition at line 711 of file O3prm.h.

◆ rightInstance__

O3Label gum::prm::o3prm::O3Assignment::rightInstance__
private

Definition at line 710 of file O3prm.h.


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