aGrUM  0.20.3
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:

Public Member Functions

 O3InstanceParameter ()
 
 O3InstanceParameter (const O3InstanceParameter &src)
 
 O3InstanceParameter (O3InstanceParameter &&src)
 
 ~O3InstanceParameter ()
 
O3InstanceParameteroperator= (const O3InstanceParameter &src)
 
O3InstanceParameteroperator= (O3InstanceParameter &&src)
 
O3Labelname ()
 
const O3Labelname () const
 
O3Floatvalue ()
 
const O3Floatvalue () const
 
boolisInteger ()
 
bool isInteger () const
 

Detailed Description

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

Definition at line 756 of file O3prm.h.

Constructor & Destructor Documentation

◆ O3InstanceParameter() [1/3]

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

Definition at line 1344 of file O3prm.cpp.

1344  : _isInteger_(false) {
1345  GUM_CONSTRUCTOR(O3InstanceParameter);
1346  }

◆ O3InstanceParameter() [2/3]

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

Definition at line 1348 of file O3prm.cpp.

1348  :
1349  _name_(src._name_), _value_(src._value_), _isInteger_(src._isInteger_) {
1350  GUM_CONS_CPY(O3InstanceParameter);
1351  }

◆ O3InstanceParameter() [3/3]

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

Definition at line 1353 of file O3prm.cpp.

1353  :
1354  _name_(std::move(src._name_)), _value_(std::move(src._value_)),
1355  _isInteger_(std::move(src._isInteger_)) {
1356  GUM_CONS_MOV(O3InstanceParameter);
1357  }

◆ ~O3InstanceParameter()

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

Definition at line 1359 of file O3prm.cpp.

1359 { GUM_DESTRUCTOR(O3InstanceParameter); }

Member Function Documentation

◆ isInteger() [1/2]

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

Definition at line 1387 of file O3prm.cpp.

1387 { return _isInteger_; }

◆ isInteger() [2/2]

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

Definition at line 1385 of file O3prm.cpp.

1385 { return _isInteger_; }

◆ name() [1/2]

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

Definition at line 1379 of file O3prm.cpp.

1379 { return _name_; }

◆ name() [2/2]

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

Definition at line 1377 of file O3prm.cpp.

1377 { return _name_; }

◆ operator=() [1/2]

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

Definition at line 1361 of file O3prm.cpp.

1361  {
1362  if (this == &src) { return *this; }
1363  _name_ = src._name_;
1364  _value_ = src._value_;
1365  _isInteger_ = src._isInteger_;
1366  return *this;
1367  }

◆ operator=() [2/2]

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

Definition at line 1369 of file O3prm.cpp.

1369  {
1370  if (this == &src) { return *this; }
1371  _name_ = std::move(src._name_);
1372  _value_ = std::move(src._value_);
1373  _isInteger_ = std::move(src._isInteger_);
1374  return *this;
1375  }

◆ value() [1/2]

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

Definition at line 1383 of file O3prm.cpp.

1383 { return _value_; }

◆ value() [2/2]

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

Definition at line 1381 of file O3prm.cpp.

1381 { return _value_; }

Member Data Documentation

◆ _isInteger_

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

Definition at line 778 of file O3prm.h.

◆ _name_

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

Definition at line 776 of file O3prm.h.

◆ _value_

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

Definition at line 777 of file O3prm.h.


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