IfcSchema: provide arg names for register_schema, schema_by_name

This commit is contained in:
Andrej730
2026-07-24 16:48:51 +05:00
parent b14df627d7
commit 4a20b67038
2 changed files with 4 additions and 4 deletions
@@ -1812,8 +1812,8 @@ def open(fn: str, readonly: bool = False, logger=None) -> file: ...
def parse_ifcxml(filename, logger=None): ...
def polygons_to_svg(*args): ...
def read(data): ...
def register_schema(arg1): ...
def schema_by_name(arg1: str) -> schema_definition: ...
def register_schema(schema: schema_definition) -> None: ...
def schema_by_name(schema_name: str) -> schema_definition: ...
def schema_names() -> tuple[str, ...]: ...
def serialise(schema_name, shape_str, advanced=True): ...
def set_feature(x, v): ...
+2 -2
View File
@@ -513,11 +513,11 @@ class IFC_PARSE_API schema_definition {
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 void register_schema(schema_definition*);
IFC_PARSE_API void register_schema(schema_definition* schema);
IFC_PARSE_API void clear_schemas();
} // namespace IfcParse