aGrUM  0.13.2
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 171 of file O3prm.h.

Constructor & Destructor Documentation

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

Definition at line 203 of file O3prm.cpp.

203 : __pos(), __label() { GUM_CONSTRUCTOR(O3Label); }
O3Position __pos
Definition: O3prm.h:189
std::string __label
Definition: O3prm.h:190
gum::prm::o3prm::O3Label::O3Label ( const O3Position pos,
const std::string &  label 
)

Definition at line 205 of file O3prm.cpp.

205  :
206  __pos(pos), __label(label) {
207  GUM_CONSTRUCTOR(O3Label);
208  }
std::string & label()
Definition: O3prm.cpp:240
O3Position __pos
Definition: O3prm.h:189
std::string __label
Definition: O3prm.h:190
gum::prm::o3prm::O3Label::O3Label ( const O3Label src)

Definition at line 210 of file O3prm.cpp.

210  :
211  __pos(src.__pos), __label(src.__label) {
212  GUM_CONS_CPY(O3Label);
213  }
O3Position __pos
Definition: O3prm.h:189
std::string __label
Definition: O3prm.h:190
gum::prm::o3prm::O3Label::O3Label ( O3Label &&  src)

Definition at line 215 of file O3prm.cpp.

215  :
216  __pos(std::move(src.__pos)), __label(std::move(src.__label)) {
217  GUM_CONS_MOV(O3Label);
218  }
O3Position __pos
Definition: O3prm.h:189
std::string __label
Definition: O3prm.h:190
gum::prm::o3prm::O3Label::~O3Label ( )

Definition at line 220 of file O3prm.cpp.

220 { GUM_DESTRUCTOR(O3Label); }

Member Function Documentation

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

Definition at line 240 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< GUM_SCALAR >::__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().

240 { return __label; }
std::string __label
Definition: O3prm.h:190
const std::string & gum::prm::o3prm::O3Label::label ( ) const

Definition at line 239 of file O3prm.cpp.

References __label.

239 { return __label; }
std::string __label
Definition: O3prm.h:190
O3Label & gum::prm::o3prm::O3Label::operator= ( const O3Label src)

Definition at line 222 of file O3prm.cpp.

References __label, and __pos.

222  {
223  if (this == &src) { return *this; }
224  __pos = src.__pos;
225  __label = src.__label;
226  return *this;
227  }
O3Position __pos
Definition: O3prm.h:189
std::string __label
Definition: O3prm.h:190
O3Label & gum::prm::o3prm::O3Label::operator= ( O3Label &&  src)

Definition at line 229 of file O3prm.cpp.

References __label, and __pos.

229  {
230  if (this == &src) { return *this; }
231  __pos = std::move(src.__pos);
232  __label = std::move(src.__label);
233  return *this;
234  }
O3Position __pos
Definition: O3prm.h:189
std::string __label
Definition: O3prm.h:190
O3Position & gum::prm::o3prm::O3Label::position ( )

Definition at line 237 of file O3prm.cpp.

References __pos.

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

237 { return __pos; }
O3Position __pos
Definition: O3prm.h:189

+ Here is the caller graph for this function:

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

Definition at line 236 of file O3prm.cpp.

References __pos.

236 { return __pos; }
O3Position __pos
Definition: O3prm.h:189

Member Data Documentation

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

Definition at line 190 of file O3prm.h.

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

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

Definition at line 189 of file O3prm.h.

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


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