holoscan::Arg
holoscan::Arg
Class for holding the argument information.
Constructors
Arg
Copy
Copy (with value) (1)
Copy (with value) (2)
Copy (with value) (3)
Construct a new Arg object.
Parameters
The name of the argument.
Destructor
~Arg
Assignment operators
operator=
Copy assign
Move assign
Overload 3
Define the assignment operator.
Returns: The reference to the argument.
Template parameters
The type of the argument.
Parameters
The value of the argument.
Methods
name
Mutable
Const
Set the name of the argument.
arg_type
Get the type of the argument.
Returns: The type of the argument.
has_value
Check whether the argument contains a value.
Returns: true if the argument contains a value.
value
Mutable
Const
Get the value of the argument.
Returns: The reference to the value of the argument.
to_yaml_node
Get a YAML representation of the argument.
Returns: YAML node including the name, type, and value of the argument.
value_to_yaml_node
Get a YAML representation of the argument value.
@ return YAML node including the value of the argument.
description
Get a description of the argument.
Returns: YAML string.
See also: to_yaml_node()