view Resources/CodeGeneration/test_data/test1.jsonc @ 535:79bb0a02d1cc bgo-commands-codegen

- Added ORTHANC_OVERRIDE to several methods (translates to "override" in C++ 11 compilers) - Last fixes to new style command handling (removed useless commands and switch command handling in simple samples to use XxxxSerializedMessageXxxx instead of XxxxCommandXxxx - Fixed hardcoded input instance in SingleFrameEditorApplication
author Benjamin Golinvaux <bgo@osimis.io>
date Tue, 19 Mar 2019 09:13:57 +0100
parents 6470248790db
children
line wrap: on
line source

/*
         1         2         3         4         5         6         7
12345678901234567890123456789012345678901234567890123456789012345678901234567890
*/
{
  "root_name":"test1",
  "types": [
    {
      "name":"B",
      "kind":"struct",
      "fields": [
        {
          "name":"someAs",
          "type":"vector<A>"
        },
        {
          "name":"someInts",
          "type":"vector<int32>"
        }
      ]
    },
    {
      "name":"C",
      "kind":"struct",
      "fields": [
        {
          "name":"someBs",
          "type":"vector<B>"
        },
        {
          "name":"ddd",
          "type":"vector<D>"
        }
      ]
    },
    {
      "name":"A",
      "kind":"struct",
      "fields": [
        {
          "name":"someStrings",
          "type":"vector<string>"
        },
        {
          "name":"someInts2",
          "type":"vector<int32>"
        }
      ]
    },
    {
      "name":"MovieType",
      "kind":"enum",
      "fields": [
        {
          "name":"Romcom"
        },
        {
          "name":"Horror"
        },
        {
          "name":"ScienceFiction"
        },
        {
          "name":"Vegetables"
        }
      ]
    },
    {
      "name":"CrispType",
      "kind":"enum",
      "fields": [
        {
          "name":"SaltAndPepper"
        },
        {
          "name":"CreamAndChives"
        },
        {
          "name":"Paprika"
        },
        {
          "name":"Barbecue"
        }
      ]
    }
  ]
}