Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
C
clapp
Manage
Activity
Members
Labels
Plan
Issues
0
Issue boards
Milestones
Wiki
Code
Merge requests
0
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
libclapp
clapp
Commits
ea29df8d
Commit
ea29df8d
authored
7 months ago
by
Martin Wölzer
Browse files
Options
Downloads
Patches
Plain Diff
doc/doc.md: explicitly state full namespace of types
parent
ed153d87
No related branches found
No related tags found
1 merge request
!24
Create release v.0.6.0
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
doc/doc.md
+14
-14
14 additions, 14 deletions
doc/doc.md
with
14 additions
and
14 deletions
doc/doc.md
+
14
−
14
View file @
ea29df8d
...
...
@@ -578,7 +578,7 @@ string argument:
#include
<clapp/main_parser.h>
#include
<clapp/option.h>
class
cli_parser_t
:
public
clapp
::
basic_main_parser_t
{
class
cli_parser_t
:
public
clapp
::
parser
::
basic_main_parser_t
{
public:
clapp
::
help_option_t
help
{
*
this
,
"help"
,
'h'
,
"Show help options."
,
clapp
::
parser
::
types
::
purpose_t
::
optional
};
...
...
@@ -682,15 +682,15 @@ string argument using option-container.
#include
<clapp/main_parser.h>
#include
<clapp/option.h>
class
cli_parser_t
:
public
clapp
::
basic_main_parser_t
{
class
cli_parser_t
:
public
clapp
::
parser
::
basic_main_parser_t
{
public:
cli_parser_t
();
clapp
::
help_option_t
help
{
*
this
,
"help"
,
'h'
,
"Show help options."
};
class
option_container_t
:
public
clapp
::
option_container_t
{
class
option_container_t
:
public
clapp
::
parser
::
option_container_t
{
public:
using
clapp
::
option_container_t
::
option_container_t
;
using
clapp
::
parser
::
option_container_t
::
option_container_t
;
clapp
::
bool_option_t
bool_opt
{
*
this
,
"bool"
,
'b'
,
"Bool option."
};
...
...
@@ -705,7 +705,7 @@ class cli_parser_t : public clapp::basic_main_parser_t {
};
cli_parser_t
::
cli_parser_t
()
:
clapp
::
basic_main_parser_t
{
:
clapp
::
parser
::
basic_main_parser_t
{
clapp
::
parser
::
types
::
logic_operator_type_t
::
logic_xor
}
{}
int
main
(
int
argc
,
char
*
argv
[])
{
...
...
@@ -847,15 +847,15 @@ parser container:
#include
<optional>
class
cli_parser_t
:
public
clapp
::
basic_main_parser_t
{
class
cli_parser_t
:
public
clapp
::
parser
::
basic_main_parser_t
{
public:
cli_parser_t
();
clapp
::
help_option_t
help
{
*
this
,
"help"
,
'h'
,
"Show help options."
};
class
option_container_t
:
public
clapp
::
option_container_t
{
class
option_container_t
:
public
clapp
::
parser
::
option_container_t
{
public:
using
clapp
::
option_container_t
::
option_container_t
;
using
clapp
::
parser
::
option_container_t
::
option_container_t
;
clapp
::
bool_option_t
bool_opt
{
*
this
,
"bool"
,
'b'
,
"Bool option."
};
...
...
@@ -870,7 +870,7 @@ class cli_parser_t : public clapp::basic_main_parser_t {
};
cli_parser_t
::
cli_parser_t
()
:
clapp
::
basic_main_parser_t
{
:
clapp
::
parser
::
basic_main_parser_t
{
clapp
::
parser
::
types
::
logic_operator_type_t
::
logic_xor
}
{}
using
parser_t
=
clapp
::
parser
::
basic_parser_container_t
<
cli_parser_t
>
;
...
...
@@ -1050,7 +1050,7 @@ this sub-parser.
#include
<optional>
class
cli_parser_t
:
public
clapp
::
basic_main_parser_t
{
class
cli_parser_t
:
public
clapp
::
parser
::
basic_main_parser_t
{
public:
clapp
::
help_option_t
help
{
*
this
,
"help"
,
'h'
,
"Show help options."
,
clapp
::
parser
::
types
::
purpose_t
::
optional
};
...
...
@@ -1058,9 +1058,9 @@ class cli_parser_t : public clapp::basic_main_parser_t {
clapp
::
int32_param_option_t
int_opt
{
*
this
,
'i'
,
"Int option"
,
clapp
::
parser
::
types
::
purpose_t
::
optional
};
class
mode1_parser_t
:
public
clapp
::
basic_sub_parser_t
{
class
mode1_parser_t
:
public
clapp
::
parser
::
basic_sub_parser_t
{
public:
using
clapp
::
basic_sub_parser_t
::
basic_sub_parser_t
;
using
clapp
::
parser
::
basic_sub_parser_t
::
basic_sub_parser_t
;
clapp
::
help_option_t
help
{
*
this
,
"help"
,
'h'
,
"Show help options."
,
clapp
::
parser
::
types
::
purpose_t
::
optional
};
...
...
@@ -1070,9 +1070,9 @@ class cli_parser_t : public clapp::basic_main_parser_t {
clapp
::
parser
::
types
::
purpose_t
::
optional
};
};
class
mode2_parser_t
:
public
clapp
::
basic_sub_parser_t
{
class
mode2_parser_t
:
public
clapp
::
parser
::
basic_sub_parser_t
{
public:
using
clapp
::
basic_sub_parser_t
::
basic_sub_parser_t
;
using
clapp
::
parser
::
basic_sub_parser_t
::
basic_sub_parser_t
;
clapp
::
help_option_t
help
{
*
this
,
"help"
,
'h'
,
"Show help options."
,
clapp
::
parser
::
types
::
purpose_t
::
optional
};
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment