mirror of
https://github.com/IfcOpenShell/IfcOpenShell.git
synced 2026-08-30 08:33:10 +00:00
ifcparse: unify private member variables name to use trailing underscore
This commit is contained in:
committed by
Thomas Krijnen
parent
8b145248c6
commit
eea9a14722
@@ -115,12 +115,12 @@ class IFC_PARSE_API IfcWriteArgument : public Argument {
|
||||
std::vector<std::vector<double>>,
|
||||
// An aggregate of an aggregate of entities. E.g. ((#1, #2), (#3))
|
||||
aggregate_of_aggregate_of_instance::ptr>
|
||||
container;
|
||||
container_;
|
||||
|
||||
public:
|
||||
template <typename T>
|
||||
const T& as() const {
|
||||
if (const T* val = boost::get<T>(&container)) {
|
||||
if (const T* val = boost::get<T>(&container_)) {
|
||||
return *val;
|
||||
}
|
||||
throw IfcParse::IfcException("Invalid cast");
|
||||
@@ -129,7 +129,7 @@ class IFC_PARSE_API IfcWriteArgument : public Argument {
|
||||
template <typename T>
|
||||
typename boost::disable_if<boost::is_base_of<IfcUtil::IfcBaseInterface, typename boost::remove_pointer<T>::type>, void>::type
|
||||
set(const T& t) {
|
||||
container = t;
|
||||
container_ = t;
|
||||
}
|
||||
|
||||
// Overload to detect null values
|
||||
|
||||
Reference in New Issue
Block a user