ifcopenshell.express.schema

Module Contents

class ifcopenshell.express.schema.OrderedCaseInsensitiveDict(*args, **kwargs)

Bases: collections.OrderedDict

dict() -> new empty dictionary dict(mapping) -> new dictionary initialized from a mapping object’s

(key, value) pairs

dict(iterable) -> new dictionary initialized as if via:

d = {} for k, v in iterable:

d[k] = v

dict(**kwargs) -> new dictionary initialized with the name=value pairs

in the keyword argument list. For example: dict(one=1, two=2)

get(key, *args, **kwargs)

Return the value for key if key is in the dictionary, else default.

class ifcopenshell.express.schema.OrderedCaseInsensitiveDict_KeyObject

Bases: str

str(object=’’) -> str str(bytes_or_buffer[, encoding[, errors]]) -> str

Create a new string object from the given object. If encoding or errors is specified, then the object must expose a data buffer that will be decoded using the given encoding and error handler. Otherwise, returns the result of object.__str__() (if defined) or repr(object). encoding defaults to sys.getdefaultencoding(). errors defaults to ‘strict’.

class ifcopenshell.express.schema.Schema(parsetree: pyparsing.ParseResults)
is_entity(v)
is_enumeration(v)
is_select(v)
is_simpletype(v)
is_type(v)
all_declarations
declarations
entities
enumerations
functions
keys
name
of_type
rules
schema
schema_declarations
selects
simpletypes
sort
tree
types