aGrUM  0.16.0
gum::prm::o3prm::O3System Class Reference

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

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

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

Public Member Functions

 O3System ()
 
 O3System (const O3System &src)
 
 O3System (O3System &&src)
 
 ~O3System ()
 
O3Systemoperator= (const O3System &src)
 
O3Systemoperator= (O3System &&src)
 
O3Labelname ()
 
const O3Labelname () const
 
O3InstanceListinstances ()
 
const O3InstanceListinstances () const
 
O3AssignmentListassignments ()
 
const O3AssignmentListassignments () const
 
O3IncrementListincrements ()
 
const O3IncrementListincrements () const
 

Public Types

using O3InstanceList = std::vector< O3Instance >
 
using O3AssignmentList = std::vector< O3Assignment >
 
using O3IncrementList = std::vector< O3Increment >
 

Detailed Description

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

Definition at line 828 of file O3prm.h.

Member Typedef Documentation

◆ O3AssignmentList

Definition at line 831 of file O3prm.h.

◆ O3IncrementList

Definition at line 832 of file O3prm.h.

◆ O3InstanceList

Definition at line 830 of file O3prm.h.

Constructor & Destructor Documentation

◆ O3System() [1/3]

gum::prm::o3prm::O3System::O3System ( )

Definition at line 1258 of file O3prm.cpp.

1258 { GUM_CONSTRUCTOR(O3System); }

◆ O3System() [2/3]

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

Definition at line 1260 of file O3prm.cpp.

1260  :
1261  __name(src.__name), __instances(src.__instances),
1262  __assigments(src.__assigments), __increments(src.__increments) {
1263  GUM_CONS_CPY(O3System);
1264  }
O3IncrementList __increments
Definition: O3prm.h:858
O3InstanceList __instances
Definition: O3prm.h:856
O3AssignmentList __assigments
Definition: O3prm.h:857

◆ O3System() [3/3]

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

Definition at line 1266 of file O3prm.cpp.

1266  :
1267  __name(std::move(src.__name)), __instances(std::move(src.__instances)),
1268  __assigments(std::move(src.__assigments)),
1269  __increments(std::move(src.__increments)) {
1270  GUM_CONS_MOV(O3System);
1271  }
O3IncrementList __increments
Definition: O3prm.h:858
O3InstanceList __instances
Definition: O3prm.h:856
O3AssignmentList __assigments
Definition: O3prm.h:857

◆ ~O3System()

gum::prm::o3prm::O3System::~O3System ( )

Definition at line 1273 of file O3prm.cpp.

1273 { GUM_DESTRUCTOR(O3System); }

Member Function Documentation

◆ assignments() [1/2]

O3System::O3AssignmentList & gum::prm::o3prm::O3System::assignments ( )

Definition at line 1307 of file O3prm.cpp.

References __assigments.

Referenced by gum::prm::o3prm::O3SystemFactory< GUM_SCALAR >::__addAssignments(), and gum::prm::o3prm::O3SystemFactory< GUM_SCALAR >::__checkAssignments().

1307 { return __assigments; }
O3AssignmentList __assigments
Definition: O3prm.h:857
+ Here is the caller graph for this function:

◆ assignments() [2/2]

const O3System::O3AssignmentList & gum::prm::o3prm::O3System::assignments ( ) const

Definition at line 1303 of file O3prm.cpp.

References __assigments.

1303  {
1304  return __assigments;
1305  }
O3AssignmentList __assigments
Definition: O3prm.h:857

◆ increments() [1/2]

O3System::O3IncrementList & gum::prm::o3prm::O3System::increments ( )

Definition at line 1313 of file O3prm.cpp.

References __increments.

Referenced by gum::prm::o3prm::O3SystemFactory< GUM_SCALAR >::__addIncrements(), and gum::prm::o3prm::O3SystemFactory< GUM_SCALAR >::__checkIncrements().

1313 { return __increments; }
O3IncrementList __increments
Definition: O3prm.h:858
+ Here is the caller graph for this function:

◆ increments() [2/2]

const O3System::O3IncrementList & gum::prm::o3prm::O3System::increments ( ) const

Definition at line 1309 of file O3prm.cpp.

References __increments.

1309  {
1310  return __increments;
1311  }
O3IncrementList __increments
Definition: O3prm.h:858

◆ instances() [1/2]

O3System::O3InstanceList & gum::prm::o3prm::O3System::instances ( )

Definition at line 1301 of file O3prm.cpp.

References __instances.

Referenced by gum::prm::o3prm::O3SystemFactory< GUM_SCALAR >::__addInstances(), and gum::prm::o3prm::O3SystemFactory< GUM_SCALAR >::__checkInstance().

1301 { return __instances; }
O3InstanceList __instances
Definition: O3prm.h:856
+ Here is the caller graph for this function:

◆ instances() [2/2]

const O3System::O3InstanceList & gum::prm::o3prm::O3System::instances ( ) const

Definition at line 1297 of file O3prm.cpp.

References __instances.

1297  {
1298  return __instances;
1299  }
O3InstanceList __instances
Definition: O3prm.h:856

◆ name() [1/2]

O3Label & gum::prm::o3prm::O3System::name ( )

Definition at line 1295 of file O3prm.cpp.

References __name.

Referenced by gum::prm::o3prm::O3SystemFactory< GUM_SCALAR >::__addAssignments(), and gum::prm::o3prm::O3SystemFactory< GUM_SCALAR >::__addIncrements().

1295 { return __name; }
+ Here is the caller graph for this function:

◆ name() [2/2]

const O3Label & gum::prm::o3prm::O3System::name ( ) const

Definition at line 1293 of file O3prm.cpp.

References __name.

1293 { return __name; }

◆ operator=() [1/2]

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

Definition at line 1275 of file O3prm.cpp.

References __assigments, __increments, __instances, and __name.

1275  {
1276  if (this == &src) { return *this; }
1277  __name = src.__name;
1278  __instances = src.__instances;
1279  __assigments = src.__assigments;
1280  __increments = src.__increments;
1281  return *this;
1282  }
O3IncrementList __increments
Definition: O3prm.h:858
O3InstanceList __instances
Definition: O3prm.h:856
O3AssignmentList __assigments
Definition: O3prm.h:857

◆ operator=() [2/2]

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

Definition at line 1284 of file O3prm.cpp.

References __assigments, __increments, __instances, and __name.

1284  {
1285  if (this == &src) { return *this; }
1286  __name = std::move(src.__name);
1287  __instances = std::move(src.__instances);
1288  __assigments = std::move(src.__assigments);
1289  __increments = std::move(src.__increments);
1290  return *this;
1291  }
O3IncrementList __increments
Definition: O3prm.h:858
O3InstanceList __instances
Definition: O3prm.h:856
O3AssignmentList __assigments
Definition: O3prm.h:857

Member Data Documentation

◆ __assigments

O3AssignmentList gum::prm::o3prm::O3System::__assigments
private

Definition at line 857 of file O3prm.h.

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

◆ __increments

O3IncrementList gum::prm::o3prm::O3System::__increments
private

Definition at line 858 of file O3prm.h.

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

◆ __instances

O3InstanceList gum::prm::o3prm::O3System::__instances
private

Definition at line 856 of file O3prm.h.

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

◆ __name

O3Label gum::prm::o3prm::O3System::__name
private

Definition at line 855 of file O3prm.h.

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


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