mirror of
https://github.com/IfcOpenShell/IfcOpenShell.git
synced 2026-09-19 22:50:21 +00:00
add to_string() method in ifcopenshell.file
This commit is contained in:
@@ -90,6 +90,12 @@ static IfcUtil::ArgumentType helper_fn_attribute_type(const IfcUtil::IfcBaseClas
|
|||||||
f << (*$self);
|
f << (*$self);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
std::string to_string() {
|
||||||
|
std::stringstream s;
|
||||||
|
s << (*$self);
|
||||||
|
return s.str();
|
||||||
|
}
|
||||||
|
|
||||||
std::vector<unsigned> entity_names() const {
|
std::vector<unsigned> entity_names() const {
|
||||||
std::vector<unsigned> keys;
|
std::vector<unsigned> keys;
|
||||||
keys.reserve(std::distance($self->begin(), $self->end()));
|
keys.reserve(std::distance($self->begin(), $self->end()));
|
||||||
|
|||||||
Reference in New Issue
Block a user