aGrUM 3.1.1
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 851 of file O3prm.h.

Member Typedef Documentation

◆ O3AssignmentList

Definition at line 854 of file O3prm.h.

◆ O3IncrementList

Definition at line 855 of file O3prm.h.

◆ O3InstanceList

Definition at line 853 of file O3prm.h.

Constructor & Destructor Documentation

◆ O3System() [1/3]

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

Definition at line 1354 of file O3prm.cpp.

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

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 1359 of file O3prm.cpp.

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

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 1365 of file O3prm.cpp.

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

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

Here is the call graph for this function:

◆ ~O3System()

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

Definition at line 1371 of file O3prm.cpp.

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

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 1404 of file O3prm.cpp.

1404{ 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 1402 of file O3prm.cpp.

1402{ return _assigments_; }

References _assigments_.

◆ increments() [1/2]

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

Definition at line 1408 of file O3prm.cpp.

1408{ 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 1406 of file O3prm.cpp.

1406{ return _increments_; }

References _increments_.

◆ instances() [1/2]

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

Definition at line 1400 of file O3prm.cpp.

1400{ 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 1398 of file O3prm.cpp.

1398{ return _instances_; }

References _instances_.

◆ name() [1/2]

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

Definition at line 1396 of file O3prm.cpp.

1396{ 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 1394 of file O3prm.cpp.

1394{ return _name_; }

References _name_.

◆ operator=() [1/2]

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

Definition at line 1376 of file O3prm.cpp.

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

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 1385 of file O3prm.cpp.

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

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 880 of file O3prm.h.

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

◆ _increments_

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

Definition at line 881 of file O3prm.h.

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

◆ _instances_

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

Definition at line 879 of file O3prm.h.

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

◆ _name_

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

Definition at line 878 of file O3prm.h.

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


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