aGrUM  0.14.2
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 1078 of file O3prm.cpp.

1078 { GUM_CONSTRUCTOR(O3Assignment); }

◆ O3Assignment() [2/3]

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

Definition at line 1080 of file O3prm.cpp.

1080  :
1081  __leftInstance(src.__leftInstance), __leftIndex(src.__leftIndex),
1082  __leftReference(src.__leftReference),
1083  __rightInstance(src.__rightInstance), __rightIndex(src.__rightIndex) {
1084  GUM_CONS_CPY(O3Assignment);
1085  }

◆ O3Assignment() [3/3]

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

Definition at line 1087 of file O3prm.cpp.

1087  :
1088  __leftInstance(std::move(src.__leftInstance)),
1089  __leftIndex(std::move(src.__leftIndex)),
1090  __leftReference(std::move(src.__leftReference)),
1091  __rightInstance(std::move(src.__rightInstance)),
1092  __rightIndex(std::move(src.__rightIndex)) {
1093  GUM_CONS_CPY(O3Assignment);
1094  }

◆ ~O3Assignment()

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

Definition at line 1096 of file O3prm.cpp.

1096 { GUM_DESTRUCTOR(O3Assignment); }

Member Function Documentation

◆ leftIndex() [1/2]

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

Definition at line 1124 of file O3prm.cpp.

References __leftIndex.

1124 { return __leftIndex; }

◆ leftIndex() [2/2]

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

Definition at line 1122 of file O3prm.cpp.

References __leftIndex.

1122 { return __leftIndex; }

◆ leftInstance() [1/2]

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

Definition at line 1120 of file O3prm.cpp.

References __leftInstance.

1120 { return __leftInstance; }

◆ leftInstance() [2/2]

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

Definition at line 1118 of file O3prm.cpp.

References __leftInstance.

1118 { return __leftInstance; }

◆ leftReference() [1/2]

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

Definition at line 1130 of file O3prm.cpp.

References __leftReference.

1130 { return __leftReference; }

◆ leftReference() [2/2]

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

Definition at line 1126 of file O3prm.cpp.

References __leftReference.

1126  {
1127  return __leftReference;
1128  }

◆ operator=() [1/2]

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

Definition at line 1098 of file O3prm.cpp.

References __leftIndex, __leftInstance, __leftReference, __rightIndex, and __rightInstance.

1098  {
1099  if (this == &src) { return *this; }
1100  __leftInstance = src.__leftInstance;
1101  __leftIndex = src.__leftIndex;
1102  __leftReference = src.__leftReference;
1103  __rightInstance = src.__rightInstance;
1104  __rightIndex = src.__rightIndex;
1105  return *this;
1106  }

◆ operator=() [2/2]

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

Definition at line 1108 of file O3prm.cpp.

References __leftIndex, __leftInstance, __leftReference, __rightIndex, and __rightInstance.

1108  {
1109  if (this == &src) { return *this; }
1110  __leftInstance = std::move(src.__leftInstance);
1111  __leftIndex = std::move(src.__leftIndex);
1112  __leftReference = std::move(src.__leftReference);
1113  __rightInstance = std::move(src.__rightInstance);
1114  __rightIndex = std::move(src.__rightIndex);
1115  return *this;
1116  }

◆ rightIndex() [1/2]

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

Definition at line 1138 of file O3prm.cpp.

References __rightIndex.

1138 { return __rightIndex; }

◆ rightIndex() [2/2]

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

Definition at line 1140 of file O3prm.cpp.

References __rightIndex.

1140 { return __rightIndex; }

◆ rightInstance() [1/2]

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

Definition at line 1136 of file O3prm.cpp.

References __rightInstance.

1136 { return __rightInstance; }

◆ rightInstance() [2/2]

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

Definition at line 1132 of file O3prm.cpp.

References __rightInstance.

1132  {
1133  return __rightInstance;
1134  }

Member Data Documentation

◆ __leftIndex

O3Integer gum::prm::o3prm::O3Assignment::__leftIndex
private

Definition at line 702 of file O3prm.h.

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

◆ __leftInstance

O3Label gum::prm::o3prm::O3Assignment::__leftInstance
private

Definition at line 701 of file O3prm.h.

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

◆ __leftReference

O3Label gum::prm::o3prm::O3Assignment::__leftReference
private

Definition at line 703 of file O3prm.h.

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

◆ __rightIndex

O3Integer gum::prm::o3prm::O3Assignment::__rightIndex
private

Definition at line 705 of file O3prm.h.

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

◆ __rightInstance

O3Label gum::prm::o3prm::O3Assignment::__rightInstance
private

Definition at line 704 of file O3prm.h.

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


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