aGrUM 3.2.0
a C++ library for (probabilistic) graphical models
gum::prm::o3prm::O3ReferenceSlot Class Reference

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

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

Collaboration diagram for gum::prm::o3prm::O3ReferenceSlot:
[legend]

Public Member Functions

 O3ReferenceSlot ()
 O3ReferenceSlot (const O3Label &type, const O3Label &name, bool isArray)
 O3ReferenceSlot (const O3ReferenceSlot &src)
 O3ReferenceSlot (O3ReferenceSlot &&src)
 ~O3ReferenceSlot ()
O3ReferenceSlot & operator= (const O3ReferenceSlot &src)
O3ReferenceSlot & operator= (O3ReferenceSlot &&src)
O3Label & type ()
const O3Label & type () const
O3Label & name ()
const O3Label & name () const
bool & isArray ()
bool isArray () const

Private Attributes

O3Label _type_
O3Label _name_
bool _isArray_

Detailed Description

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

Definition at line 455 of file O3prm.h.

Constructor & Destructor Documentation

◆ O3ReferenceSlot() [1/4]

gum::prm::o3prm::O3ReferenceSlot::O3ReferenceSlot ( )

Definition at line 1049 of file O3prm.cpp.

1049 {
1050 GUM_CONSTRUCTOR(O3ReferenceSlot);
1051 ;
1052 }

References O3ReferenceSlot().

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

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

◆ O3ReferenceSlot() [2/4]

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

Definition at line 1054 of file O3prm.cpp.

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

Here is the call graph for this function:

◆ O3ReferenceSlot() [3/4]

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

Definition at line 1059 of file O3prm.cpp.

1059 :
1060 _type_(src._type_), _name_(src._name_), _isArray_(src._isArray_) {
1061 GUM_CONS_CPY(O3ReferenceSlot);
1062 }

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

Here is the call graph for this function:

◆ O3ReferenceSlot() [4/4]

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

Definition at line 1064 of file O3prm.cpp.

1064 :
1065 _type_(std::move(src._type_)), _name_(std::move(src._name_)),
1066 _isArray_(std::move(src._isArray_)) {
1067 GUM_CONS_MOV(O3ReferenceSlot);
1068 }

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

Here is the call graph for this function:

◆ ~O3ReferenceSlot()

gum::prm::o3prm::O3ReferenceSlot::~O3ReferenceSlot ( )

Definition at line 1070 of file O3prm.cpp.

1070 {
1071 GUM_DESTRUCTOR(O3ReferenceSlot);
1072 ;
1073 }

References O3ReferenceSlot().

Here is the call graph for this function:

Member Function Documentation

◆ isArray() [1/2]

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

Definition at line 1099 of file O3prm.cpp.

1099{ return _isArray_; }

References _isArray_.

Referenced by O3ReferenceSlot().

Here is the caller graph for this function:

◆ isArray() [2/2]

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

Definition at line 1101 of file O3prm.cpp.

1101{ return _isArray_; }

References _isArray_.

◆ name() [1/2]

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

Definition at line 1095 of file O3prm.cpp.

1095{ return _name_; }

References _name_.

Referenced by O3ReferenceSlot(), and gum::prm::o3prm::O3ClassFactory< GUM_SCALAR >::_checkReferenceSlot_().

Here is the caller graph for this function:

◆ name() [2/2]

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

Definition at line 1097 of file O3prm.cpp.

1097{ return _name_; }

References _name_.

◆ operator=() [1/2]

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

Definition at line 1075 of file O3prm.cpp.

1075 {
1076 if (this == &src) { return *this; }
1077 _type_ = src._type_;
1078 _name_ = src._name_;
1079 _isArray_ = src._isArray_;
1080 return *this;
1081 }

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

Here is the call graph for this function:

◆ operator=() [2/2]

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

Definition at line 1083 of file O3prm.cpp.

1083 {
1084 if (this == &src) { return *this; }
1085 _type_ = std::move(src._type_);
1086 _name_ = std::move(src._name_);
1087 _isArray_ = std::move(src._isArray_);
1088 return *this;
1089 }

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

Here is the call graph for this function:

◆ type() [1/2]

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

Definition at line 1091 of file O3prm.cpp.

1091{ return _type_; }

References _type_.

Referenced by O3ReferenceSlot(), and gum::prm::o3prm::O3ClassFactory< GUM_SCALAR >::_checkReferenceSlot_().

Here is the caller graph for this function:

◆ type() [2/2]

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

Definition at line 1093 of file O3prm.cpp.

1093{ return _type_; }

References _type_.

Member Data Documentation

◆ _isArray_

bool gum::prm::o3prm::O3ReferenceSlot::_isArray_
private

◆ _name_

O3Label gum::prm::o3prm::O3ReferenceSlot::_name_
private

◆ _type_

O3Label gum::prm::o3prm::O3ReferenceSlot::_type_
private

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