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

cocoagen.writeMap.m Maven / Gradle / Ivy

There is a newer version: 21.5.0
Show newest version
[outProtocol writeMapBeginWithKeyType: TType_{{keyWireConstType}} valueType: TType_{{valueWireConstType}} size: (int)[{{name}} count]];
for (id {{keyName}}_id in {{name}}) {
    {{keyType}}{{#keyReadWriteInfo}}{{#isStruct}} *{{/isStruct}}{{/keyReadWriteInfo}} {{keyName}};
    {{valueType}}{{#valueReadWriteInfo}}{{#isStruct}} *{{/isStruct}}{{/valueReadWriteInfo}} {{valueName}};
    id {{valueName}}_id = [{{name}} objectForKey:{{keyName}}_id];
    {{keyName}} = {{keyGetValueMethod}};
    {{valueName}} = {{valueGetValueMethod}};
{{#keyReadWriteInfo}}
    {{>writeValue}}
{{/keyReadWriteInfo}}
{{#valueReadWriteInfo}}
    {{>writeValue}}
{{/valueReadWriteInfo}}
}
[outProtocol writeMapEnd];




© 2015 - 2025 Weber Informatics LLC | Privacy Policy