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

Public Member Functions

 O3Float ()
 
 O3Float (const O3Position &pos, float value)
 
 O3Float (const O3Float &src)
 
 O3Float (O3Float &&src)
 
 ~O3Float ()
 
O3Floatoperator= (const O3Float &src)
 
O3Floatoperator= (O3Float &&src)
 
O3Positionposition ()
 
const O3Positionposition () const
 
float & value ()
 
float value () const
 

Detailed Description

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

Definition at line 113 of file O3prm.h.

Constructor & Destructor Documentation

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

Definition at line 121 of file O3prm.cpp.

121 { GUM_CONSTRUCTOR(O3Float); }
gum::prm::o3prm::O3Float::O3Float ( const O3Position pos,
float  value 
)

Definition at line 123 of file O3prm.cpp.

123  :
124  __pos(pos), __value(value) {
125  GUM_CONSTRUCTOR(O3Float);
126  }
O3Position __pos
Definition: O3prm.h:131
gum::prm::o3prm::O3Float::O3Float ( const O3Float src)

Definition at line 128 of file O3prm.cpp.

128  :
129  __pos(src.__pos), __value(src.__value) {
130  GUM_CONS_CPY(O3Float);
131  }
O3Position __pos
Definition: O3prm.h:131
gum::prm::o3prm::O3Float::O3Float ( O3Float &&  src)

Definition at line 133 of file O3prm.cpp.

133  :
134  __pos(std::move(src.__pos)), __value(std::move(src.__value)) {
135  GUM_CONS_MOV(O3Float);
136  }
O3Position __pos
Definition: O3prm.h:131
gum::prm::o3prm::O3Float::~O3Float ( )

Definition at line 138 of file O3prm.cpp.

138 { GUM_DESTRUCTOR(O3Float); }

Member Function Documentation

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

Definition at line 140 of file O3prm.cpp.

References __pos, and __value.

140  {
141  if (this == &src) { return *this; }
142  __pos = src.__pos;
143  __value = src.__value;
144  return *this;
145  }
O3Position __pos
Definition: O3prm.h:131
O3Float & gum::prm::o3prm::O3Float::operator= ( O3Float &&  src)

Definition at line 147 of file O3prm.cpp.

References __pos, and __value.

147  {
148  if (this == &src) { return *this; }
149  __pos = std::move(src.__pos);
150  __value = std::move(src.__value);
151  return *this;
152  }
O3Position __pos
Definition: O3prm.h:131
O3Position & gum::prm::o3prm::O3Float::position ( )

Definition at line 155 of file O3prm.cpp.

References __pos.

155 { return __pos; }
O3Position __pos
Definition: O3prm.h:131
const O3Position & gum::prm::o3prm::O3Float::position ( ) const

Definition at line 154 of file O3prm.cpp.

References __pos.

154 { return __pos; }
O3Position __pos
Definition: O3prm.h:131
float & gum::prm::o3prm::O3Float::value ( )

Definition at line 158 of file O3prm.cpp.

References __value.

158 { return __value; }
float gum::prm::o3prm::O3Float::value ( ) const

Definition at line 157 of file O3prm.cpp.

References __value.

157 { return __value; }

Member Data Documentation

O3Position gum::prm::o3prm::O3Float::__pos
private

Definition at line 131 of file O3prm.h.

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

float gum::prm::o3prm::O3Float::__value
private

Definition at line 132 of file O3prm.h.

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


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