this class implements the functionality needed for convinient work
with STD container classes.
This class tries to be useful as much, as possible. For example, for
class declaration( and not definition ) it parsers the class name in
order to extract all the information.
|
__init__(self,
container_name,
element_type_index,
element_type_typedef,
defaults_remover,
key_type_index=None,
key_type_typedef=None)
container_name - std container name... |
source code
|
|
|
|
|
get_container_or_none(self,
type)
returns reference to the class declaration or None |
source code
|
|
|
is_my_case(self,
type)
checks, whether type is STD container or not |
source code
|
|
|
class_declaration(self,
type)
returns reference to the class declaration |
source code
|
|
|
|
|
|
|
element_type(self,
type)
returns reference to the class value\mapped type declaration |
source code
|
|
|
key_type(self,
type)
returns reference to the class key type declaration |
source code
|
|
|
|