![]() |
aGrUM
0.16.0
|
The O3Attribute is part of the AST of the O3PRM language. More...
#include <agrum/PRM/o3prm/O3prm.h>
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 |
Public Types | |
using | O3LabelList = std::vector< O3Label > |
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 | ( | const O3Label & | type, |
const O3Label & | name, | ||
const O3LabelList & | parents | ||
) |
gum::prm::o3prm::O3Attribute::O3Attribute | ( | const O3Attribute & | src | ) |
gum::prm::o3prm::O3Attribute::O3Attribute | ( | O3Attribute && | src | ) |
|
pure virtual |
Implemented in gum::prm::o3prm::O3RuleCPT, and gum::prm::o3prm::O3RawCPT.
|
virtual |
Definition at line 665 of file O3prm.cpp.
References __name.
Referenced by gum::prm::o3prm::O3ClassFactory< GUM_SCALAR >::__checkAttributeForDeclaration(), gum::prm::o3prm::O3ClassFactory< GUM_SCALAR >::__checkRawCPT(), and gum::prm::o3prm::O3ClassFactory< GUM_SCALAR >::__checkRuleCPTSumsTo1().
|
virtual |
|
virtual |
Definition at line 646 of file O3prm.cpp.
References __name, __parents, and __type.
Referenced by gum::prm::o3prm::O3RawCPT::operator=(), and gum::prm::o3prm::O3RuleCPT::operator=().
|
virtual |
|
virtual |
Definition at line 668 of file O3prm.cpp.
References __parents.
Referenced by 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 662 of file O3prm.cpp.
References __type.
Referenced by gum::prm::o3prm::O3ClassFactory< GUM_SCALAR >::__checkAttributeForDeclaration(), and gum::prm::o3prm::O3ClassFactory< GUM_SCALAR >::__checkRawCPT().
|
virtual |
|
private |
Definition at line 499 of file O3prm.h.
Referenced by name(), and operator=().
|
private |
Definition at line 500 of file O3prm.h.
Referenced by operator=(), and parents().
|
private |
Definition at line 498 of file O3prm.h.
Referenced by operator=(), and type().