aGrUM  0.16.0
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 323 of file O3prm.h.

Constructor & Destructor Documentation

◆ O3InterfaceElement() [1/4]

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

Definition at line 515 of file O3prm.cpp.

515  : __isArray(false) {
516  GUM_CONSTRUCTOR(O3InterfaceElement);
517  }

◆ O3InterfaceElement() [2/4]

gum::prm::o3prm::O3InterfaceElement::O3InterfaceElement ( const O3Label type,
const O3Label name,
bool  isArray 
)

Definition at line 519 of file O3prm.cpp.

◆ O3InterfaceElement() [3/4]

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

Definition at line 527 of file O3prm.cpp.

527  :
528  __type(src.__type), __name(src.__name), __isArray(src.__isArray) {
529  GUM_CONS_CPY(O3InterfaceElement);
530  }

◆ O3InterfaceElement() [4/4]

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

Definition at line 532 of file O3prm.cpp.

532  :
533  __type(std::move(src.__type)), __name(std::move(src.__name)),
534  __isArray(std::move(src.__isArray)) {
535  GUM_CONS_MOV(O3InterfaceElement);
536  }

◆ ~O3InterfaceElement()

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

Definition at line 538 of file O3prm.cpp.

References operator=().

538  {
539  GUM_DESTRUCTOR(O3InterfaceElement);
540  }
+ Here is the call graph for this function:

Member Function Documentation

◆ isArray() [1/2]

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

Definition at line 565 of file O3prm.cpp.

References __isArray.

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

565 { return __isArray; }
+ Here is the caller graph for this function:

◆ isArray() [2/2]

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

Definition at line 566 of file O3prm.cpp.

References __isArray.

566 { return __isArray; }

◆ name() [1/2]

O3Label & gum::prm::o3prm::O3InterfaceElement::name ( )

◆ name() [2/2]

const O3Label & gum::prm::o3prm::O3InterfaceElement::name ( ) const

Definition at line 563 of file O3prm.cpp.

References __name.

563 { return __name; }

◆ operator=() [1/2]

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

Definition at line 543 of file O3prm.cpp.

References __isArray, __name, and __type.

Referenced by ~O3InterfaceElement().

543  {
544  if (this == &src) { return *this; }
545  __type = src.__type;
546  __name = src.__name;
547  __isArray = src.__isArray;
548  return *this;
549  }
+ Here is the caller graph for this function:

◆ operator=() [2/2]

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

Definition at line 551 of file O3prm.cpp.

References __isArray, __name, and __type.

551  {
552  if (this == &src) { return *this; }
553  __type = std::move(src.__type);
554  __name = std::move(src.__name);
555  __isArray = std::move(src.__isArray);
556  return *this;
557  }

◆ type() [1/2]

O3Label & gum::prm::o3prm::O3InterfaceElement::type ( )

◆ type() [2/2]

const O3Label & gum::prm::o3prm::O3InterfaceElement::type ( ) const

Definition at line 560 of file O3prm.cpp.

References __type.

560 { return __type; }

Member Data Documentation

◆ __isArray

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

Definition at line 346 of file O3prm.h.

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

◆ __name

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

Definition at line 345 of file O3prm.h.

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

◆ __type

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

Definition at line 344 of file O3prm.h.

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


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