Operator Constructor and Destructor
Description
Constructs or destructs an object of class Operator.
Prototype
APIs using strings will be deprecated in later versions. Use APIs supporting non-string data instead.
Operator()
explicit Operator(const std::string &type)
explicit Operator(const char_t *type)
Operator(const std::string &name, const std::string &type)
Operator(const AscendString &name, const AscendString &type)
Operator(const char_t *name, const char_t *type)
virtual ~Operator() = default
Parameters
Parameter |
Input/Output |
Description |
|---|---|---|
type |
Input |
Operator type. |
name |
Input |
Operator name. |
Returns
An Operator object.
Exception Handling
None
Restrictions
None
Parent topic: Operator