![]() |
aGrUM 3.2.0
a C++ library for (probabilistic) graphical models
|
The O3Attribute is part of the AST of the O3PRM language. More...
#include <agrum/PRM/o3prm/O3prm.h>
Public Types | |
| using | O3LabelList = std::vector< O3Label > |
Public Member Functions | |
| O3Attribute () | |
| O3Attribute (const O3Label &type, const O3Label &name, const O3LabelList &parents) | |
| O3Attribute (const O3Attribute &src) | |
| O3Attribute (O3Attribute &&src) | |
| virtual | ~O3Attribute () |
| virtual O3Attribute & | operator= (const O3Attribute &src) |
| virtual O3Attribute & | operator= (O3Attribute &&src) |
| virtual O3Label & | type () |
| virtual const O3Label & | type () const |
| virtual O3Label & | name () |
| virtual const O3Label & | name () const |
| virtual O3LabelList & | parents () |
| virtual const O3LabelList & | parents () const |
| virtual std::unique_ptr< O3Attribute > | copy () const =0 |
Private Attributes | |
| O3Label | _type_ |
| O3Label | _name_ |
| O3LabelList | _parents_ |
The O3Attribute is part of the AST of the O3PRM language.
| using gum::prm::o3prm::O3Attribute::O3LabelList = std::vector< O3Label > |
| gum::prm::o3prm::O3Attribute::O3Attribute | ( | ) |
Definition at line 699 of file O3prm.cpp.
References O3Attribute().
Referenced by O3Attribute(), O3Attribute(), O3Attribute(), O3Attribute(), gum::prm::o3prm::O3RawCPT::O3RawCPT(), gum::prm::o3prm::O3RawCPT::O3RawCPT(), gum::prm::o3prm::O3RawCPT::O3RawCPT(), gum::prm::o3prm::O3RawCPT::O3RawCPT(), gum::prm::o3prm::O3RuleCPT::O3RuleCPT(), gum::prm::o3prm::O3RuleCPT::O3RuleCPT(), gum::prm::o3prm::O3RuleCPT::O3RuleCPT(), gum::prm::o3prm::O3RuleCPT::O3RuleCPT(), ~O3Attribute(), operator=(), and operator=().
| gum::prm::o3prm::O3Attribute::O3Attribute | ( | const O3Label & | type, |
| const O3Label & | name, | ||
| const O3LabelList & | parents ) |
Definition at line 704 of file O3prm.cpp.
References O3Attribute(), _name_, _parents_, _type_, name(), parents(), and type().
| gum::prm::o3prm::O3Attribute::O3Attribute | ( | const O3Attribute & | src | ) |
Definition at line 711 of file O3prm.cpp.
References O3Attribute(), _name_, _parents_, and _type_.
| gum::prm::o3prm::O3Attribute::O3Attribute | ( | O3Attribute && | src | ) |
Definition at line 716 of file O3prm.cpp.
References O3Attribute(), _name_, _parents_, and _type_.
|
virtual |
Definition at line 722 of file O3prm.cpp.
References O3Attribute().
|
pure virtual |
Implemented in gum::prm::o3prm::O3RawCPT, and gum::prm::o3prm::O3RuleCPT.
|
virtual |
Definition at line 747 of file O3prm.cpp.
References _name_.
Referenced by O3Attribute(), gum::prm::o3prm::O3RawCPT::O3RawCPT(), gum::prm::o3prm::O3RuleCPT::O3RuleCPT(), gum::prm::o3prm::O3ClassFactory< GUM_SCALAR >::_checkAttributeForDeclaration_(), gum::prm::o3prm::O3ClassFactory< GUM_SCALAR >::_checkRawCPT_(), and gum::prm::o3prm::O3ClassFactory< GUM_SCALAR >::_checkRuleCPTSumsTo1_().
|
virtual |
|
virtual |
Reimplemented in gum::prm::o3prm::O3RawCPT, and gum::prm::o3prm::O3RuleCPT.
Definition at line 727 of file O3prm.cpp.
References O3Attribute(), _name_, _parents_, and _type_.
Referenced by gum::prm::o3prm::O3RawCPT::operator=(), gum::prm::o3prm::O3RawCPT::operator=(), gum::prm::o3prm::O3RuleCPT::operator=(), and gum::prm::o3prm::O3RuleCPT::operator=().
|
virtual |
Reimplemented in gum::prm::o3prm::O3RawCPT, and gum::prm::o3prm::O3RuleCPT.
Definition at line 735 of file O3prm.cpp.
References O3Attribute(), _name_, _parents_, and _type_.
|
virtual |
Definition at line 751 of file O3prm.cpp.
References _parents_.
Referenced by O3Attribute(), gum::prm::o3prm::O3RawCPT::O3RawCPT(), gum::prm::o3prm::O3RuleCPT::O3RuleCPT(), gum::prm::o3prm::O3ClassFactory< GUM_SCALAR >::_checkAttributeForCompletion_(), gum::prm::o3prm::O3ClassFactory< GUM_SCALAR >::_checkLabelsNumber_(), gum::prm::o3prm::O3ClassFactory< GUM_SCALAR >::_checkLabelsValues_(), and gum::prm::o3prm::O3ClassFactory< GUM_SCALAR >::_checkRawCPT_().
|
virtual |
|
virtual |
Definition at line 743 of file O3prm.cpp.
References _type_.
Referenced by O3Attribute(), gum::prm::o3prm::O3RawCPT::O3RawCPT(), gum::prm::o3prm::O3RuleCPT::O3RuleCPT(), gum::prm::o3prm::O3ClassFactory< GUM_SCALAR >::_checkAttributeForDeclaration_(), and gum::prm::o3prm::O3ClassFactory< GUM_SCALAR >::_checkRawCPT_().
|
virtual |
|
private |
Definition at line 514 of file O3prm.h.
Referenced by O3Attribute(), O3Attribute(), O3Attribute(), name(), name(), operator=(), and operator=().
|
private |
Definition at line 515 of file O3prm.h.
Referenced by O3Attribute(), O3Attribute(), O3Attribute(), operator=(), operator=(), parents(), and parents().
|
private |
Definition at line 513 of file O3prm.h.
Referenced by O3Attribute(), O3Attribute(), O3Attribute(), operator=(), operator=(), type(), and type().