aGrUM  0.13.2
gum::prm::o3prm::O3InterfaceElement Class Reference

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

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

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

Public Member Functions

 O3InterfaceElement ()
 
 O3InterfaceElement (const O3Label &type, const O3Label &name, bool isArray)
 
 O3InterfaceElement (const O3InterfaceElement &src)
 
 O3InterfaceElement (O3InterfaceElement &&src)
 
 ~O3InterfaceElement ()
 
O3InterfaceElementoperator= (const O3InterfaceElement &src)
 
O3InterfaceElementoperator= (O3InterfaceElement &&src)
 
O3Labeltype ()
 
const O3Labeltype () const
 
O3Labelname ()
 
const O3Labelname () const
 
boolisArray ()
 
bool isArray () const
 

Detailed Description

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

Definition at line 321 of file O3prm.h.

Constructor & Destructor Documentation

gum::prm::o3prm::O3InterfaceElement::O3InterfaceElement ( )

Definition at line 513 of file O3prm.cpp.

513  : __isArray(false) {
514  GUM_CONSTRUCTOR(O3InterfaceElement);
515  }
gum::prm::o3prm::O3InterfaceElement::O3InterfaceElement ( const O3Label type,
const O3Label name,
bool  isArray 
)

Definition at line 517 of file O3prm.cpp.

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

Definition at line 525 of file O3prm.cpp.

525  :
526  __type(src.__type), __name(src.__name), __isArray(src.__isArray) {
527  GUM_CONS_CPY(O3InterfaceElement);
528  }
gum::prm::o3prm::O3InterfaceElement::O3InterfaceElement ( O3InterfaceElement &&  src)

Definition at line 530 of file O3prm.cpp.

530  :
531  __type(std::move(src.__type)), __name(std::move(src.__name)),
532  __isArray(std::move(src.__isArray)) {
533  GUM_CONS_MOV(O3InterfaceElement);
534  }
gum::prm::o3prm::O3InterfaceElement::~O3InterfaceElement ( )

Definition at line 536 of file O3prm.cpp.

References operator=().

536  {
537  GUM_DESTRUCTOR(O3InterfaceElement);
538  }

+ Here is the call graph for this function:

Member Function Documentation

bool & gum::prm::o3prm::O3InterfaceElement::isArray ( )

Definition at line 563 of file O3prm.cpp.

References __isArray.

Referenced by gum::prm::o3prm::O3InterfaceFactory< GUM_SCALAR >::__checkInterfaceElement().

563 { return __isArray; }

+ Here is the caller graph for this function:

bool gum::prm::o3prm::O3InterfaceElement::isArray ( ) const

Definition at line 564 of file O3prm.cpp.

References __isArray.

564 { return __isArray; }
O3Label & gum::prm::o3prm::O3InterfaceElement::name ( )
const O3Label & gum::prm::o3prm::O3InterfaceElement::name ( ) const

Definition at line 561 of file O3prm.cpp.

References __name.

561 { return __name; }
O3InterfaceElement & gum::prm::o3prm::O3InterfaceElement::operator= ( const O3InterfaceElement src)

Definition at line 541 of file O3prm.cpp.

References __isArray, __name, and __type.

Referenced by ~O3InterfaceElement().

541  {
542  if (this == &src) { return *this; }
543  __type = src.__type;
544  __name = src.__name;
545  __isArray = src.__isArray;
546  return *this;
547  }

+ Here is the caller graph for this function:

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

Definition at line 549 of file O3prm.cpp.

References __isArray, __name, and __type.

549  {
550  if (this == &src) { return *this; }
551  __type = std::move(src.__type);
552  __name = std::move(src.__name);
553  __isArray = std::move(src.__isArray);
554  return *this;
555  }
O3Label & gum::prm::o3prm::O3InterfaceElement::type ( )
const O3Label & gum::prm::o3prm::O3InterfaceElement::type ( ) const

Definition at line 558 of file O3prm.cpp.

References __type.

558 { return __type; }

Member Data Documentation

bool gum::prm::o3prm::O3InterfaceElement::__isArray
private

Definition at line 344 of file O3prm.h.

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

O3Label gum::prm::o3prm::O3InterfaceElement::__name
private

Definition at line 343 of file O3prm.h.

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

O3Label gum::prm::o3prm::O3InterfaceElement::__type
private

Definition at line 342 of file O3prm.h.

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


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