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

通用赋值动作 - 设置变量值为某个固定值 More...

#include <cmd_option_phoenix.h>

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

Public Member Functions

 set_const_t (T &t, const T &v)
 
void operator() (util::cli::callback_param params)
 

Data Fields

T & var
 
val
 

Detailed Description

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

通用赋值动作 - 设置变量值为某个固定值

Definition at line 108 of file cmd_option_phoenix.h.

Constructor & Destructor Documentation

template<typename T >
util::cli::phoenix::set_const_t< T >::set_const_t ( T &  t,
const T &  v 
)
inline

Definition at line 111 of file cmd_option_phoenix.h.

Member Function Documentation

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

Definition at line 113 of file cmd_option_phoenix.h.

Field Documentation

template<typename T >
T util::cli::phoenix::set_const_t< T >::val

Definition at line 110 of file cmd_option_phoenix.h.

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

Definition at line 109 of file cmd_option_phoenix.h.


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