Lines Matching refs:class_name
132 def FormatRpcPrototype(is_server, class_name, indent, rpc):
162 s = '%s %s%s(\n' % (ret_type, class_name, rpc['name'])
185 class_name = spec['name'] + suffix
187 s += 'class %s {\n public:\n' % class_name
190 s += '\n private:\n %s();\n' % class_name
191 s += ' %s(const %s&);\n' % (class_name, class_name)
192 s += ' void operator=(const %s);\n' % class_name
193 s += '}; // class %s\n\n' % class_name
230 def FormatCall(class_name, indent, rpc):
265 s = '%s::%s(\n%s rpc,\n' % (class_name, rpc['name'], indent)
276 class_name = spec['name'] + 'Server'
284 s += ' %s;\n' % FormatCall(class_name, ' ', rpc)
289 class_name = spec['name'] + 'Server'
363 class_name = spec['name'] + 'Client'
366 s += '%s {\n' % FormatRpcPrototype('', class_name + '::', '', rpc)