Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[C++] Generate message pretty printers #683

Merged
merged 1 commit into from
May 28, 2019

Conversation

agmt
Copy link
Contributor

@agmt agmt commented May 28, 2019

To solve issue: #178
For GeneratedStubExample it generates json-like string: {"Name": "Car", "sbeTemplateId": 1, "serialNumber": 1234, "modelYear": 2013, "available": "T", "code": "A", "someNumbers": [0,1,2,3], "vehicleCode": "abcdef", "extras": ["sportsPack","cruiseControl"], "discountedModel": "C", "engine": {"capacity": 2000, "numCylinders": 4, "manufacturerCode": "123", "efficiency": 0, "boosterEnabled": "F", "booster": {"BoostType": "NITROUS", "horsePower": 200}}, "fuelFigures": [{"speed": 30, "mpg": 35.9, "usageDescription": "Urban Cycle"}, {"speed": 55, "mpg": 49, "usageDescription": "Combined Cycle"}, {"speed": 75, "mpg": 40, "usageDescription": "Highway Cycle"}], "performanceFigures": [{"octaneRating": 95, "acceleration": [{"mph": 30, "seconds": 4}, {"mph": 60, "seconds": 7.5}, {"mph": 100, "seconds": 12.2}]}, {"octaneRating": 99, "acceleration": [{"mph": 30, "seconds": 3.8}, {"mph": 60, "seconds": 7.1}, {"mph": 100, "seconds": 11.8}]}], "manufacturer": "Honda", "model": "Civic VTi", "activationCode": "deadbeef"}

@tmontgomery tmontgomery merged commit ce20691 into real-logic:master May 28, 2019
@agmt agmt deleted the to_string branch March 6, 2020 08:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants