aGrUM  0.16.0
gum::prm::o3prm::O3Label Class Reference

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

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

+ Collaboration diagram for gum::prm::o3prm::O3Label:

Public Member Functions

 O3Label ()
 
 O3Label (const O3Position &pos, const std::string &label)
 
 O3Label (const O3Label &src)
 
 O3Label (O3Label &&src)
 
 ~O3Label ()
 
O3Labeloperator= (const O3Label &src)
 
O3Labeloperator= (O3Label &&src)
 
O3Positionposition ()
 
const O3Positionposition () const
 
std::string & label ()
 
const std::string & label () const
 

Detailed Description

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

Definition at line 173 of file O3prm.h.

Constructor & Destructor Documentation

◆ O3Label() [1/4]

gum::prm::o3prm::O3Label::O3Label ( )

Definition at line 205 of file O3prm.cpp.

205 : __pos(), __label() { GUM_CONSTRUCTOR(O3Label); }
O3Position __pos
Definition: O3prm.h:191
std::string __label
Definition: O3prm.h:192

◆ O3Label() [2/4]

gum::prm::o3prm::O3Label::O3Label ( const O3Position pos,
const std::string &  label 
)

Definition at line 207 of file O3prm.cpp.

207  :
208  __pos(pos), __label(label) {
209  GUM_CONSTRUCTOR(O3Label);
210  }
std::string & label()
Definition: O3prm.cpp:242
O3Position __pos
Definition: O3prm.h:191
std::string __label
Definition: O3prm.h:192

◆ O3Label() [3/4]

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

Definition at line 212 of file O3prm.cpp.

212  :
213  __pos(src.__pos), __label(src.__label) {
214  GUM_CONS_CPY(O3Label);
215  }
O3Position __pos
Definition: O3prm.h:191
std::string __label
Definition: O3prm.h:192

◆ O3Label() [4/4]

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

Definition at line 217 of file O3prm.cpp.

217  :
218  __pos(std::move(src.__pos)), __label(std::move(src.__label)) {
219  GUM_CONS_MOV(O3Label);
220  }
O3Position __pos
Definition: O3prm.h:191
std::string __label
Definition: O3prm.h:192

◆ ~O3Label()

gum::prm::o3prm::O3Label::~O3Label ( )

Definition at line 222 of file O3prm.cpp.

222 { GUM_DESTRUCTOR(O3Label); }

Member Function Documentation

◆ label() [1/2]

std::string & gum::prm::o3prm::O3Label::label ( )

Definition at line 242 of file O3prm.cpp.

References __label.

Referenced by gum::prm::o3prm::O3SystemFactory< GUM_SCALAR >::__addAssignments(), gum::prm::o3prm::O3SystemFactory< GUM_SCALAR >::__addIncrements(), gum::prm::o3prm::O3ClassFactory< GUM_SCALAR >::__addReferenceSlots(), gum::prm::o3prm::O3ClassFactory< GUM_SCALAR >::__checkAggParameters(), gum::prm::o3prm::O3ClassFactory< GUM_SCALAR >::__checkAggParents(), gum::prm::o3prm::O3ClassFactory< GUM_SCALAR >::__checkAggTypeLegality(), gum::prm::o3prm::O3ClassFactory< GUM_SCALAR >::__checkAttributeForCompletion(), gum::prm::o3prm::O3ClassFactory< GUM_SCALAR >::__checkAttributeForDeclaration(), gum::prm::o3prm::O3InterfaceFactory< GUM_SCALAR >::__checkAttributeOverloadLegality(), gum::prm::o3prm::O3InterfaceFactory< GUM_SCALAR >::__checkCyclicReference(), gum::prm::o3prm::O3ClassFactory< GUM_SCALAR >::__checkImplementation(), gum::prm::o3prm::O3InterfaceFactory< GUM_SCALAR >::__checkInterfaceElement(), gum::prm::o3prm::O3TypeFactory< GUM_SCALAR >::__checkLabels(), gum::prm::o3prm::O3ClassFactory< GUM_SCALAR >::__checkLocalParent(), gum::prm::o3prm::O3InterfaceFactory< GUM_SCALAR >::__checkOverloadLegality(), gum::prm::o3prm::O3ClassFactory< GUM_SCALAR >::__checkParent(), gum::prm::o3prm::O3ClassFactory< GUM_SCALAR >::__checkRawCPT(), gum::prm::o3prm::O3InterfaceFactory< GUM_SCALAR >::__checkReferenceOverloadLegality(), gum::prm::o3prm::O3ClassFactory< GUM_SCALAR >::__checkReferenceSlot(), gum::prm::o3prm::O3ClassFactory< GUM_SCALAR >::__declareAggregates(), gum::prm::o3prm::O3ClassFactory< GUM_SCALAR >::__declareAttribute(), gum::prm::o3prm::O3TypeFactory< GUM_SCALAR >::__isPrimitiveType(), gum::prm::o3prm::O3prmReader< double >::__parseImport(), gum::prm::o3prm::O3ClassFactory< GUM_SCALAR >::__resolveSlotChain(), gum::prm::o3prm::O3ClassFactory< GUM_SCALAR >::buildParameters(), gum::prm::o3prm::O3ClassFactory< GUM_SCALAR >::buildReferenceSlots(), gum::prm::o3prm::O3ClassFactory< GUM_SCALAR >::completeAggregates(), gum::prm::o3prm::O3ClassFactory< GUM_SCALAR >::completeAttributes(), gum::prm::o3prm::O3ClassFactory< GUM_SCALAR >::declareAggregates(), gum::prm::o3prm::O3ClassFactory< GUM_SCALAR >::declareAttributes(), gum::prm::o3prm::operator<<(), gum::prm::o3prm::O3NameSolver< GUM_SCALAR >::resolveClass(), gum::prm::o3prm::O3NameSolver< GUM_SCALAR >::resolveClassElement(), gum::prm::o3prm::O3NameSolver< GUM_SCALAR >::resolveInterface(), gum::prm::o3prm::O3NameSolver< GUM_SCALAR >::resolveSlotType(), and gum::prm::o3prm::O3NameSolver< GUM_SCALAR >::resolveType().

242 { return __label; }
std::string __label
Definition: O3prm.h:192

◆ label() [2/2]

const std::string & gum::prm::o3prm::O3Label::label ( ) const

Definition at line 241 of file O3prm.cpp.

References __label.

241 { return __label; }
std::string __label
Definition: O3prm.h:192

◆ operator=() [1/2]

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

Definition at line 224 of file O3prm.cpp.

References __label, and __pos.

224  {
225  if (this == &src) { return *this; }
226  __pos = src.__pos;
227  __label = src.__label;
228  return *this;
229  }
O3Position __pos
Definition: O3prm.h:191
std::string __label
Definition: O3prm.h:192

◆ operator=() [2/2]

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

Definition at line 231 of file O3prm.cpp.

References __label, and __pos.

231  {
232  if (this == &src) { return *this; }
233  __pos = std::move(src.__pos);
234  __label = std::move(src.__label);
235  return *this;
236  }
O3Position __pos
Definition: O3prm.h:191
std::string __label
Definition: O3prm.h:192

◆ position() [1/2]

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

Definition at line 239 of file O3prm.cpp.

References __pos.

Referenced by gum::prm::o3prm::O3prmReader< double >::__parseImport().

239 { return __pos; }
O3Position __pos
Definition: O3prm.h:191
+ Here is the caller graph for this function:

◆ position() [2/2]

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

Definition at line 238 of file O3prm.cpp.

References __pos.

238 { return __pos; }
O3Position __pos
Definition: O3prm.h:191

Member Data Documentation

◆ __label

std::string gum::prm::o3prm::O3Label::__label
private

Definition at line 192 of file O3prm.h.

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

◆ __pos

O3Position gum::prm::o3prm::O3Label::__pos
private

Definition at line 191 of file O3prm.h.

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


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