All Downloads are FREE. Search and download functionalities are using the official Maven repository.

cocoagen.readSet.m Maven / Gradle / Ivy

There is a newer version: 21.5.0
Show newest version
int _{{name}}_size;
[inProtocol readSetBeginReturningElementType: NULL size: &_{{name}}_size];
NSMutableSet *{{name}}_mutable = [[NSMutableSet alloc] initWithCapacity:_{{name}}_size];
for (int _{{name}}_i = 0; _{{name}}_i < _{{name}}_size; ++_{{name}}_i) {
    {{eltType}}{{#eltReadWriteInfo}}{{#isStruct}} *{{/isStruct}}{{/eltReadWriteInfo}} {{eltName}};
{{#eltReadWriteInfo}}
    {{>readValue}}
{{/eltReadWriteInfo}}
    [{{name}}_mutable addObject: {{eltName}}];
}
{{name}} = {{name}}_mutable;
[inProtocol readSetEnd];




© 2015 - 2025 Weber Informatics LLC | Privacy Policy