Book a Demo

Author Topic: Specifying a c++ class-specific constructor?  (Read 2831 times)

adutoit

  • EA Novice
  • *
  • Posts: 4
  • Karma: +0/-0
    • View Profile
Specifying a c++ class-specific constructor?
« on: October 30, 2003, 07:10:39 am »
Hi.

Is it possible to specify a c++ class-specific (non-default) constructor for a class in EA?  It is possible to add a method to a class via the 'Detail/Operations' path; but there is no way of specifying that this method is a special method such as a class-specific constructor?

Sure, a class-specific constructor is just another method which takes a bunch of parameters, but it has no (not even void) return type and it is typically placed right after the default constructor in a class.  If I add such a constructor via the path used for normal methods, this method is placed at the end of the class' generated header file.  Sure, EA has no way of knowing that it is a class-specific constructor.  

How do I at least specify the location of this method in the generated header  file of the class?  Or does EA handle class-specific constructors for C++ and I am just not aware of it?