Book a Demo

Author Topic: Stripping C prefix in filenames  (Read 2401 times)

NeilOwens

  • EA Novice
  • *
  • Posts: 2
  • Karma: +0/-0
    • View Profile
Stripping C prefix in filenames
« on: February 23, 2010, 08:41:06 pm »
I'm currently generating a code generation profile and internal user guide for my company to use EA.  My company's coding standard is for class names to begin withe the prefix C (not my decision), but for the filename to not have this prefix so:

class name in model: CBitmap
filenames: Bitmap.h, Bitmap.cpp
class name in code: CBitmap

How do I configure EA to do this?  I can frig it by creating a class without the prefix, generating a file, and then adding the prefix and regenerating, but I'd like something cleaner in place before I start rolling it out to the team.

Thanks.

Eve

  • EA Administrator
  • EA Guru
  • *****
  • Posts: 8110
  • Karma: +119/-20
    • View Profile
Re: Stripping C prefix in filenames
« Reply #1 on: February 24, 2010, 10:35:07 am »
You will need to set the filename before generating.