Classes | |
class | SerializationCodeGenerator |
Functions | |
def | get_basic_type_string (node) |
def | get_clang_version () |
def | get_default_gcc_search_paths (gcc='g++', language='c++') |
def | get_diagnostics (translation_unit) |
def | get_flags (product_name, flags) |
def | get_serializable_classes_members (node, all_template_types=None, namespace='', only_from_path=None) |
def | get_statement (node) |
def | get_type_string (node) |
def | is_definition_by_loc (node) |
def | is_friend_decl (memkind) |
def | is_serializable_class (node) |
def | is_serializable_class_manual (node) |
def | log_flags (name, flags) |
def | main () |
def | sanitise (var) |
def | split_path (path) |
CMS Conditions DB Serialization generator. Generates the non-intrusive serialization code required for the classes marked with the COND_SERIALIZABLE macro. The code was taken from the prototype that did many other things as well (finding transients, marking serializable classes, etc.). After removing everything but what is required to build the serialization, the code was made more robust and cleaned up a bit to be integrated on the BoostIO IB. However, the code still needs to be restructured a bit more to improve readability (e.g. name some constants, use a template engine, ask for clang's bindings to be installed along clang itself, etc.).
def condformats_serialization_generate.get_basic_type_string | ( | node | ) |
Definition at line 121 of file condformats_serialization_generate.py.
Referenced by get_serializable_classes_members(), and get_type_string().
def condformats_serialization_generate.get_clang_version | ( | ) |
Extract clang version and set global clang_version and also return the same value.
Definition at line 347 of file condformats_serialization_generate.py.
References createfilelist.int, split, and digi_MixPreMix_cfi.strip.
Referenced by is_friend_decl().
def condformats_serialization_generate.get_default_gcc_search_paths | ( | gcc = 'g++' , |
|
language = 'c++' |
|||
) |
Definition at line 385 of file condformats_serialization_generate.py.
def condformats_serialization_generate.get_diagnostics | ( | translation_unit | ) |
Definition at line 375 of file condformats_serialization_generate.py.
References genParticles_cff.map.
def condformats_serialization_generate.get_flags | ( | product_name, | |
flags | |||
) |
Definition at line 342 of file condformats_serialization_generate.py.
def condformats_serialization_generate.get_serializable_classes_members | ( | node, | |
all_template_types = None , |
|||
namespace = '' , |
|||
only_from_path = None |
|||
) |
Definition at line 146 of file condformats_serialization_generate.py.
References get_basic_type_string(), get_statement(), get_type_string(), is_definition_by_loc(), is_friend_decl(), is_serializable_class(), is_serializable_class_manual(), and join().
def condformats_serialization_generate.get_statement | ( | node | ) |
Definition at line 104 of file condformats_serialization_generate.py.
Referenced by get_serializable_classes_members().
def condformats_serialization_generate.get_type_string | ( | node | ) |
Definition at line 138 of file condformats_serialization_generate.py.
References get_basic_type_string().
Referenced by get_serializable_classes_members().
def condformats_serialization_generate.is_definition_by_loc | ( | node | ) |
Definition at line 72 of file condformats_serialization_generate.py.
Referenced by get_serializable_classes_members(), is_serializable_class(), and is_serializable_class_manual().
def condformats_serialization_generate.is_friend_decl | ( | memkind | ) |
Check if declaration is a friend
Definition at line 359 of file condformats_serialization_generate.py.
References get_clang_version().
Referenced by get_serializable_classes_members().
def condformats_serialization_generate.is_serializable_class | ( | node | ) |
Definition at line 79 of file condformats_serialization_generate.py.
References is_definition_by_loc().
Referenced by get_serializable_classes_members().
def condformats_serialization_generate.is_serializable_class_manual | ( | node | ) |
Definition at line 96 of file condformats_serialization_generate.py.
References is_definition_by_loc().
Referenced by get_serializable_classes_members().
def condformats_serialization_generate.log_flags | ( | name, | |
flags | |||
) |
Definition at line 368 of file condformats_serialization_generate.py.
def condformats_serialization_generate.main | ( | ) |
Definition at line 570 of file condformats_serialization_generate.py.
References models.generate().
def condformats_serialization_generate.sanitise | ( | var | ) |
Definition at line 415 of file condformats_serialization_generate.py.
Referenced by condformats_serialization_generate.SerializationCodeGenerator.generate().
def condformats_serialization_generate.split_path | ( | path | ) |
Definition at line 324 of file condformats_serialization_generate.py.