- Name: 'ImplementedAs'
- Since: under-evaluation
- Usage on: 'Interface'
- Allowed value: string with the cppclassname
- Default value: if this is not set, it is equivalent to the name of the class 'name'
- Rationale: Sometimes it is wanted to have a different javascript class name then the cpp classname.
- Reference: 'Socket'
[ ImplementedAs=JSSocket ] interface Socket {
};
class {{ cppclassname }} : public ClassMapper<{{ cppclassname }}>, public {{ classname }}_Base
{
...
class JSSocket : public ClassMapper<JSSocket>, public JSSocket_Base
{
...