mirror of
https://github.com/IfcOpenShell/IfcOpenShell.git
synced 2026-09-22 16:31:10 +00:00
IfcOpenShell v0.6.0 as subrepo
This commit is contained in:
committed by
Thomas Krijnen
parent
031fd1baff
commit
afaa34ffc2
@@ -243,7 +243,7 @@ namespace IfcParse {
|
|||||||
|
|
||||||
std::vector<const inverse_attribute*> inverse_attributes_;
|
std::vector<const inverse_attribute*> inverse_attributes_;
|
||||||
|
|
||||||
class attribute_by_name_cmp : public std::unary_function<const attribute*, bool> {
|
class attribute_by_name_cmp {
|
||||||
private:
|
private:
|
||||||
std::string name_;
|
std::string name_;
|
||||||
public:
|
public:
|
||||||
@@ -399,14 +399,14 @@ namespace IfcParse {
|
|||||||
std::vector<const enumeration_type*> enumeration_types_;
|
std::vector<const enumeration_type*> enumeration_types_;
|
||||||
std::vector<const entity*> entities_;
|
std::vector<const entity*> entities_;
|
||||||
|
|
||||||
class declaration_by_name_cmp : public std::binary_function<const declaration*, const std::string&, bool> {
|
class declaration_by_name_cmp {
|
||||||
public:
|
public:
|
||||||
bool operator()(const declaration* decl, const std::string& name) {
|
bool operator()(const declaration* decl, const std::string& name) {
|
||||||
return decl->name_lc() < name;
|
return decl->name_lc() < name;
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
class declaration_by_index_sort : public std::binary_function<const declaration*, const declaration*, bool> {
|
class declaration_by_index_sort {
|
||||||
public:
|
public:
|
||||||
bool operator()(const declaration* a, const declaration* b) {
|
bool operator()(const declaration* a, const declaration* b) {
|
||||||
return a->index_in_schema() < b->index_in_schema();
|
return a->index_in_schema() < b->index_in_schema();
|
||||||
|
|||||||
Reference in New Issue
Block a user