Book a Demo

Author Topic: Code Gen for operation pre/postconditions  (Read 2135 times)

simon

  • EA Novice
  • *
  • Posts: 1
  • Karma: +0/-0
  • oooh, crumbs!
    • View Profile
Code Gen for operation pre/postconditions
« on: July 07, 2006, 12:41:01 am »
Hi,

 Is it possible to get any sort of handles on an operation's pre- and post-conditions for use in code generation?
For example, you can use the Parameter list to get a handle on all parameters for an operation.
I can't find a way to extract information from the operation pre and post tabs. There are no Field Subs Macros or lists and I can't think of anything else to try.
Any pointers or help would be greatly appreciated.

Cheers,

Simon

Eve

  • EA Administrator
  • EA Guru
  • *****
  • Posts: 8110
  • Karma: +119/-20
    • View Profile
Re: Code Gen for operation pre/postconditions
« Reply #1 on: July 09, 2006, 08:29:46 pm »
Look at the EXEC_ADD_IN function macro.  As you've discovered they aren't available from the code templates directly.