#include <corenodes_helpers.h>
This helper class wraps an Id or an IdBuilder (with implicit conversion constructors) and is used for the CoreNodeGroupInterface::Add methods to allow both types as arguments.
Public Member Functions | |
MAXON_IMPLICIT | IdOrBuilder (const Id &nodeId) |
MAXON_IMPLICIT | IdOrBuilder (const LiteralId &nodeId) |
MAXON_IMPLICIT | IdOrBuilder (IdBuilder &&builder) |
Result< Id > | GetId () const |
Private Attributes | |
Id | _id |
IdBuilder | _builder |
MAXON_IMPLICIT IdOrBuilder | ( | const Id & | nodeId | ) |
Implicitly constructs an IdOrBuilder from an Id.
[in] | nodeId | The Id to wrap. |
MAXON_IMPLICIT IdOrBuilder | ( | const LiteralId & | nodeId | ) |
Implicitly constructs an IdOrBuilder from a LiteralId.
[in] | nodeId | The Id to wrap. |
MAXON_IMPLICIT IdOrBuilder | ( | IdBuilder && | builder | ) |
Implicitly constructs an IdOrBuilder from an IdBuilder.
[in] | builder | The IdBuilder to wrap. |
|
private |
|
private |