aGrUM  0.13.2
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 826 of file O3prm.h.

Member Typedef Documentation

Definition at line 829 of file O3prm.h.

Definition at line 830 of file O3prm.h.

Definition at line 828 of file O3prm.h.

Constructor & Destructor Documentation

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

Definition at line 1256 of file O3prm.cpp.

1256 { GUM_CONSTRUCTOR(O3System); }
gum::prm::o3prm::O3System::O3System ( const O3System src)

Definition at line 1258 of file O3prm.cpp.

1258  :
1259  __name(src.__name), __instances(src.__instances),
1260  __assigments(src.__assigments), __increments(src.__increments) {
1261  GUM_CONS_CPY(O3System);
1262  }
O3IncrementList __increments
Definition: O3prm.h:856
O3InstanceList __instances
Definition: O3prm.h:854
O3AssignmentList __assigments
Definition: O3prm.h:855
gum::prm::o3prm::O3System::O3System ( O3System &&  src)

Definition at line 1264 of file O3prm.cpp.

1264  :
1265  __name(std::move(src.__name)), __instances(std::move(src.__instances)),
1266  __assigments(std::move(src.__assigments)),
1267  __increments(std::move(src.__increments)) {
1268  GUM_CONS_MOV(O3System);
1269  }
O3IncrementList __increments
Definition: O3prm.h:856
O3InstanceList __instances
Definition: O3prm.h:854
O3AssignmentList __assigments
Definition: O3prm.h:855
gum::prm::o3prm::O3System::~O3System ( )

Definition at line 1271 of file O3prm.cpp.

1271 { GUM_DESTRUCTOR(O3System); }

Member Function Documentation

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

Definition at line 1305 of file O3prm.cpp.

References __assigments.

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

1305 { return __assigments; }
O3AssignmentList __assigments
Definition: O3prm.h:855

+ Here is the caller graph for this function:

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

Definition at line 1301 of file O3prm.cpp.

References __assigments.

1301  {
1302  return __assigments;
1303  }
O3AssignmentList __assigments
Definition: O3prm.h:855
O3System::O3IncrementList & gum::prm::o3prm::O3System::increments ( )

Definition at line 1311 of file O3prm.cpp.

References __increments.

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

1311 { return __increments; }
O3IncrementList __increments
Definition: O3prm.h:856

+ Here is the caller graph for this function:

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

Definition at line 1307 of file O3prm.cpp.

References __increments.

1307  {
1308  return __increments;
1309  }
O3IncrementList __increments
Definition: O3prm.h:856
O3System::O3InstanceList & gum::prm::o3prm::O3System::instances ( )

Definition at line 1299 of file O3prm.cpp.

References __instances.

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

1299 { return __instances; }
O3InstanceList __instances
Definition: O3prm.h:854

+ Here is the caller graph for this function:

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

Definition at line 1295 of file O3prm.cpp.

References __instances.

1295  {
1296  return __instances;
1297  }
O3InstanceList __instances
Definition: O3prm.h:854
O3Label & gum::prm::o3prm::O3System::name ( )

Definition at line 1293 of file O3prm.cpp.

References __name.

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

1293 { return __name; }

+ Here is the caller graph for this function:

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

Definition at line 1291 of file O3prm.cpp.

References __name.

1291 { return __name; }
O3System & gum::prm::o3prm::O3System::operator= ( const O3System src)

Definition at line 1273 of file O3prm.cpp.

References __assigments, __increments, __instances, and __name.

1273  {
1274  if (this == &src) { return *this; }
1275  __name = src.__name;
1276  __instances = src.__instances;
1277  __assigments = src.__assigments;
1278  __increments = src.__increments;
1279  return *this;
1280  }
O3IncrementList __increments
Definition: O3prm.h:856
O3InstanceList __instances
Definition: O3prm.h:854
O3AssignmentList __assigments
Definition: O3prm.h:855
O3System & gum::prm::o3prm::O3System::operator= ( O3System &&  src)

Definition at line 1282 of file O3prm.cpp.

References __assigments, __increments, __instances, and __name.

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

Member Data Documentation

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

Definition at line 855 of file O3prm.h.

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

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

Definition at line 856 of file O3prm.h.

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

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

Definition at line 854 of file O3prm.h.

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

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

Definition at line 853 of file O3prm.h.

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


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