mirror of
https://github.com/IfcOpenShell/IfcOpenShell.git
synced 2026-09-10 06:00:51 +00:00
Make header values writable
This commit is contained in:
@@ -122,11 +122,12 @@ namespace IfcParse {
|
||||
class ArgumentList: public Argument {
|
||||
private:
|
||||
std::vector<Argument*> list;
|
||||
void Push(Argument* l);
|
||||
void push(Argument* l);
|
||||
public:
|
||||
ArgumentList(IfcSpfLexer* t, std::vector<unsigned int>& ids);
|
||||
~ArgumentList();
|
||||
|
||||
void read(IfcSpfLexer* t, std::vector<unsigned int>& ids);
|
||||
|
||||
IfcUtil::ArgumentType type() const;
|
||||
|
||||
operator int() const;
|
||||
@@ -140,7 +141,10 @@ namespace IfcParse {
|
||||
operator IfcEntityList::ptr() const;
|
||||
operator IfcEntityListList::ptr() const;
|
||||
unsigned int size() const;
|
||||
|
||||
Argument* operator [] (unsigned int i) const;
|
||||
void set(unsigned int i, Argument*);
|
||||
|
||||
std::string toString(bool upper=false) const;
|
||||
bool isNull() const;
|
||||
};
|
||||
@@ -206,7 +210,7 @@ namespace IfcParse {
|
||||
/// ============================
|
||||
class Entity : public IfcAbstractEntity {
|
||||
private:
|
||||
mutable Argument* args;
|
||||
mutable ArgumentList* args;
|
||||
mutable IfcSchema::Type::Enum _type;
|
||||
public:
|
||||
/// The EXPRESS ENTITY_INSTANCE_NAME
|
||||
|
||||
Reference in New Issue
Block a user