aGrUM 3.1.1
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

Private Attributes

O3Label _leftInstance_
O3Integer _leftIndex_
O3Label _leftReference_
O3Label _rightInstance_
O3Integer _rightIndex_

Detailed Description

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

Definition at line 700 of file O3prm.h.

Constructor & Destructor Documentation

◆ O3Assignment() [1/3]

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

Definition at line 1166 of file O3prm.cpp.

1166 {
1167 GUM_CONSTRUCTOR(O3Assignment);
1168 ;
1169 }

References O3Assignment().

Referenced by O3Assignment(), O3Assignment(), O3Assignment(), ~O3Assignment(), operator=(), and operator=().

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

◆ O3Assignment() [2/3]

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

Definition at line 1171 of file O3prm.cpp.

1171 :
1172 _leftInstance_(src._leftInstance_), _leftIndex_(src._leftIndex_),
1173 _leftReference_(src._leftReference_), _rightInstance_(src._rightInstance_),
1174 _rightIndex_(src._rightIndex_) {
1175 GUM_CONS_CPY(O3Assignment);
1176 }

References O3Assignment(), _leftIndex_, _leftInstance_, _leftReference_, _rightIndex_, and _rightInstance_.

Here is the call graph for this function:

◆ O3Assignment() [3/3]

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

Definition at line 1178 of file O3prm.cpp.

1178 :
1179 _leftInstance_(std::move(src._leftInstance_)), _leftIndex_(std::move(src._leftIndex_)),
1180 _leftReference_(std::move(src._leftReference_)),
1181 _rightInstance_(std::move(src._rightInstance_)),
1182 _rightIndex_(std::move(src._rightIndex_)) {
1183 GUM_CONS_CPY(O3Assignment);
1184 }

References O3Assignment(), _leftIndex_, _leftInstance_, _leftReference_, _rightIndex_, and _rightInstance_.

Here is the call graph for this function:

◆ ~O3Assignment()

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

Definition at line 1186 of file O3prm.cpp.

1186 {
1187 GUM_DESTRUCTOR(O3Assignment);
1188 ;
1189 }

References O3Assignment().

Here is the call graph for this function:

Member Function Documentation

◆ leftIndex() [1/2]

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

Definition at line 1217 of file O3prm.cpp.

1217{ return _leftIndex_; }

References _leftIndex_.

◆ leftIndex() [2/2]

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

Definition at line 1215 of file O3prm.cpp.

1215{ return _leftIndex_; }

References _leftIndex_.

◆ leftInstance() [1/2]

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

Definition at line 1213 of file O3prm.cpp.

1213{ return _leftInstance_; }

References _leftInstance_.

◆ leftInstance() [2/2]

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

Definition at line 1211 of file O3prm.cpp.

1211{ return _leftInstance_; }

References _leftInstance_.

◆ leftReference() [1/2]

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

Definition at line 1221 of file O3prm.cpp.

1221{ return _leftReference_; }

References _leftReference_.

◆ leftReference() [2/2]

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

Definition at line 1219 of file O3prm.cpp.

1219{ return _leftReference_; }

References _leftReference_.

◆ operator=() [1/2]

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

Definition at line 1191 of file O3prm.cpp.

1191 {
1192 if (this == &src) { return *this; }
1193 _leftInstance_ = src._leftInstance_;
1194 _leftIndex_ = src._leftIndex_;
1195 _leftReference_ = src._leftReference_;
1196 _rightInstance_ = src._rightInstance_;
1197 _rightIndex_ = src._rightIndex_;
1198 return *this;
1199 }

References O3Assignment(), _leftIndex_, _leftInstance_, _leftReference_, _rightIndex_, and _rightInstance_.

Here is the call graph for this function:

◆ operator=() [2/2]

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

Definition at line 1201 of file O3prm.cpp.

1201 {
1202 if (this == &src) { return *this; }
1203 _leftInstance_ = std::move(src._leftInstance_);
1204 _leftIndex_ = std::move(src._leftIndex_);
1205 _leftReference_ = std::move(src._leftReference_);
1206 _rightInstance_ = std::move(src._rightInstance_);
1207 _rightIndex_ = std::move(src._rightIndex_);
1208 return *this;
1209 }

References O3Assignment(), _leftIndex_, _leftInstance_, _leftReference_, _rightIndex_, and _rightInstance_.

Here is the call graph for this function:

◆ rightIndex() [1/2]

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

Definition at line 1227 of file O3prm.cpp.

1227{ return _rightIndex_; }

References _rightIndex_.

◆ rightIndex() [2/2]

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

Definition at line 1229 of file O3prm.cpp.

1229{ return _rightIndex_; }

References _rightIndex_.

◆ rightInstance() [1/2]

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

Definition at line 1225 of file O3prm.cpp.

1225{ return _rightInstance_; }

References _rightInstance_.

◆ rightInstance() [2/2]

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

Definition at line 1223 of file O3prm.cpp.

1223{ return _rightInstance_; }

References _rightInstance_.

Member Data Documentation

◆ _leftIndex_

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

Definition at line 727 of file O3prm.h.

Referenced by O3Assignment(), O3Assignment(), leftIndex(), leftIndex(), operator=(), and operator=().

◆ _leftInstance_

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

Definition at line 726 of file O3prm.h.

Referenced by O3Assignment(), O3Assignment(), leftInstance(), leftInstance(), operator=(), and operator=().

◆ _leftReference_

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

Definition at line 728 of file O3prm.h.

Referenced by O3Assignment(), O3Assignment(), leftReference(), leftReference(), operator=(), and operator=().

◆ _rightIndex_

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

Definition at line 730 of file O3prm.h.

Referenced by O3Assignment(), O3Assignment(), operator=(), operator=(), rightIndex(), and rightIndex().

◆ _rightInstance_

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

Definition at line 729 of file O3prm.h.

Referenced by O3Assignment(), O3Assignment(), operator=(), operator=(), rightInstance(), and rightInstance().


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