aGrUM 3.2.0
a C++ library for (probabilistic) graphical models
gum::prm::o3prm::O3InstanceParameter Class Reference

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

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

Collaboration diagram for gum::prm::o3prm::O3InstanceParameter:
[legend]

Public Member Functions

 O3InstanceParameter ()
 O3InstanceParameter (const O3InstanceParameter &src)
 O3InstanceParameter (O3InstanceParameter &&src)
 ~O3InstanceParameter ()
O3InstanceParameter & operator= (const O3InstanceParameter &src)
O3InstanceParameter & operator= (O3InstanceParameter &&src)
O3Label & name ()
const O3Label & name () const
O3Float & value ()
const O3Float & value () const
bool & isInteger ()
bool isInteger () const

Private Attributes

O3Label _name_
O3Float _value_
bool _isInteger_

Detailed Description

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

Definition at line 781 of file O3prm.h.

Constructor & Destructor Documentation

◆ O3InstanceParameter() [1/3]

gum::prm::o3prm::O3InstanceParameter::O3InstanceParameter ( )

Definition at line 1415 of file O3prm.cpp.

1415 : _isInteger_(false) {
1416 GUM_CONSTRUCTOR(O3InstanceParameter);
1417 }

References O3InstanceParameter(), and _isInteger_.

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

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

◆ O3InstanceParameter() [2/3]

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

Definition at line 1419 of file O3prm.cpp.

1419 :
1420 _name_(src._name_), _value_(src._value_), _isInteger_(src._isInteger_) {
1421 GUM_CONS_CPY(O3InstanceParameter);
1422 }

References O3InstanceParameter(), _isInteger_, _name_, and _value_.

Here is the call graph for this function:

◆ O3InstanceParameter() [3/3]

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

Definition at line 1424 of file O3prm.cpp.

1424 :
1425 _name_(std::move(src._name_)), _value_(std::move(src._value_)),
1426 _isInteger_(std::move(src._isInteger_)) {
1427 GUM_CONS_MOV(O3InstanceParameter);
1428 }

References O3InstanceParameter(), _isInteger_, _name_, and _value_.

Here is the call graph for this function:

◆ ~O3InstanceParameter()

gum::prm::o3prm::O3InstanceParameter::~O3InstanceParameter ( )

Definition at line 1430 of file O3prm.cpp.

1430{ GUM_DESTRUCTOR(O3InstanceParameter); }

References O3InstanceParameter().

Here is the call graph for this function:

Member Function Documentation

◆ isInteger() [1/2]

bool & gum::prm::o3prm::O3InstanceParameter::isInteger ( )

Definition at line 1458 of file O3prm.cpp.

1458{ return _isInteger_; }

References _isInteger_.

◆ isInteger() [2/2]

bool gum::prm::o3prm::O3InstanceParameter::isInteger ( ) const

Definition at line 1456 of file O3prm.cpp.

1456{ return _isInteger_; }

References _isInteger_.

◆ name() [1/2]

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

Definition at line 1450 of file O3prm.cpp.

1450{ return _name_; }

References _name_.

◆ name() [2/2]

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

Definition at line 1448 of file O3prm.cpp.

1448{ return _name_; }

References _name_.

◆ operator=() [1/2]

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

Definition at line 1432 of file O3prm.cpp.

1432 {
1433 if (this == &src) { return *this; }
1434 _name_ = src._name_;
1435 _value_ = src._value_;
1436 _isInteger_ = src._isInteger_;
1437 return *this;
1438 }

References O3InstanceParameter(), _isInteger_, _name_, and _value_.

Here is the call graph for this function:

◆ operator=() [2/2]

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

Definition at line 1440 of file O3prm.cpp.

1440 {
1441 if (this == &src) { return *this; }
1442 _name_ = std::move(src._name_);
1443 _value_ = std::move(src._value_);
1444 _isInteger_ = std::move(src._isInteger_);
1445 return *this;
1446 }

References O3InstanceParameter(), _isInteger_, _name_, and _value_.

Here is the call graph for this function:

◆ value() [1/2]

O3Float & gum::prm::o3prm::O3InstanceParameter::value ( )

Definition at line 1454 of file O3prm.cpp.

1454{ return _value_; }

References _value_.

◆ value() [2/2]

const O3Float & gum::prm::o3prm::O3InstanceParameter::value ( ) const

Definition at line 1452 of file O3prm.cpp.

1452{ return _value_; }

References _value_.

Member Data Documentation

◆ _isInteger_

bool gum::prm::o3prm::O3InstanceParameter::_isInteger_
private

◆ _name_

O3Label gum::prm::o3prm::O3InstanceParameter::_name_
private

Definition at line 801 of file O3prm.h.

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

◆ _value_

O3Float gum::prm::o3prm::O3InstanceParameter::_value_
private

Definition at line 802 of file O3prm.h.

Referenced by O3InstanceParameter(), O3InstanceParameter(), operator=(), operator=(), value(), and value().


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