libcopp  2.2.0
Public Member Functions | Data Fields
util::cli::phoenix::assign_t< T > Struct Template Reference

通用赋值动作 - 设置一个变量值 More...

#include <cmd_option_phoenix.h>

Collaboration diagram for util::cli::phoenix::assign_t< T >:
Collaboration graph

Public Member Functions

 assign_t (T &t)
 
void operator() (util::cli::callback_param params)
 

Data Fields

T & var
 

Detailed Description

template<typename T>
struct util::cli::phoenix::assign_t< T >

通用赋值动作 - 设置一个变量值

Definition at line 28 of file cmd_option_phoenix.h.

Constructor & Destructor Documentation

◆ assign_t()

template<typename T >
util::cli::phoenix::assign_t< T >::assign_t ( T &  t)
inline

Definition at line 30 of file cmd_option_phoenix.h.

Member Function Documentation

◆ operator()()

template<typename T >
void util::cli::phoenix::assign_t< T >::operator() ( util::cli::callback_param  params)
inline

Field Documentation

◆ var

template<typename T >
T& util::cli::phoenix::assign_t< T >::var

Definition at line 29 of file cmd_option_phoenix.h.

Referenced by util::cli::phoenix::assign_t< T >::operator()().


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