Hi,
I am working on a project that use two C++ libraries : Qt and Open Cascade. Concerning this project we have defined our naming norms for classes, features, etc.
The first problem is that those norms are different from those of Qt and Open Cascade, and naming norms are different between Qt and Open Cascade.
Naming norms for Qt are very like Java style, example :
QWidget::setWidth (int width)
Those of Open Cascade, example :
AIS_InteractiveObject::SetWidth (int width)
Where the class prefix "AIS" is the name of the owner package
Our norm is based on Eiffel, example :
MATERIAL::set_name (STRING name)
This means that the software text of our project is written using three different norms!
What I want to know is : is there a tool that can process C++ files and translate them according to a given norm? This tool might be based on names mapping informations, or stuff like that, but I couldn't find such a tool.
I think this kind of problem is pretty recurrent in C++ projects.
--
Globos
I am working on a project that use two C++ libraries : Qt and Open Cascade. Concerning this project we have defined our naming norms for classes, features, etc.
The first problem is that those norms are different from those of Qt and Open Cascade, and naming norms are different between Qt and Open Cascade.
Naming norms for Qt are very like Java style, example :
QWidget::setWidth (int width)
Those of Open Cascade, example :
AIS_InteractiveObject::SetWidth (int width)
Where the class prefix "AIS" is the name of the owner package
Our norm is based on Eiffel, example :
MATERIAL::set_name (STRING name)
This means that the software text of our project is written using three different norms!
What I want to know is : is there a tool that can process C++ files and translate them according to a given norm? This tool might be based on names mapping informations, or stuff like that, but I couldn't find such a tool.
I think this kind of problem is pretty recurrent in C++ projects.
--
Globos