Content  


The IPD File Format

The ViennaIPD file format supports structures of highly intricate nature. A small glimpse on its capabilities is provided in this section.

 

The ViennaIPD file format
  1. // values of different types can be created
  2. a = "A short text.";
  3. b = 2.2;
  4. ext c = 2; // can be overwritten by application
  5. d = b * c;
  6.  
  7. // a section of arbitrary name canbe created
  8. Double
  9. { // a section can have members
  10. ext a = 1;
  11. d = 2 * a;
  12. }
  13.  
  14. // a section can be derived from another section
  15. Threefold : Double
  16. {
  17. d = 3 * a;
  18. }
  19.  
  20. // section can have nested sections
  21. Tree
  22. {
  23. Branch1
  24. {
  25. Lear1 = 1;
  26. Lear2 = 2;
  27. }
  28. Branch2
  29. {
  30. Lear3 = 3;
  31. Lear4 = 4;
  32. }
  33. Lear5 = 5;
  34. Lear6 = 6;
  35. }