libcopp
2.3.1
Toggle main menu visibility
Main Page
Related Pages
Namespaces
Namespace List
Namespace Members
All
_
a
b
c
d
e
f
g
h
i
l
m
n
o
p
r
s
t
u
v
w
x
y
Functions
_
a
c
d
f
g
h
i
m
o
p
r
s
t
w
y
Variables
_
a
b
c
d
e
f
g
h
l
m
o
p
r
s
t
u
w
x
Typedefs
Enumerations
Enumerator
Data Structures
Data Structures
Data Structure Index
Class Hierarchy
Data Fields
All
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
r
s
t
u
v
w
x
y
~
Functions
_
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
r
s
t
u
v
w
x
y
~
Variables
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
r
s
t
u
v
w
Typedefs
_
a
b
c
d
e
f
h
i
j
l
m
n
o
p
r
s
t
u
v
w
Enumerations
Enumerator
e
l
s
u
Related Symbols
_
d
e
i
l
o
r
s
w
Files
File List
Globals
All
_
b
c
e
g
j
l
m
o
p
r
s
t
u
w
Functions
b
c
g
j
m
o
p
r
s
t
Variables
b
c
g
m
s
t
Typedefs
Enumerations
Enumerator
c
e
Macros
_
c
l
m
s
t
u
w
•
All
Data Structures
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
Pages
Loading...
Searching...
No Matches
test
cli
cmd_option_bind.h
Go to the documentation of this file.
1
#ifndef UTIL_CLI_CMDOPTIONBIND_H
2
#define UTIL_CLI_CMDOPTIONBIND_H
3
4
#pragma once
5
6
/*
7
* cmd_option_bind.h
8
*
9
* Created on: 2011-12-29
10
* Author: OWenT
11
*
12
* 应用程序命令处理
13
* 绑定器模板(处理所有绑定的函数和类成员函数)
14
*/
15
16
#include "
cli/cmd_option_bindt_cc.h
"
17
#include "
cli/cmd_option_bindt_mf_cc.h
"
18
19
namespace
util
{
20
namespace
cli {
21
// 标准指令处理函数(无返回值,参数为选项的映射表)
22
// void function_name (cmd_option_list&, [参数]); // 函数参数可选
23
// void function_name (callback_param, [参数]); // 函数参数可选
24
25
enum
cmd_option_char
{
26
SPLITCHAR
= 0x0001,
// (第一位)分隔符
27
STRINGSYM
= 0x0002,
// (第二位)字符串开闭符
28
TRANSLATE
= 0x0004,
// (第三位)转义字符
29
CMDSPLIT
= 0x0008,
// (第四位)指令分隔符
30
};
25
enum
cmd_option_char
{
…
};
31
}
// namespace cli
32
}
// namespace util
33
#endif
/* _CMDOPTIONBIND_H_ */
cmd_option_bindt_cc.h
cmd_option_bindt_mf_cc.h
util::cli::cmd_option_char
cmd_option_char
Definition
cmd_option_bind.h:25
util::cli::TRANSLATE
@ TRANSLATE
Definition
cmd_option_bind.h:28
util::cli::CMDSPLIT
@ CMDSPLIT
Definition
cmd_option_bind.h:29
util::cli::SPLITCHAR
@ SPLITCHAR
Definition
cmd_option_bind.h:26
util::cli::STRINGSYM
@ STRINGSYM
Definition
cmd_option_bind.h:27
util
Definition
atomic_int_type.h:86
Generated by
1.9.8