aGrUM 2.3.2
a C++ library for (probabilistic) graphical models
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 Types

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

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

Private Attributes

O3Label _name_
O3InstanceList _instances_
O3AssignmentList _assigments_
O3IncrementList _increments_

Detailed Description

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

Definition at line 849 of file O3prm.h.

Member Typedef Documentation

◆ O3AssignmentList

Definition at line 852 of file O3prm.h.

◆ O3IncrementList

Definition at line 853 of file O3prm.h.

◆ O3InstanceList

Definition at line 851 of file O3prm.h.

Constructor & Destructor Documentation

◆ O3System() [1/3]

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

Definition at line 1355 of file O3prm.cpp.

1355 {
1356 GUM_CONSTRUCTOR(O3System);
1357 ;
1358 }

References O3System().

Referenced by O3System(), O3System(), O3System(), ~O3System(), operator=(), and operator=().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ O3System() [2/3]

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

Definition at line 1360 of file O3prm.cpp.

1360 :
1361 _name_(src._name_), _instances_(src._instances_), _assigments_(src._assigments_),
1362 _increments_(src._increments_) {
1363 GUM_CONS_CPY(O3System);
1364 }
O3AssignmentList _assigments_
Definition O3prm.h:878
O3InstanceList _instances_
Definition O3prm.h:877
O3IncrementList _increments_
Definition O3prm.h:879

References O3System(), _assigments_, _increments_, _instances_, and _name_.

Here is the call graph for this function:

◆ O3System() [3/3]

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

Definition at line 1366 of file O3prm.cpp.

1366 :
1367 _name_(std::move(src._name_)), _instances_(std::move(src._instances_)),
1368 _assigments_(std::move(src._assigments_)), _increments_(std::move(src._increments_)) {
1369 GUM_CONS_MOV(O3System);
1370 }

References O3System(), _assigments_, _increments_, _instances_, and _name_.

Here is the call graph for this function:

◆ ~O3System()

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

Definition at line 1372 of file O3prm.cpp.

1372 {
1373 GUM_DESTRUCTOR(O3System);
1374 ;
1375 }

References O3System().

Here is the call graph for this function:

Member Function Documentation

◆ assignments() [1/2]

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

Definition at line 1405 of file O3prm.cpp.

1405{ return _assigments_; }

References _assigments_.

Referenced by gum::prm::o3prm::O3SystemFactory< GUM_SCALAR >::_addAssignments_(), and gum::prm::o3prm::O3SystemFactory< GUM_SCALAR >::_checkAssignments_().

Here is the caller graph for this function:

◆ assignments() [2/2]

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

Definition at line 1403 of file O3prm.cpp.

1403{ return _assigments_; }

References _assigments_.

◆ increments() [1/2]

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

Definition at line 1409 of file O3prm.cpp.

1409{ return _increments_; }

References _increments_.

Referenced by gum::prm::o3prm::O3SystemFactory< GUM_SCALAR >::_addIncrements_(), and gum::prm::o3prm::O3SystemFactory< GUM_SCALAR >::_checkIncrements_().

Here is the caller graph for this function:

◆ increments() [2/2]

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

Definition at line 1407 of file O3prm.cpp.

1407{ return _increments_; }

References _increments_.

◆ instances() [1/2]

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

Definition at line 1401 of file O3prm.cpp.

1401{ return _instances_; }

References _instances_.

Referenced by gum::prm::o3prm::O3SystemFactory< GUM_SCALAR >::_addInstances_(), and gum::prm::o3prm::O3SystemFactory< GUM_SCALAR >::_checkInstance_().

Here is the caller graph for this function:

◆ instances() [2/2]

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

Definition at line 1399 of file O3prm.cpp.

1399{ return _instances_; }

References _instances_.

◆ name() [1/2]

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

Definition at line 1397 of file O3prm.cpp.

1397{ return _name_; }

References _name_.

Referenced by gum::prm::o3prm::O3SystemFactory< GUM_SCALAR >::_addAssignments_(), and gum::prm::o3prm::O3SystemFactory< GUM_SCALAR >::_addIncrements_().

Here is the caller graph for this function:

◆ name() [2/2]

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

Definition at line 1395 of file O3prm.cpp.

1395{ return _name_; }

References _name_.

◆ operator=() [1/2]

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

Definition at line 1377 of file O3prm.cpp.

1377 {
1378 if (this == &src) { return *this; }
1379 _name_ = src._name_;
1380 _instances_ = src._instances_;
1381 _assigments_ = src._assigments_;
1382 _increments_ = src._increments_;
1383 return *this;
1384 }

References O3System(), _assigments_, _increments_, _instances_, and _name_.

Here is the call graph for this function:

◆ operator=() [2/2]

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

Definition at line 1386 of file O3prm.cpp.

1386 {
1387 if (this == &src) { return *this; }
1388 _name_ = std::move(src._name_);
1389 _instances_ = std::move(src._instances_);
1390 _assigments_ = std::move(src._assigments_);
1391 _increments_ = std::move(src._increments_);
1392 return *this;
1393 }

References O3System(), _assigments_, _increments_, _instances_, and _name_.

Here is the call graph for this function:

Member Data Documentation

◆ _assigments_

O3AssignmentList gum::prm::o3prm::O3System::_assigments_
private

Definition at line 878 of file O3prm.h.

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

◆ _increments_

O3IncrementList gum::prm::o3prm::O3System::_increments_
private

Definition at line 879 of file O3prm.h.

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

◆ _instances_

O3InstanceList gum::prm::o3prm::O3System::_instances_
private

Definition at line 877 of file O3prm.h.

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

◆ _name_

O3Label gum::prm::o3prm::O3System::_name_
private

Definition at line 876 of file O3prm.h.

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


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