def ArrayOf(self, unused_variable, type_name):
    """Take a type name and return the syntax for an array of them.

    Overrides the default.

    Args:
      unused_variable: (DataType) the data we want an array of.
      type_name: (str) A type name.
    Returns:
      A language specific string meaning "an array of type_name".
    """
    # TODO(user): 20120817
    # Need to figure out whether the type is a primitive or not, then
    # return appropriate array type (data, string or primitive).
    return '%s::JsonCppArray<%s >' % (self.client_namespace_, type_name)
dataset/ETHPy150Open google/apis-client-generator/src/googleapis/codegen/cpp_generator.py/CppLanguageModel.ArrayOf/original