-
Notifications
You must be signed in to change notification settings - Fork 775
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Signed-off-by: tempate <danieldiaz@eprosima.com>
- Loading branch information
Showing
10 changed files
with
3,981 additions
and
0 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
29 changes: 29 additions & 0 deletions
29
test/unittest/dds/xtypes/type_conversion/types/idls/inheritance_struct.idl
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,29 @@ | ||
struct GreatgrandfatherStruct | ||
{ | ||
long greatgrandfather; | ||
}; | ||
|
||
struct GrandfatherStruct : GreatgrandfatherStruct | ||
{ | ||
long grandfather; | ||
}; | ||
|
||
struct FatherStruct : GrandfatherStruct | ||
{ | ||
long father; | ||
}; | ||
|
||
struct SonStruct : FatherStruct | ||
{ | ||
long son; | ||
}; | ||
|
||
struct GrandsonStruct : SonStruct | ||
{ | ||
long grandson; | ||
}; | ||
|
||
struct inheritance_struct : GrandsonStruct | ||
{ | ||
long value; | ||
}; |
Oops, something went wrong.