![]() |
The Gaudi Framework
master (1304469f)
|
Classes | |
| class | _DictHelper |
| class | _ListHelper |
| class | _SetHelper |
| class | BoolSemantics |
| class | ComponentHandleSemantics |
| class | ComponentSemantics |
| class | DefaultSemantics |
| class | FloatSemantics |
| class | GaudiHandleArraySemantics |
| class | IntSemantics |
| class | MappingSemantics |
| class | OrderedSetSemantics |
| class | PropertySemantics |
| class | SequenceSemantics |
| class | SetSemantics |
| class | StringSemantics |
Functions | |
| extract_template_args (cpp_type) | |
| getSemanticsFor (cpp_type, strict=False) | |
Variables | |
| _log = logging.getLogger(__name__) | |
| int | is_64bits = sys.maxsize > 2**32 |
| str | _IDENTIFIER_RE = r"[a-zA-Z_][a-zA-Z0-9_]*" |
| str | _NS_IDENT_RE = r"{ident}(::{ident})*".format(ident=_IDENTIFIER_RE) |
| str | _COMMA_SEPARATION_RE = r"{exp}(,{exp})*" |
| list | SEMANTICS |
| GaudiConfig2.semantics.extract_template_args | ( | cpp_type | ) |
Return an iterator over the list of template arguments in a C++ type
string.
>>> t = 'map<string, vector<int, allocator<int> >, allocator<v<i>, a<i>> >'
>>> list(extract_template_args(t))
['string', 'vector<int, allocator<int> >', 'allocator<v<i>, a<i>>']
>>> list(extract_template_args('int'))
[]
Definition at line 351 of file semantics.py.
| GaudiConfig2.semantics.getSemanticsFor | ( | cpp_type, | |
| strict = False ) |
Return semantics for given type. If no type-specific semantics can be found return DefaultSemantics. In strict mode, raise a TypeError instead.
Definition at line 738 of file semantics.py.
|
protected |
Definition at line 204 of file semantics.py.
|
protected |
Definition at line 202 of file semantics.py.
|
protected |
Definition at line 22 of file semantics.py.
|
protected |
Definition at line 203 of file semantics.py.
| int GaudiConfig2.semantics.is_64bits = sys.maxsize > 2**32 |
Definition at line 23 of file semantics.py.
| list GaudiConfig2.semantics.SEMANTICS |
Definition at line 729 of file semantics.py.