aGrUM  0.14.2
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 1318 of file O3prm.cpp.

1318  : __isInteger(false) {
1319  GUM_CONSTRUCTOR(O3InstanceParameter);
1320  }

◆ O3InstanceParameter() [2/3]

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

Definition at line 1322 of file O3prm.cpp.

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

◆ O3InstanceParameter() [3/3]

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

Definition at line 1327 of file O3prm.cpp.

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

◆ ~O3InstanceParameter()

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

Definition at line 1333 of file O3prm.cpp.

References operator=().

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

Member Function Documentation

◆ isInteger() [1/2]

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

Definition at line 1365 of file O3prm.cpp.

References __isInteger.

1365 { return __isInteger; }

◆ isInteger() [2/2]

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

Definition at line 1363 of file O3prm.cpp.

References __isInteger.

1363 { return __isInteger; }

◆ name() [1/2]

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

Definition at line 1357 of file O3prm.cpp.

References __name.

1357 { return __name; }

◆ name() [2/2]

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

Definition at line 1355 of file O3prm.cpp.

References __name.

1355 { return __name; }

◆ operator=() [1/2]

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

Definition at line 1338 of file O3prm.cpp.

References __isInteger, __name, and __value.

Referenced by ~O3InstanceParameter().

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

◆ operator=() [2/2]

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

Definition at line 1347 of file O3prm.cpp.

References __isInteger, __name, and __value.

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

◆ value() [1/2]

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

Definition at line 1361 of file O3prm.cpp.

References __value.

1361 { return __value; }

◆ value() [2/2]

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

Definition at line 1359 of file O3prm.cpp.

References __value.

1359 { return __value; }

Member Data Documentation

◆ __isInteger

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

Definition at line 778 of file O3prm.h.

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

◆ __name

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

Definition at line 776 of file O3prm.h.

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

◆ __value

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

Definition at line 777 of file O3prm.h.

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


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