Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
senf
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Service Desk
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
wiback
senf
Commits
c18bfc6f
Commit
c18bfc6f
authored
16 years ago
by
tho
Browse files
Options
Downloads
Patches
Plain Diff
documentation fixes.
parent
0b9fdfa0
No related branches found
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
Packets/ListParser.dox
+4
-4
4 additions, 4 deletions
Packets/ListParser.dox
Packets/ListParser.hh
+2
-2
2 additions, 2 deletions
Packets/ListParser.hh
with
6 additions
and
6 deletions
Packets/ListParser.dox
+
4
−
4
View file @
c18bfc6f
...
@@ -36,8 +36,8 @@ namespace senf {
...
@@ -36,8 +36,8 @@ namespace senf {
// mandatory typedefs in the parser and container policy
// mandatory typedefs in the parser and container policy
typedef ElementParser element_type;
typedef ElementParser element_type;
typedef Parse
_List
< ExampleListPolicy > parser_type;
typedef
List
Parse
r
< ExampleListPolicy > parser_type;
typedef Parse
_List
_Container< ExampleListPolicy > container_type;
typedef
List
Parse
r
_Container< ExampleListPolicy > container_type;
// mandatory constant in parser and container policy
// mandatory constant in parser and container policy
static const size_type init_bytes = 0;
static const size_type init_bytes = 0;
...
@@ -85,10 +85,10 @@ namespace senf {
...
@@ -85,10 +85,10 @@ namespace senf {
typedef unspecified parser_type; ///< List parser type
typedef unspecified parser_type; ///< List parser type
/**< parser_type is the list parser used to parse a list of
/**< parser_type is the list parser used to parse a list of
this type,
this type,
e.g. <tt>senf::Parse
_List
<ExampleListPolicy></tt>. */
e.g. <tt>senf::
List
Parse
r
<ExampleListPolicy></tt>. */
typedef unspecified container_type; ///< Type of container wrapper
typedef unspecified container_type; ///< Type of container wrapper
/**< This is the container wrapper of the list, e.g.
/**< This is the container wrapper of the list, e.g.
<tt>Parse
_List
_Container<ExampleListPolicy></tt>. The
<tt>
List
Parse
r
_Container<ExampleListPolicy></tt>. The
container may however use a \e different policy, as
container may however use a \e different policy, as
long as that policy is constructible from the parser
long as that policy is constructible from the parser
policy. */
policy. */
...
...
This diff is collapsed.
Click to expand it.
Packets/ListParser.hh
+
2
−
2
View file @
c18bfc6f
...
@@ -229,7 +229,7 @@ namespace senf {
...
@@ -229,7 +229,7 @@ namespace senf {
// The size field should be declared private or read-only (size is accessible via the list)
// The size field should be declared private or read-only (size is accessible via the list)
SENF_PARSER_PRIVATE_FIELD ( list_size_, senf::UInt16Parser );
SENF_PARSER_PRIVATE_FIELD ( list_size_, senf::UInt16Parser );
// Define the list
// Define the list
SENF_PARSER_
VECTOR
( list, list_size_, EltParser );
SENF_PARSER_
LIST
( list, list_size_, EltParser );
\endcode
\endcode
Here \c EltParser can be an arbitrary parser and need not have a fixed size.
Here \c EltParser can be an arbitrary parser and need not have a fixed size.
...
@@ -267,7 +267,7 @@ namespace senf {
...
@@ -267,7 +267,7 @@ namespace senf {
The tags are applied to the \a size parameter:
The tags are applied to the \a size parameter:
\code
\code
SENF_PARSER_LIST (
vec
, transform(MyTransform, list_size_), EltParser );
SENF_PARSER_LIST (
list
, transform(MyTransform, list_size_), EltParser );
\endcode
\endcode
\warning There are some caveats when working with \c bytes() type lists:
\warning There are some caveats when working with \c bytes() type lists:
...
...
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