Class: EasySwig::CSharpClassGenerator
- Inherits:
-
ClassGenerator
- Object
- ClassGenerator
- EasySwig::CSharpClassGenerator
- Defined in:
- lib/csharp/generators/csharp_class_generator.rb
Instance Method Summary collapse
Methods inherited from ClassGenerator
#gen_attributes, #gen_enums, #gen_friends, #gen_innerclasses, #gen_parent_templates, #gen_type_templates, #initialize, #process_types, #process_types_for
Methods included from GeneratorUtil
#_process_type, #enum_snippet, #ignore_enum_values_snippet, #nested_workaround, #process_type, #template_snippet
Methods included from Query
#anonymous_enum?, #get_reference_type, #is_operator?, #is_template?, #is_template_param?, #lookup_typename, #method_has_blacklisted_types?, #name_for_friend, #name_for_operator, #name_for_template, #nested_typenames_for, #no_public_constructors?, #no_public_destructors?, #type_is_blacklisted?, #typename_is_blacklisted?
Methods included from Util
#del_prefix_class, #escape_all, #escape_const_ref_ptr, #escape_template, #gen_dir, #home_dir, #is_primitive?, #is_std?, #lib_dir, #logs_dir, #output_dir, #read_file, #rename_files, #swig_dir, #write_file
Constructor Details
This class inherits a constructor from EasySwig::ClassGenerator
Instance Method Details
#gen_methods ⇒ Object
5 6 7 8 9 10 11 12 |
# File 'lib/csharp/generators/csharp_class_generator.rb', line 5 def gen_methods swig_file = super # Takes the opportunity to also apply partial class typemaps if @api_class.features.partial swig_file << %Q{\n%typemap(csclassmodifiers) #{@api_class.name} "public partial class"\n} end swig_file end |