aGrUM  0.16.0
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 677 of file O3prm.h.

Constructor & Destructor Documentation

◆ O3Assignment() [1/3]

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

Definition at line 1080 of file O3prm.cpp.

1080 { GUM_CONSTRUCTOR(O3Assignment); }

◆ O3Assignment() [2/3]

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

Definition at line 1082 of file O3prm.cpp.

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

◆ O3Assignment() [3/3]

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

Definition at line 1089 of file O3prm.cpp.

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

◆ ~O3Assignment()

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

Definition at line 1098 of file O3prm.cpp.

1098 { GUM_DESTRUCTOR(O3Assignment); }

Member Function Documentation

◆ leftIndex() [1/2]

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

Definition at line 1126 of file O3prm.cpp.

References __leftIndex.

1126 { return __leftIndex; }

◆ leftIndex() [2/2]

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

Definition at line 1124 of file O3prm.cpp.

References __leftIndex.

1124 { return __leftIndex; }

◆ leftInstance() [1/2]

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

Definition at line 1122 of file O3prm.cpp.

References __leftInstance.

1122 { return __leftInstance; }

◆ leftInstance() [2/2]

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

Definition at line 1120 of file O3prm.cpp.

References __leftInstance.

1120 { return __leftInstance; }

◆ leftReference() [1/2]

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

Definition at line 1132 of file O3prm.cpp.

References __leftReference.

1132 { return __leftReference; }

◆ leftReference() [2/2]

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

Definition at line 1128 of file O3prm.cpp.

References __leftReference.

1128  {
1129  return __leftReference;
1130  }

◆ operator=() [1/2]

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

Definition at line 1100 of file O3prm.cpp.

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

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

◆ operator=() [2/2]

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

Definition at line 1110 of file O3prm.cpp.

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

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

◆ rightIndex() [1/2]

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

Definition at line 1140 of file O3prm.cpp.

References __rightIndex.

1140 { return __rightIndex; }

◆ rightIndex() [2/2]

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

Definition at line 1142 of file O3prm.cpp.

References __rightIndex.

1142 { return __rightIndex; }

◆ rightInstance() [1/2]

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

Definition at line 1138 of file O3prm.cpp.

References __rightInstance.

1138 { return __rightInstance; }

◆ rightInstance() [2/2]

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

Definition at line 1134 of file O3prm.cpp.

References __rightInstance.

1134  {
1135  return __rightInstance;
1136  }

Member Data Documentation

◆ __leftIndex

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

Definition at line 704 of file O3prm.h.

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

◆ __leftInstance

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

Definition at line 703 of file O3prm.h.

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

◆ __leftReference

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

Definition at line 705 of file O3prm.h.

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

◆ __rightIndex

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

Definition at line 707 of file O3prm.h.

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

◆ __rightInstance

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

Definition at line 706 of file O3prm.h.

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


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