ifcopenshell.express.schema#

Module Contents#

ifcopenshell.express.schema.OrderedDict#
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)

Initialize self. See help(type(self)) for accurate signature.

__contains__(self, key)#

True if the dictionary has the specified key, else False.

__delitem__(self, key)#

Delete self[key].

__getitem__(self, key)#

x.__getitem__(y) <==> x[y]

__setitem__(self, key, value)#

Set self[key] to value.

get(self, 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’.

Initialize self. See help(type(self)) for accurate signature.

__eq__(self, other)#

Return self==value.

__hash__(self)#

Return hash(self).

class ifcopenshell.express.schema.Schema(parsetree)#
__getitem__(self, key)#
__iter__(self)#
__len__(self)#
is_entity(self, v)#
is_enumeration(self, v)#
is_select(self, v)#
is_simpletype(self, v)#
is_type(self, v)#