-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
New idl for testing setting the MemberId (#17)
* Refs #20084. New idl to tests MemberId settings Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev> * Refs #20084. A derived class cannot has key Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev> * Refs #20084. Apply suggestions Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev> --------- Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>
- Loading branch information
Showing
5 changed files
with
120 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,103 @@ | ||
@mutable | ||
struct FixId | ||
{ | ||
@id(100) octet o; | ||
@id(300) short s; | ||
@id(500) long l; | ||
long long ll; | ||
}; | ||
|
||
@mutable | ||
struct FixHashidDefault | ||
{ | ||
@hashid octet o; | ||
@hashid short s; | ||
@hashid long l; | ||
long long ll; | ||
}; | ||
|
||
@mutable | ||
struct FixHashid | ||
{ | ||
@hashid("octet") octet o; | ||
@hashid("short") short s; | ||
@hashid("long") long l; | ||
long long ll; | ||
}; | ||
|
||
@mutable | ||
struct FixMix | ||
{ | ||
@id(100) octet o; | ||
@hashid short s; | ||
@hashid("long") long l; | ||
long long ll; | ||
}; | ||
|
||
@mutable | ||
@autoid | ||
struct AutoidDefault | ||
{ | ||
char c; | ||
@id(100) octet o; | ||
@hashid short s; | ||
@hashid("long") long l; | ||
long long ll; | ||
}; | ||
|
||
@mutable | ||
@autoid(SEQUENTIAL) | ||
struct AutoidSequential | ||
{ | ||
char c; | ||
@id(100) octet o; | ||
@hashid short s; | ||
@hashid("long") long l; | ||
long long ll; | ||
}; | ||
|
||
@mutable | ||
@autoid(HASH) | ||
struct AutoidHash | ||
{ | ||
char c; | ||
@id(100) octet o; | ||
@hashid short s; | ||
@hashid("long") long l; | ||
long long ll; | ||
}; | ||
|
||
@autoid | ||
struct DerivedAutoidDefault : AutoidDefault | ||
{ | ||
char cd; | ||
@id(101) octet od; | ||
@hashid short sd; | ||
@hashid("long2") long ld; | ||
long long lld; | ||
}; | ||
|
||
@autoid(SEQUENTIAL) | ||
struct DerivedEmptyAutoidSequential : AutoidSequential | ||
{ | ||
}; | ||
|
||
@autoid(SEQUENTIAL) | ||
struct DerivedAutoidSequential : DerivedEmptyAutoidSequential | ||
{ | ||
char cd; | ||
@id(101) octet od; | ||
@hashid short sd; | ||
@hashid("long2") long ld; | ||
long long lld; | ||
}; | ||
|
||
@autoid(HASH) | ||
struct DerivedAutoidHash : AutoidHash | ||
{ | ||
char cd; | ||
@id(101) octet od; | ||
@hashid short sd; | ||
@hashid("long2") long ld; | ||
long long lld; | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters