aGrUM  0.20.2
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 762 of file O3prm.h.

Constructor & Destructor Documentation

◆ O3InstanceParameter() [1/3]

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

Definition at line 1319 of file O3prm.cpp.

1319  : isInteger__(false) {
1320  GUM_CONSTRUCTOR(O3InstanceParameter);
1321  }

◆ O3InstanceParameter() [2/3]

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

Definition at line 1323 of file O3prm.cpp.

1323  :
1324  name__(src.name__), value__(src.value__), isInteger__(src.isInteger__) {
1325  GUM_CONS_CPY(O3InstanceParameter);
1326  }

◆ O3InstanceParameter() [3/3]

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

Definition at line 1328 of file O3prm.cpp.

1328  :
1329  name__(std::move(src.name__)), value__(std::move(src.value__)),
1330  isInteger__(std::move(src.isInteger__)) {
1331  GUM_CONS_MOV(O3InstanceParameter);
1332  }

◆ ~O3InstanceParameter()

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

Definition at line 1334 of file O3prm.cpp.

1334  {
1335  GUM_DESTRUCTOR(O3InstanceParameter);
1336  }

Member Function Documentation

◆ isInteger() [1/2]

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

Definition at line 1366 of file O3prm.cpp.

1366 { return isInteger__; }

◆ isInteger() [2/2]

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

Definition at line 1364 of file O3prm.cpp.

1364 { return isInteger__; }

◆ name() [1/2]

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

Definition at line 1358 of file O3prm.cpp.

1358 { return name__; }

◆ name() [2/2]

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

Definition at line 1356 of file O3prm.cpp.

1356 { return name__; }

◆ operator=() [1/2]

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

Definition at line 1339 of file O3prm.cpp.

1339  {
1340  if (this == &src) { return *this; }
1341  name__ = src.name__;
1342  value__ = src.value__;
1343  isInteger__ = src.isInteger__;
1344  return *this;
1345  }

◆ operator=() [2/2]

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

Definition at line 1348 of file O3prm.cpp.

1348  {
1349  if (this == &src) { return *this; }
1350  name__ = std::move(src.name__);
1351  value__ = std::move(src.value__);
1352  isInteger__ = std::move(src.isInteger__);
1353  return *this;
1354  }

◆ value() [1/2]

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

Definition at line 1362 of file O3prm.cpp.

1362 { return value__; }

◆ value() [2/2]

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

Definition at line 1360 of file O3prm.cpp.

1360 { return value__; }

Member Data Documentation

◆ isInteger__

bool gum::prm::o3prm::O3InstanceParameter::isInteger__
private

Definition at line 784 of file O3prm.h.

◆ name__

O3Label gum::prm::o3prm::O3InstanceParameter::name__
private

Definition at line 782 of file O3prm.h.

◆ value__

O3Float gum::prm::o3prm::O3InstanceParameter::value__
private

Definition at line 783 of file O3prm.h.


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