Flutter Engine
The Flutter Engine
Public Member Functions | Public Attributes | List of all members
scripts.databasebuilder.DatabaseBuilderOptions Class Reference
Inheritance diagram for scripts.databasebuilder.DatabaseBuilderOptions:

Public Member Functions

def __init__ (self, idl_defines=[], source=None, source_attributes={}, rename_operation_arguments_on_merge=False, add_new_interfaces=True, obsolete_old_declarations=False, logging_level=logging.WARNING)
 

Public Attributes

 source
 
 source_attributes
 
 idl_defines
 
 rename_operation_arguments_on_merge
 
 add_new_interfaces
 
 obsolete_old_declarations
 

Detailed Description

Used in specifying options when importing new interfaces

Definition at line 36 of file databasebuilder.py.

Constructor & Destructor Documentation

◆ __init__()

def scripts.databasebuilder.DatabaseBuilderOptions.__init__ (   self,
  idl_defines = [],
  source = None,
  source_attributes = {},
  rename_operation_arguments_on_merge = False,
  add_new_interfaces = True,
  obsolete_old_declarations = False,
  logging_level = logging.WARNING 
)
Constructor.
Args:
idl_defines -- list of definitions for the idl gcc pre-processor
source -- the origin of the IDL file, used for annotating the
database.
source_attributes -- this map of attributes is used as
annotation attributes.
rename_operation_arguments_on_merge -- if True, will rename
operation arguments when merging using the new name rather
than the old.
add_new_interfaces -- when False, if an interface is a new
addition, it will be ignored.
obsolete_old_declarations -- when True, if a declaration
from a certain source is not re-declared, it will be removed.

Definition at line 39 of file databasebuilder.py.

46 logging_level=logging.WARNING):
47 """Constructor.
48 Args:
49 idl_defines -- list of definitions for the idl gcc pre-processor
50 source -- the origin of the IDL file, used for annotating the
51 database.
52 source_attributes -- this map of attributes is used as
53 annotation attributes.
54 rename_operation_arguments_on_merge -- if True, will rename
55 operation arguments when merging using the new name rather
56 than the old.
57 add_new_interfaces -- when False, if an interface is a new
58 addition, it will be ignored.
59 obsolete_old_declarations -- when True, if a declaration
60 from a certain source is not re-declared, it will be removed.
61 """
62 self.source = source
63 self.source_attributes = source_attributes
64 self.idl_defines = idl_defines
65 self.rename_operation_arguments_on_merge = \
66 rename_operation_arguments_on_merge
67 self.add_new_interfaces = add_new_interfaces
68 self.obsolete_old_declarations = obsolete_old_declarations
69 _logger.setLevel(logging_level)
70
71

Member Data Documentation

◆ add_new_interfaces

scripts.databasebuilder.DatabaseBuilderOptions.add_new_interfaces

Definition at line 67 of file databasebuilder.py.

◆ idl_defines

scripts.databasebuilder.DatabaseBuilderOptions.idl_defines

Definition at line 64 of file databasebuilder.py.

◆ obsolete_old_declarations

scripts.databasebuilder.DatabaseBuilderOptions.obsolete_old_declarations

Definition at line 68 of file databasebuilder.py.

◆ rename_operation_arguments_on_merge

scripts.databasebuilder.DatabaseBuilderOptions.rename_operation_arguments_on_merge

Definition at line 65 of file databasebuilder.py.

◆ source

scripts.databasebuilder.DatabaseBuilderOptions.source

Definition at line 62 of file databasebuilder.py.

◆ source_attributes

scripts.databasebuilder.DatabaseBuilderOptions.source_attributes

Definition at line 63 of file databasebuilder.py.


The documentation for this class was generated from the following file: