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

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

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

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

Public Member Functions

 O3Float ()
 O3Float (const O3Position &pos, float value)
 O3Float (const O3Float &src)
 O3Float (O3Float &&src)
 ~O3Float ()
O3Float & operator= (const O3Float &src)
O3Float & operator= (O3Float &&src)
O3Position & position ()
const O3Position & position () const
float & value ()
float value () const

Private Attributes

O3Position _pos_
float _value_

Detailed Description

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

Definition at line 136 of file O3prm.h.

Constructor & Destructor Documentation

◆ O3Float() [1/4]

gum::prm::o3prm::O3Float::O3Float ( )

Definition at line 152 of file O3prm.cpp.

152 {
153 GUM_CONSTRUCTOR(O3Float);
154 ;
155 }

References O3Float().

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

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

◆ O3Float() [2/4]

gum::prm::o3prm::O3Float::O3Float ( const O3Position & pos,
float value )

Definition at line 157 of file O3prm.cpp.

157 : _pos_(pos), _value_(value) {
158 GUM_CONSTRUCTOR(O3Float);
159 }

References O3Float(), _pos_, _value_, and value().

Here is the call graph for this function:

◆ O3Float() [3/4]

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

Definition at line 161 of file O3prm.cpp.

161 : _pos_(src._pos_), _value_(src._value_) {
162 GUM_CONS_CPY(O3Float);
163 }

References O3Float(), _pos_, and _value_.

Here is the call graph for this function:

◆ O3Float() [4/4]

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

Definition at line 165 of file O3prm.cpp.

165 :
166 _pos_(std::move(src._pos_)), _value_(std::move(src._value_)) {
167 GUM_CONS_MOV(O3Float);
168 }

References O3Float(), _pos_, and _value_.

Here is the call graph for this function:

◆ ~O3Float()

gum::prm::o3prm::O3Float::~O3Float ( )

Definition at line 170 of file O3prm.cpp.

170 {
171 GUM_DESTRUCTOR(O3Float);
172 ;
173 }

References O3Float().

Here is the call graph for this function:

Member Function Documentation

◆ operator=() [1/2]

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

Definition at line 175 of file O3prm.cpp.

175 {
176 if (this == &src) { return *this; }
177 _pos_ = src._pos_;
178 _value_ = src._value_;
179 return *this;
180 }

References O3Float(), _pos_, and _value_.

Here is the call graph for this function:

◆ operator=() [2/2]

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

Definition at line 182 of file O3prm.cpp.

182 {
183 if (this == &src) { return *this; }
184 _pos_ = std::move(src._pos_);
185 _value_ = std::move(src._value_);
186 return *this;
187 }

References O3Float(), _pos_, and _value_.

Here is the call graph for this function:

◆ position() [1/2]

O3Position & gum::prm::o3prm::O3Float::position ( )

Definition at line 191 of file O3prm.cpp.

191{ return _pos_; }

References _pos_.

◆ position() [2/2]

const O3Position & gum::prm::o3prm::O3Float::position ( ) const

Definition at line 189 of file O3prm.cpp.

189{ return _pos_; }

References _pos_.

◆ value() [1/2]

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

Definition at line 195 of file O3prm.cpp.

195{ return _value_; }

References _value_.

Referenced by O3Float().

Here is the caller graph for this function:

◆ value() [2/2]

float gum::prm::o3prm::O3Float::value ( ) const

Definition at line 193 of file O3prm.cpp.

193{ return _value_; }

References _value_.

Member Data Documentation

◆ _pos_

O3Position gum::prm::o3prm::O3Float::_pos_
private

Definition at line 154 of file O3prm.h.

Referenced by O3Float(), O3Float(), O3Float(), operator=(), operator=(), position(), and position().

◆ _value_

float gum::prm::o3prm::O3Float::_value_
private

Definition at line 155 of file O3prm.h.

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


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