type mdecl_wrapper_t
source code
object --+
|
mdecl_wrapper_t
Multiple declarations wrapper.
The main purpose of this class is to allow an user to work on many
declarations, as they were only one single declaration.
Example: mb = module_builder_t( ... ) #lets say we want to exclude all
member functions, that returns reference to int: mb.member_functions(
return_type='int &' ).exclude()
"exclude" function will be called on every function that
match the criteria.
|
|
|
|
|
__len__(self)
returns the number of declarations |
source code
|
|
|
__getitem__(self,
index)
provides access to declaration |
source code
|
|
|
|
|
|
|
|
|
|
|
|
- Parameters:
decls (list of declaration wrappers ) - list of declarations to operate on.
- Overrides:
object.__init__
|
Updates the value of attribute on all declarations.
- Parameters:
name - name of attribute
value - new value of attribute
- Overrides:
object.__setattr__
|
__getattr__(self,
name)
(Qualification operator)
| source code
|
- Parameters:
|