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
56588dd8
Commit
56588dd8
authored
17 years ago
by
tho
Browse files
Options
Downloads
Patches
Plain Diff
some small doc fixes
parent
a253da17
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/PacketType.hh
+4
-4
4 additions, 4 deletions
Packets/PacketType.hh
Packets/ParseVariant.hh
+6
-6
6 additions, 6 deletions
Packets/ParseVariant.hh
with
10 additions
and
10 deletions
Packets/PacketType.hh
+
4
−
4
View file @
56588dd8
...
@@ -222,8 +222,8 @@ namespace senf {
...
@@ -222,8 +222,8 @@ namespace senf {
\code
\code
// Here 'SomeRegistryTag' is optional
// Here 'SomeRegistryTag' is optional
struct SimplePacketType
struct SimplePacketType
: public senf::PacketTypeBase
: public senf::PacketTypeBase
,
public senf:PacketTypeMixin<SimplePacketType, SomeRegistryTag>
public senf:
:
PacketTypeMixin<SimplePacketType, SomeRegistryTag>
{
{
typedef senf::PacketTypeMixin<SimplePacketType, SomeRegistryTag> mixin;
typedef senf::PacketTypeMixin<SimplePacketType, SomeRegistryTag> mixin;
typedef senf::ConcretePacket<SimplePacketType> packet;
typedef senf::ConcretePacket<SimplePacketType> packet;
...
@@ -292,8 +292,8 @@ namespace senf {
...
@@ -292,8 +292,8 @@ namespace senf {
\code
\code
struct SimplePacketType
struct SimplePacketType
: public senf::PacketTypeBase
: public senf::PacketTypeBase
,
public senf:PacketTypeMixin<SimplePacketType, SomeRegistryTag>
public senf:
:
PacketTypeMixin<SimplePacketType, SomeRegistryTag>
{
{
typedef senf::PacketTypeMixin<SimplePacketType, SomeRegistryTag> mixin;
typedef senf::PacketTypeMixin<SimplePacketType, SomeRegistryTag> mixin;
typedef senf::ConcretePacket<SimplePacketType> packet;
typedef senf::ConcretePacket<SimplePacketType> packet;
...
...
This diff is collapsed.
Click to expand it.
Packets/ParseVariant.hh
+
6
−
6
View file @
56588dd8
...
@@ -180,15 +180,15 @@ namespace senf {
...
@@ -180,15 +180,15 @@ namespace senf {
(senf::Parse_UInt32) );
(senf::Parse_UInt32) );
senf::Parse_UInt8 uint8() const { return content().get<1>(); }
senf::Parse_UInt8 uint8() const { return content().get<1>(); }
senf::Parse_UInt
8
uint16() const { return content().get<2>(); }
senf::Parse_UInt
16
uint16() const { return content().get<2>(); }
senf::Parse_UInt
8
uint24() const { return content().get<3>(); }
senf::Parse_UInt
24
uint24() const { return content().get<3>(); }
senf::Parse_UInt
8
uint32() const { return content().get<4>(); }
senf::Parse_UInt
32
uint32() const { return content().get<4>(); }
void disable() const { content().init<0>(); }
void disable() const { content().init<0>(); }
void set_uint8() const { content().init<1>(); }
void set_uint8() const { content().init<1>(); }
void set_uint16() const { content().init<
1
>(); }
void set_uint16() const { content().init<
2
>(); }
void set_uint24) const { content().init<
1
>(); }
void set_uint24) const { content().init<
3
>(); }
void set_uint23() const { content().init<
1
>(); }
void set_uint23() const { content().init<
4
>(); }
SENF_PARSER_FINALIZE(SomeParser);
SENF_PARSER_FINALIZE(SomeParser);
};
};
...
...
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