Synopsis - Synopsis.DeclarationSorter.DeclarationSorter

module Synopsis.DeclarationSorter
class DeclarationSorter
File: ../Synopsis/DeclarationSorter.py
Sort declarations by type and accessibility.
Protected Methods Summary:
_section_of(self, decl, name = None)
Generate a section name for the given declaration.
_add_declaration(self, decl, section)
Adds the given declaration with given name and section.
Attributes Summary:
__sections
__sorted_keys
Class attributes Summary:
struct_as_class
group_as_section
Methods Summary:
__init__(self, declarations = None, * * args)
__iter__(self)
__getitem__(self, i)
get(self, * args)
has_key(self, k)
keys(self)
values(self)
visit_declaration(self, decl)
visit_builtin(self, decl)
visit_macro(self, decl)
visit_forward(self, decl)
visit_group(self, group)
visit_scope(self, decl)
visit_class_template(self, decl)
visit_function(self, decl)
visit_function_template(self, decl)
Protected Methods Details:
_section_of(self, decl, name = None)
Generate a section name for the given declaration.
_add_declaration(self, decl, section)
Adds the given declaration with given name and section.
Generated on Thu Apr 16 16:26:54 2009 by
synopsis (version devel)