Sen API
Sen Libraries
Loading...
Searching...
No Matches
sen::Arg Struct Referencefinal

Holds the information for an argument in the callable. More...

#include <callable.h>

Public Member Functions

 Arg (std::string theName, std::string theDescription, ConstTypeHandle<> theType)
 ~Arg ()=default
uint32_t getNameHash () const noexcept

Public Attributes

std::string name
std::string description
ConstTypeHandle type

Friends

bool operator== (const Arg &lhs, const Arg &rhs) noexcept
bool operator!= (const Arg &lhs, const Arg &rhs) noexcept

Detailed Description

Holds the information for an argument in the callable.

Constructor & Destructor Documentation

◆ Arg()

sen::Arg::Arg ( std::string theName,
std::string theDescription,
ConstTypeHandle<> theType )
inline

◆ ~Arg()

sen::Arg::~Arg ( )
default

Member Function Documentation

◆ getNameHash()

uint32_t sen::Arg::getNameHash ( ) const
inlinenodiscardnoexcept

◆ operator==

bool operator== ( const Arg & lhs,
const Arg & rhs )
friend

◆ operator!=

bool operator!= ( const Arg & lhs,
const Arg & rhs )
friend

Member Data Documentation

◆ name

std::string sen::Arg::name

◆ description

std::string sen::Arg::description

◆ type

ConstTypeHandle sen::Arg::type

The documentation for this struct was generated from the following file: