aGrUM 3.1.1
a C++ library for (probabilistic) graphical models
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

Private Attributes

O3Label _type_
O3Label _name_
bool _isArray_

Detailed Description

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

Definition at line 344 of file O3prm.h.

Constructor & Destructor Documentation

◆ O3InterfaceElement() [1/4]

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

Definition at line 590 of file O3prm.cpp.

590 : _isArray_(false) {
591 GUM_CONSTRUCTOR(O3InterfaceElement);
592 }

References O3InterfaceElement(), and _isArray_.

Referenced by O3InterfaceElement(), O3InterfaceElement(), O3InterfaceElement(), O3InterfaceElement(), ~O3InterfaceElement(), operator=(), and operator=().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ O3InterfaceElement() [2/4]

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

Definition at line 594 of file O3prm.cpp.

References O3InterfaceElement(), _isArray_, _name_, _type_, isArray(), name(), and type().

Here is the call graph for this function:

◆ O3InterfaceElement() [3/4]

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

Definition at line 601 of file O3prm.cpp.

601 :
602 _type_(src._type_), _name_(src._name_), _isArray_(src._isArray_) {
603 GUM_CONS_CPY(O3InterfaceElement);
604 }

References O3InterfaceElement(), _isArray_, _name_, and _type_.

Here is the call graph for this function:

◆ O3InterfaceElement() [4/4]

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

Definition at line 606 of file O3prm.cpp.

606 :
607 _type_(std::move(src._type_)), _name_(std::move(src._name_)),
608 _isArray_(std::move(src._isArray_)) {
609 GUM_CONS_MOV(O3InterfaceElement);
610 }

References O3InterfaceElement(), _isArray_, _name_, and _type_.

Here is the call graph for this function:

◆ ~O3InterfaceElement()

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

Definition at line 612 of file O3prm.cpp.

612{ GUM_DESTRUCTOR(O3InterfaceElement); }

References O3InterfaceElement().

Here is the call graph for this function:

Member Function Documentation

◆ isArray() [1/2]

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

Definition at line 638 of file O3prm.cpp.

638{ return _isArray_; }

References _isArray_.

Referenced by O3InterfaceElement(), and gum::prm::o3prm::O3InterfaceFactory< GUM_SCALAR >::_checkInterfaceElement_().

Here is the caller graph for this function:

◆ isArray() [2/2]

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

Definition at line 640 of file O3prm.cpp.

640{ return _isArray_; }

References _isArray_.

◆ name() [1/2]

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

◆ name() [2/2]

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

Definition at line 636 of file O3prm.cpp.

636{ return _name_; }

References _name_.

◆ operator=() [1/2]

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

Definition at line 614 of file O3prm.cpp.

614 {
615 if (this == &src) { return *this; }
616 _type_ = src._type_;
617 _name_ = src._name_;
618 _isArray_ = src._isArray_;
619 return *this;
620 }

References O3InterfaceElement(), _isArray_, _name_, and _type_.

Here is the call graph for this function:

◆ operator=() [2/2]

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

Definition at line 622 of file O3prm.cpp.

622 {
623 if (this == &src) { return *this; }
624 _type_ = std::move(src._type_);
625 _name_ = std::move(src._name_);
626 _isArray_ = std::move(src._isArray_);
627 return *this;
628 }

References O3InterfaceElement(), _isArray_, _name_, and _type_.

Here is the call graph for this function:

◆ type() [1/2]

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

◆ type() [2/2]

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

Definition at line 632 of file O3prm.cpp.

632{ return _type_; }

References _type_.

Member Data Documentation

◆ _isArray_

bool gum::prm::o3prm::O3InterfaceElement::_isArray_
private

◆ _name_

O3Label gum::prm::o3prm::O3InterfaceElement::_name_
private

◆ _type_

O3Label gum::prm::o3prm::O3InterfaceElement::_type_
private

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