#include <node_or_template.h>
Public Member Functions | |
NodeOrTemplate ()=default | |
NodeOrTemplate (const NodeSystem &sys) | |
NodeOrTemplate (const NodeTemplate &templ, const TemplateArguments &args) | |
NodeOrTemplate (const NodeSystem &sys, const NodeTemplate &templ, const TemplateArguments &args) | |
Bool | IsPopulated () const |
Bool | IsEmpty () const |
Bool | IsTemplate () const |
const NodeSystem & | GetNodeSystem () const |
const NodeTemplate & | GetTemplate () const |
const Id & | GetId () const |
const TemplateArguments & | GetArguments () const |
void | SetTemplate (const NodeTemplate &templ) |
TemplateArguments & | GetArguments () |
Result< NodeSystem > | Instantiate (const InstantiationTrace &parent, const TemplateArguments &args, const NodeTemplate &instantiator, const TemplateArguments &instantiatorArgs) const |
Result< NodeSystem > | GetTemplateNodeSystem (const InstantiationTrace &parent) const |
MAXON_OPERATOR_STRUCT (NodeOrTemplate, _system, _template, _arguments) | |
Private Attributes | |
NodeSystem | _system |
NodeTemplate | _template |
TemplateArguments | _arguments |
Friends | |
class | NodeOrTemplateHelper |
|
default |
|
explicit |
NodeOrTemplate | ( | const NodeTemplate & | templ, |
const TemplateArguments & | args | ||
) |
NodeOrTemplate | ( | const NodeSystem & | sys, |
const NodeTemplate & | templ, | ||
const TemplateArguments & | args | ||
) |
Bool IsPopulated | ( | ) | const |
Bool IsEmpty | ( | ) | const |
Bool IsTemplate | ( | ) | const |
const NodeSystem& GetNodeSystem | ( | ) | const |
const NodeTemplate& GetTemplate | ( | ) | const |
const Id& GetId | ( | ) | const |
const TemplateArguments& GetArguments | ( | ) | const |
void SetTemplate | ( | const NodeTemplate & | templ | ) |
TemplateArguments& GetArguments | ( | ) |
Result<NodeSystem> Instantiate | ( | const InstantiationTrace & | parent, |
const TemplateArguments & | args, | ||
const NodeTemplate & | instantiator, | ||
const TemplateArguments & | instantiatorArgs | ||
) | const |
Result<NodeSystem> GetTemplateNodeSystem | ( | const InstantiationTrace & | parent | ) | const |
MAXON_OPERATOR_STRUCT | ( | NodeOrTemplate | , |
_system | , | ||
_template | , | ||
_arguments | |||
) |
|
friend |
|
private |
|
private |
|
private |