Class ArgType
Defined in File arg.hpp
- 
class ArgType
 Struct for the type information of an argument.
Public Functions
- ArgType() = default
 
- 
inline ArgType(ArgElementType element_type, ArgContainerType container_type)
 Construct a new ArgType object.
- Parameters
 element_type – The element type of the argument.
container_type – The container type of the argument.
- 
inline ArgElementType element_type() const
 Get the element type of the argument.
- Returns
 
The element type of the argument.
- 
inline ArgContainerType container_type() const
 Get the container type of the argument.
- Returns
 
The container type of the argument.
Public Static Functions
- 
static inline ArgElementType get_element_type(std::type_index index)
 Get the element type of the argument.
- Parameters
 - Returns
 
index – The type index of the argument.
The element type of the argument.
- 
template<typename typeT>
static inline ArgType create() Create the argument type from the given type.
- Template Parameters
 - Returns
 
typeT – The type of the argument.
The argument type.