aGrUM  0.14.2
gum::prm::o3prm::O3Increment Class Reference

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

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

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

Public Member Functions

 O3Increment ()
 
 O3Increment (const O3Increment &src)
 
 O3Increment (O3Increment &&src)
 
 ~O3Increment ()
 
O3Incrementoperator= (const O3Increment &src)
 
O3Incrementoperator= (O3Increment &&src)
 
O3LabelleftInstance ()
 
const O3LabelleftInstance () const
 
O3IntegerleftIndex ()
 
const O3IntegerleftIndex () const
 
O3LabelleftReference ()
 
const O3LabelleftReference () const
 
O3LabelrightInstance ()
 
const O3LabelrightInstance () const
 
O3IntegerrightIndex ()
 
const O3IntegerrightIndex () const
 

Detailed Description

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

Definition at line 715 of file O3prm.h.

Constructor & Destructor Documentation

◆ O3Increment() [1/3]

gum::prm::o3prm::O3Increment::O3Increment ( )

Definition at line 1142 of file O3prm.cpp.

1142 { GUM_CONSTRUCTOR(O3Increment); }

◆ O3Increment() [2/3]

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

Definition at line 1144 of file O3prm.cpp.

1144  :
1145  __leftInstance(src.__leftInstance), __leftIndex(src.__leftIndex),
1146  __leftReference(src.__leftReference),
1147  __rightInstance(src.__rightInstance), __rightIndex(src.__rightIndex) {
1148  GUM_CONS_CPY(O3Increment);
1149  }

◆ O3Increment() [3/3]

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

Definition at line 1151 of file O3prm.cpp.

1151  :
1152  __leftInstance(std::move(src.__leftInstance)),
1153  __leftIndex(std::move(src.__leftIndex)),
1154  __leftReference(std::move(src.__leftReference)),
1155  __rightInstance(std::move(src.__rightInstance)),
1156  __rightIndex(std::move(src.__rightIndex)) {
1157  GUM_CONS_CPY(O3Increment);
1158  }

◆ ~O3Increment()

gum::prm::o3prm::O3Increment::~O3Increment ( )

Definition at line 1160 of file O3prm.cpp.

1160 { GUM_DESTRUCTOR(O3Increment); }

Member Function Documentation

◆ leftIndex() [1/2]

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

Definition at line 1188 of file O3prm.cpp.

References __leftIndex.

1188 { return __leftIndex; }

◆ leftIndex() [2/2]

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

Definition at line 1186 of file O3prm.cpp.

References __leftIndex.

1186 { return __leftIndex; }

◆ leftInstance() [1/2]

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

Definition at line 1184 of file O3prm.cpp.

References __leftInstance.

1184 { return __leftInstance; }

◆ leftInstance() [2/2]

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

Definition at line 1182 of file O3prm.cpp.

References __leftInstance.

1182 { return __leftInstance; }

◆ leftReference() [1/2]

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

Definition at line 1192 of file O3prm.cpp.

References __leftReference.

1192 { return __leftReference; }

◆ leftReference() [2/2]

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

Definition at line 1190 of file O3prm.cpp.

References __leftReference.

1190 { return __leftReference; }

◆ operator=() [1/2]

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

Definition at line 1162 of file O3prm.cpp.

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

1162  {
1163  if (this == &src) { return *this; }
1164  __leftInstance = src.__leftInstance;
1165  __leftIndex = src.__leftIndex;
1166  __leftReference = src.__leftReference;
1167  __rightInstance = src.__rightInstance;
1168  __rightIndex = src.__rightIndex;
1169  return *this;
1170  }

◆ operator=() [2/2]

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

Definition at line 1172 of file O3prm.cpp.

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

1172  {
1173  if (this == &src) { return *this; }
1174  __leftInstance = std::move(src.__leftInstance);
1175  __leftIndex = std::move(src.__leftIndex);
1176  __leftReference = std::move(src.__leftReference);
1177  __rightInstance = std::move(src.__rightInstance);
1178  __rightIndex = std::move(src.__rightIndex);
1179  return *this;
1180  }

◆ rightIndex() [1/2]

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

Definition at line 1196 of file O3prm.cpp.

References __rightIndex.

1196 { return __rightIndex; }

◆ rightIndex() [2/2]

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

Definition at line 1197 of file O3prm.cpp.

References __rightIndex.

1197 { return __rightIndex; }

◆ rightInstance() [1/2]

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

Definition at line 1199 of file O3prm.cpp.

References __rightInstance.

1199 { return __rightInstance; }

◆ rightInstance() [2/2]

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

Definition at line 1194 of file O3prm.cpp.

References __rightInstance.

1194 { return __rightInstance; }

Member Data Documentation

◆ __leftIndex

O3Integer gum::prm::o3prm::O3Increment::__leftIndex
private

Definition at line 742 of file O3prm.h.

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

◆ __leftInstance

O3Label gum::prm::o3prm::O3Increment::__leftInstance
private

Definition at line 741 of file O3prm.h.

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

◆ __leftReference

O3Label gum::prm::o3prm::O3Increment::__leftReference
private

Definition at line 743 of file O3prm.h.

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

◆ __rightIndex

O3Integer gum::prm::o3prm::O3Increment::__rightIndex
private

Definition at line 745 of file O3prm.h.

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

◆ __rightInstance

O3Label gum::prm::o3prm::O3Increment::__rightInstance
private

Definition at line 744 of file O3prm.h.

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


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