ifcopenshell.express.schema_class

Module Contents

class ifcopenshell.express.schema_class.EarlyBoundCodeWriter(schema_name)
aggregation_type(aggr_type, bound1, bound2, decl_type)
begin_schema()
declare(definition_type, name)
entity(name, type)
entity_attributes(name, attribute_definitions, is_derived)
entity_subtypes(name, tys)
enumeration(name, enum)
finalize(can_be_instantiated_set)
inverse_attributes(name, inv_attrs)
named_type(type)
select(name, type)
simple_type(type)
typedef(name, declared_type)
names = []
schema_name
schema_name_title
statements
strings
class ifcopenshell.express.schema_class.LateBoundSchemaInstantiator(schema_name)
aggregation_type(aggr_type, bound1, bound2, decl_type)
begin_schema()
declare(definition_type, name)
disown()
entity(name, type)
entity_attributes(name, attribute_definitions, is_derived)
entity_subtypes(name, tys)
enumeration(name, enum)
finalize(can_be_instantiated_set, override_schema_name=None)
inverse_attributes(name, inv_attrs)
named_type(type)
select(name, type)
simple_type(type)
typedef(name, declared_type)
cache = []
declarations
names = []
schema_name
schema_name_title
class ifcopenshell.express.schema_class.SchemaClass(mapping: SchemaClass.__init__.mapping, code=EarlyBoundCodeWriter)

Bases: codegen.Base

can_be_instantiated_set
code
collections_by_type
declarations_by_index = []
declared_types = []
emitted
file_name
len_to_emit
num_declarations
schema_name
str
subtypes
x
class ifcopenshell.express.schema_class.string_pool(fn)
append(v)
di
fn
ifcopenshell.express.schema_class.Generator