This class implements classic strategy of deviding classes to files
one class in one header + source files.
|
__init__(self,
extmodule,
directory_path,
write_main=True,
files_sum_repository=None,
encoding=' ascii ' )
Constructor. |
source code
|
|
|
|
|
create_dir(self,
directory_path)
Create the output directory if it doesn't already exist. |
source code
|
|
|
|
|
associated_decl_creators(self,
creator)
references to all class declaration code creators. |
source code
|
|
|
|
str
|
|
|
find_out_value_traits_header(self,
code_creator) |
source code
|
|
|
create_include_code(self,
creators,
head_headers=None,
tail_headers=None) |
source code
|
|
|
|
str
|
|
|
|
|
|
|
|
|
create_value_traits_header_name(self,
value_class) |
source code
|
|
|
split_value_traits(self,
value_traits)
Write the value_traits class to header file, that will be included
from files, that uses indexing suite 2 |
source code
|
|
|
|
|
split_creators(self,
creators,
pattern,
function_name,
registrator_pos)
Write non-class creators into a particular .h/.cpp file. |
source code
|
|
|
split_enums(self)
Write all enumerations into a separate .h/.cpp file. |
source code
|
|
|
split_global_variables(self)
Write all global variables into a separate .h/.cpp file. |
source code
|
|
|
split_free_functions(self)
Write all free functions into a separate .h/.cpp file. |
source code
|
|
|
|
Inherited from writer.writer_t :
get_user_headers ,
save_exposed_decls_db ,
write_code_repository
|