Package pygccxml :: Package declarations :: Module matchers :: Class variable_matcher_t

type variable_matcher_t

source code

       object --+        
                |        
   matcher_base_t --+    
                    |    
declaration_matcher_t --+
                        |
                       variable_matcher_t

Instance of this class will match variables by next criteria:

Instance Methods
 
__init__(self, name=None, type=None, header_dir=None, header_file=None) source code
 
__call__(self, decl) source code
 
__str__(self) source code

Inherited from declaration_matcher_t: check_name, is_full_name

Inherited from matcher_base_t: __and__, __invert__, __or__

Properties

Inherited from declaration_matcher_t: decl_name_only, name

Method Details

__init__(self, name=None, type=None, header_dir=None, header_file=None)
(Constructor)

source code 
Parameters:
  • type (string or instance of type_t derived class) - variable type
Overrides: matcher_base_t.__init__

__call__(self, decl)
(Call operator)

source code 
Overrides: matcher_base_t.__call__

__str__(self)
(Informal representation operator)

source code 
Overrides: matcher_base_t.__str__