Others

Others haven't been discussed up until now. They're a way of expressing all of the other things you can add to a header aside from methods and variables. You can use them to enter in a bunch of comment lines, an enum, some typedefs, even a sub class. It's just a free form area to put other text into your header.


Here you see the three fields that make up an Other. As always, there's a documentation field where you can write helpful docs. The first field is a one liner that will be shown in the KlassModeler. The larger text box is for writing in what you want to appear in the header. The KlassModeler doesn't do any parsing with this entry box. What you type here will be directly written into the header file, so it's up to you to make sure it is valid C++ code. In this example I've used the other to express an enum.