Dumping the API as in your test_dump, I am using that test to dump all exposed classes in C++ instead of having to write documentation wrappers around the register methods.
but the dumped code will write the operators and behaviors as
_beh(number
opEqual
opCmp
opAddAssign
once
for any other language these operators are written explicitly as
function name()
==
!=
<=
>=
+=
What I am doing is converting opAddAssign to += in the output file instead because they are universal through all languages
you would write
object.opAddAssign(input);
but
object += input;
as it is more readable. hence to document my exposed scripting objects,enums,behaviors I dump all C++ api inputs to different text files.
so for dumping opCmp
I would have to do
Write(replace(string,"opCmp",'<'))
Write(replace(string,"opCmp",'<='))
Write(replace(string,"opCmp",'>'))
Write(replace(string,"opCmp",'>='))