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

Constructor & Destructor Documentation

◆ O3Increment() [1/3]

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

Definition at line 1144 of file O3prm.cpp.

1144 { GUM_CONSTRUCTOR(O3Increment); }

◆ O3Increment() [2/3]

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

Definition at line 1146 of file O3prm.cpp.

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

◆ O3Increment() [3/3]

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

Definition at line 1153 of file O3prm.cpp.

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

◆ ~O3Increment()

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

Definition at line 1162 of file O3prm.cpp.

1162 { GUM_DESTRUCTOR(O3Increment); }

Member Function Documentation

◆ leftIndex() [1/2]

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

Definition at line 1190 of file O3prm.cpp.

References __leftIndex.

1190 { return __leftIndex; }

◆ leftIndex() [2/2]

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

Definition at line 1188 of file O3prm.cpp.

References __leftIndex.

1188 { return __leftIndex; }

◆ leftInstance() [1/2]

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

Definition at line 1186 of file O3prm.cpp.

References __leftInstance.

1186 { return __leftInstance; }

◆ leftInstance() [2/2]

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

Definition at line 1184 of file O3prm.cpp.

References __leftInstance.

1184 { return __leftInstance; }

◆ leftReference() [1/2]

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

Definition at line 1194 of file O3prm.cpp.

References __leftReference.

1194 { return __leftReference; }

◆ leftReference() [2/2]

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

Definition at line 1192 of file O3prm.cpp.

References __leftReference.

1192 { return __leftReference; }

◆ operator=() [1/2]

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

Definition at line 1164 of file O3prm.cpp.

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

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

◆ operator=() [2/2]

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

Definition at line 1174 of file O3prm.cpp.

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

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

◆ rightIndex() [1/2]

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

Definition at line 1198 of file O3prm.cpp.

References __rightIndex.

1198 { return __rightIndex; }

◆ rightIndex() [2/2]

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

Definition at line 1199 of file O3prm.cpp.

References __rightIndex.

1199 { return __rightIndex; }

◆ rightInstance() [1/2]

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

Definition at line 1201 of file O3prm.cpp.

References __rightInstance.

1201 { return __rightInstance; }

◆ rightInstance() [2/2]

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

Definition at line 1196 of file O3prm.cpp.

References __rightInstance.

1196 { return __rightInstance; }

Member Data Documentation

◆ __leftIndex

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

Definition at line 744 of file O3prm.h.

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

◆ __leftInstance

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

Definition at line 743 of file O3prm.h.

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

◆ __leftReference

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

Definition at line 745 of file O3prm.h.

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

◆ __rightIndex

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

Definition at line 747 of file O3prm.h.

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

◆ __rightInstance

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

Definition at line 746 of file O3prm.h.

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


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