mirror of
https://github.com/IfcOpenShell/IfcOpenShell.git
synced 2026-09-27 02:31:09 +00:00
IfcSchema: provide arg names for register_schema, schema_by_name
This commit is contained in:
@@ -1812,8 +1812,8 @@ def open(fn: str, readonly: bool = False, logger=None) -> file: ...
|
|||||||
def parse_ifcxml(filename, logger=None): ...
|
def parse_ifcxml(filename, logger=None): ...
|
||||||
def polygons_to_svg(*args): ...
|
def polygons_to_svg(*args): ...
|
||||||
def read(data): ...
|
def read(data): ...
|
||||||
def register_schema(arg1): ...
|
def register_schema(schema: schema_definition) -> None: ...
|
||||||
def schema_by_name(arg1: str) -> schema_definition: ...
|
def schema_by_name(schema_name: str) -> schema_definition: ...
|
||||||
def schema_names() -> tuple[str, ...]: ...
|
def schema_names() -> tuple[str, ...]: ...
|
||||||
def serialise(schema_name, shape_str, advanced=True): ...
|
def serialise(schema_name, shape_str, advanced=True): ...
|
||||||
def set_feature(x, v): ...
|
def set_feature(x, v): ...
|
||||||
|
|||||||
@@ -513,11 +513,11 @@ class IFC_PARSE_API schema_definition {
|
|||||||
IfcUtil::IfcBaseClass* instantiate(const IfcParse::declaration* decl, IfcEntityInstanceData&& data) const;
|
IfcUtil::IfcBaseClass* instantiate(const IfcParse::declaration* decl, IfcEntityInstanceData&& data) const;
|
||||||
};
|
};
|
||||||
|
|
||||||
IFC_PARSE_API const schema_definition* schema_by_name(const std::string&);
|
IFC_PARSE_API const schema_definition* schema_by_name(const std::string& schema_name);
|
||||||
|
|
||||||
IFC_PARSE_API std::vector<std::string> schema_names();
|
IFC_PARSE_API std::vector<std::string> schema_names();
|
||||||
|
|
||||||
IFC_PARSE_API void register_schema(schema_definition*);
|
IFC_PARSE_API void register_schema(schema_definition* schema);
|
||||||
|
|
||||||
IFC_PARSE_API void clear_schemas();
|
IFC_PARSE_API void clear_schemas();
|
||||||
} // namespace IfcParse
|
} // namespace IfcParse
|
||||||
|
|||||||
Reference in New Issue
Block a user