aGrUM  0.16.0
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 758 of file O3prm.h.

Constructor & Destructor Documentation

◆ O3InstanceParameter() [1/3]

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

Definition at line 1320 of file O3prm.cpp.

1320  : __isInteger(false) {
1321  GUM_CONSTRUCTOR(O3InstanceParameter);
1322  }

◆ O3InstanceParameter() [2/3]

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

Definition at line 1324 of file O3prm.cpp.

1324  :
1325  __name(src.__name), __value(src.__value), __isInteger(src.__isInteger) {
1326  GUM_CONS_CPY(O3InstanceParameter);
1327  }

◆ O3InstanceParameter() [3/3]

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

Definition at line 1329 of file O3prm.cpp.

1329  :
1330  __name(std::move(src.__name)), __value(std::move(src.__value)),
1331  __isInteger(std::move(src.__isInteger)) {
1332  GUM_CONS_MOV(O3InstanceParameter);
1333  }

◆ ~O3InstanceParameter()

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

Definition at line 1335 of file O3prm.cpp.

References operator=().

1335  {
1336  GUM_DESTRUCTOR(O3InstanceParameter);
1337  }
+ Here is the call graph for this function:

Member Function Documentation

◆ isInteger() [1/2]

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

Definition at line 1367 of file O3prm.cpp.

References __isInteger.

1367 { return __isInteger; }

◆ isInteger() [2/2]

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

Definition at line 1365 of file O3prm.cpp.

References __isInteger.

1365 { return __isInteger; }

◆ name() [1/2]

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

Definition at line 1359 of file O3prm.cpp.

References __name.

1359 { return __name; }

◆ name() [2/2]

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

Definition at line 1357 of file O3prm.cpp.

References __name.

1357 { return __name; }

◆ operator=() [1/2]

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

Definition at line 1340 of file O3prm.cpp.

References __isInteger, __name, and __value.

Referenced by ~O3InstanceParameter().

1340  {
1341  if (this == &src) { return *this; }
1342  __name = src.__name;
1343  __value = src.__value;
1344  __isInteger = src.__isInteger;
1345  return *this;
1346  }
+ Here is the caller graph for this function:

◆ operator=() [2/2]

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

Definition at line 1349 of file O3prm.cpp.

References __isInteger, __name, and __value.

1349  {
1350  if (this == &src) { return *this; }
1351  __name = std::move(src.__name);
1352  __value = std::move(src.__value);
1353  __isInteger = std::move(src.__isInteger);
1354  return *this;
1355  }

◆ value() [1/2]

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

Definition at line 1363 of file O3prm.cpp.

References __value.

1363 { return __value; }

◆ value() [2/2]

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

Definition at line 1361 of file O3prm.cpp.

References __value.

1361 { return __value; }

Member Data Documentation

◆ __isInteger

bool gum::prm::o3prm::O3InstanceParameter::__isInteger
private

Definition at line 780 of file O3prm.h.

Referenced by isInteger(), and operator=().

◆ __name

O3Label gum::prm::o3prm::O3InstanceParameter::__name
private

Definition at line 778 of file O3prm.h.

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

◆ __value

O3Float gum::prm::o3prm::O3InstanceParameter::__value
private

Definition at line 779 of file O3prm.h.

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


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