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) |
Variables | |
string | __author__ = 'Miguel Ojeda' |
string | __copyright__ = 'Copyright 2014, CERN' |
list | __credits__ = ['Giacomo Govi', 'Miguel Ojeda', 'Andreas Pfeiffer'] |
string | __email__ = 'mojedasa@cern.ch' |
string | __license__ = 'Unknown' |
string | __maintainer__ = 'Miguel Ojeda' |
clang_version = None | |
string | headers_template |
string | instantiation_template |
string | serialize_method_base_object_template = ' ar & boost::serialization::make_nvp("{base_object_name_sanitised}", boost::serialization::base_object<{base_object_name}>(*this));' |
string | serialize_method_begin_template |
string | serialize_method_end |
string | serialize_method_member_template = ''' ar & boost::serialization::make_nvp("{member_name_sanitised}", {member_name});''' |
skip_namespaces | |
def condformats_serialization_generate.get_basic_type_string | ( | node | ) |
Definition at line 122 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 348 of file condformats_serialization_generate.py.
References edm.decode(), createfilelist.int, submitPVValidationJobs.split(), and nano_mu_digi_cff.strip.
Referenced by is_friend_decl().
def condformats_serialization_generate.get_default_gcc_search_paths | ( | gcc = 'g++' , |
|
language = 'c++' |
|||
) |
Definition at line 386 of file condformats_serialization_generate.py.
def condformats_serialization_generate.get_diagnostics | ( | translation_unit | ) |
Definition at line 376 of file condformats_serialization_generate.py.
References genParticles_cff.map.
def condformats_serialization_generate.get_flags | ( | product_name, | |
flags | |||
) |
Definition at line 343 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 147 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 105 of file condformats_serialization_generate.py.
References edm.decode().
Referenced by get_serializable_classes_members().
def condformats_serialization_generate.get_type_string | ( | node | ) |
Definition at line 139 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 73 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 360 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 80 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 97 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 369 of file condformats_serialization_generate.py.
def condformats_serialization_generate.main | ( | ) |
Definition at line 571 of file condformats_serialization_generate.py.
References generate().
def condformats_serialization_generate.sanitise | ( | var | ) |
Definition at line 416 of file condformats_serialization_generate.py.
Referenced by condformats_serialization_generate.SerializationCodeGenerator.generate().
def condformats_serialization_generate.split_path | ( | path | ) |
Definition at line 325 of file condformats_serialization_generate.py.
|
private |
Definition at line 17 of file condformats_serialization_generate.py.
|
private |
Definition at line 18 of file condformats_serialization_generate.py.
|
private |
Definition at line 19 of file condformats_serialization_generate.py.
|
private |
Definition at line 22 of file condformats_serialization_generate.py.
|
private |
Definition at line 20 of file condformats_serialization_generate.py.
|
private |
Definition at line 21 of file condformats_serialization_generate.py.
condformats_serialization_generate.clang_version = None |
Definition at line 33 of file condformats_serialization_generate.py.
string condformats_serialization_generate.headers_template |
Definition at line 35 of file condformats_serialization_generate.py.
string condformats_serialization_generate.instantiation_template |
Definition at line 58 of file condformats_serialization_generate.py.
string condformats_serialization_generate.serialize_method_base_object_template = ' ar & boost::serialization::make_nvp("{base_object_name_sanitised}", boost::serialization::base_object<{base_object_name}>(*this));' |
Definition at line 51 of file condformats_serialization_generate.py.
string condformats_serialization_generate.serialize_method_begin_template |
Definition at line 47 of file condformats_serialization_generate.py.
string condformats_serialization_generate.serialize_method_end |
Definition at line 55 of file condformats_serialization_generate.py.
string condformats_serialization_generate.serialize_method_member_template = ''' ar & boost::serialization::make_nvp("{member_name_sanitised}", {member_name});''' |
Definition at line 53 of file condformats_serialization_generate.py.
condformats_serialization_generate.skip_namespaces |
Definition at line 62 of file condformats_serialization_generate.py.