Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
OpenDAS
dlib
Commits
e1ce4b6e
Commit
e1ce4b6e
authored
Nov 12, 2012
by
Davis King
Browse files
updated docs
parent
7f9fbba5
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
7 additions
and
63 deletions
+7
-63
docs/docs/parsing.xml
docs/docs/parsing.xml
+5
-63
docs/docs/term_index.xml
docs/docs/term_index.xml
+2
-0
No files found.
docs/docs/parsing.xml
View file @
e1ce4b6e
...
...
@@ -418,6 +418,11 @@
This object allows you to easily parse a command line. Note that the
documentation for the
<a
href=
"dlib/interfaces/cmd_line_parser_option.h.html"
>
cmd_line_parser_option
</a>
(the object returned by the parser's .option() function) is in a separate file.
<p>
Note also that there are also standard typedefs for the ASCII and wide character versions of the
cmd_line_parser template. These are the
<tt>
command_line_parser
</tt>
and
<tt>
wcommand_line_parser
</tt>
types respectively.
</p>
</description>
<examples>
...
...
@@ -425,70 +430,7 @@
<example>
train_object_detector.cpp.html
</example>
</examples>
<implementations>
<implementation>
<name>
cmd_line_parser_kernel_1
</name>
<file>
dlib/cmd_line_parser/cmd_line_parser_kernel_1.h
</file>
<description>
This implementation uses the
<a
href=
"containers.html#map"
>
map
</a>
and
<a
href=
"containers.html#sequence"
>
sequence
</a>
containers to keep track of the command line options and arguments. For further details see the above link.
</description>
<typedefs>
<typedef>
<name>
kernel_1a
</name>
<description>
is a typedef for cmd_line_parser_kernel_1 that uses map_kernel_1a and sequence_kernel_2a
</description>
</typedef>
</typedefs>
</implementation>
</implementations>
<extensions>
<extension>
<name>
cmd_line_parser_check
</name>
<spec_file>
dlib/cmd_line_parser/cmd_line_parser_check_abstract.h
</spec_file>
<description>
This gives a cmd_line_parser object the ability to easily perform various
kinds of validation on the command line input.
</description>
<implementations>
<implementation>
<name>
cmd_line_parser_check_1
</name>
<file>
dlib/cmd_line_parser/cmd_line_parser_check_1.h
</file>
<description>
This implementation is done in the obvious way. See the source for details
</description>
<typedefs>
<typedef>
<name>
check_1a
</name>
<description>
is a typedef for cmd_line_parser_print_1 extended by cmd_line_parser_check_1
</description>
</typedef>
</typedefs>
</implementation>
</implementations>
</extension>
<extension>
<name>
cmd_line_parser_print
</name>
<spec_file>
dlib/cmd_line_parser/cmd_line_parser_print_abstract.h
</spec_file>
<description>
This extension gives a cmd_line_parser object the ability to print its command line options
in a nice format.
</description>
<implementations>
<implementation>
<name>
cmd_line_parser_print_1
</name>
<file>
dlib/cmd_line_parser/cmd_line_parser_print_1.h
</file>
<description>
This implementation is done by enumerating the options of the parser and printing them.
</description>
<typedefs>
<typedef>
<name>
print_1a
</name>
<description>
is a typedef for cmd_line_parser_kernel_1 extended by cmd_line_parser_print_1
</description>
</typedef>
</typedefs>
</implementation>
</implementations>
</extension>
<extension>
<name>
get_option
</name>
<spec_file>
dlib/cmd_line_parser/get_option_abstract.h
</spec_file>
...
...
docs/docs/term_index.xml
View file @
e1ce4b6e
...
...
@@ -1257,6 +1257,8 @@
<term
link=
"parsing.html#utf8_uifstream"
name=
"basic_utf8_ifstream"
/>
<term
file=
"parsing.html"
name=
"base64"
/>
<term
file=
"parsing.html"
name=
"cmd_line_parser"
/>
<term
link=
"parsing.html#cmd_line_parser"
name=
"command_line_parser"
/>
<term
link=
"parsing.html#cmd_line_parser"
name=
"wcommand_line_parser"
/>
<term
file=
"parsing.html"
name=
"get_option"
/>
<term
link=
"dlib/cmd_line_parser/get_option_abstract.h.html#option_parse_error"
name=
"option_parse_error"
/>
<term
file=
"dlib/interfaces/cmd_line_parser_option.h.html"
name=
"cmd_line_parser_option"
/>
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment