Author Topic: Parameter customization IN/INOUT/OUT/RETURN  (Read 2701 times)

YanDJ

  • EA Novice
  • *
  • Posts: 17
  • Karma: +0/-0
    • View Profile
Parameter customization IN/INOUT/OUT/RETURN
« on: December 12, 2020, 02:23:05 am »
Hello,

To define a Parameters we can associate an paramKind to the parameter with the option 'Direction'.
There many option :
  • In = By Value
  • InOut = By Reference
  • Out = Passed By Reference, but only the return value is significant
  • Return = The parameter is a returned value
But is there a way to customize EA to add an option ? for example : 'In_Ptr'

Thank you


   
   
   

Uffe

  • EA Practitioner
  • ***
  • Posts: 1859
  • Karma: +133/-14
  • Flutes: 1; Clarinets: 1; Saxes: 5 and counting
    • View Profile
Re: Parameter customization IN/INOUT/OUT/RETURN
« Reply #1 on: December 12, 2020, 02:38:34 am »
Hello Yan,

Pretty sure that's a no. Parameter kinds come from the standard I believe, as opposed to things like requirement types, so there'd be semantics defined for them that you can't extend.

/Uffe
My theories are always correct, just apply them to the right reality.

qwerty

  • EA Guru
  • *****
  • Posts: 13584
  • Karma: +396/-301
  • I'm no guru at all
    • View Profile
Re: Parameter customization IN/INOUT/OUT/RETURN
« Reply #2 on: December 12, 2020, 02:49:05 am »
You would need to stereotype it and use stereotype properties (aka tagged values).

q.

YanDJ

  • EA Novice
  • *
  • Posts: 17
  • Karma: +0/-0
    • View Profile
Re: Parameter customization IN/INOUT/OUT/RETURN
« Reply #3 on: December 15, 2020, 12:03:54 am »
Ok thank you for your answers. I will try to use a tag value for ours needs.  8)