@@ -65,17 +65,19 @@ class IfcFile {
6565 IfcFile (bool create_latebound_entities = false );
6666 ~IfcFile ();
6767
68- // / Returns the first entity in the file, this probably is the entity with the lowest id (EXPRESS ENTITY_INSTANCE_NAME)
68+ // / Returns the first entity in the file, this probably is the entity
69+ // / with the lowest id (EXPRESS ENTITY_INSTANCE_NAME)
6970 const_iterator begin () const ;
70- // / Returns the last entity in the file, this probably is the entity with the highes id (EXPRESS ENTITY_INSTANCE_NAME)
71+ // / Returns the last entity in the file, this probably is the entity
72+ // / with the highest id (EXPRESS ENTITY_INSTANCE_NAME)
7173 const_iterator end () const ;
7274
7375 // / Returns all entities in the file that match the template argument.
7476 // / NOTE: This also returns subtypes of the requested type, for example:
7577 // / IfcWall will also return IfcWallStandardCase entities
7678 template <class T >
77- typename T::list::ptr EntitiesByType () {
78- IfcEntityList::ptr untyped_list = EntitiesByType (T::Class ());
79+ typename T::list::ptr entitiesByType () {
80+ IfcEntityList::ptr untyped_list = entitiesByType (T::Class ());
7981 if (untyped_list) {
8082 return untyped_list->as <T>();
8183 } else {
@@ -86,21 +88,21 @@ class IfcFile {
8688 // / Returns all entities in the file that match the positional argument.
8789 // / NOTE: This also returns subtypes of the requested type, for example:
8890 // / IfcWall will also return IfcWallStandardCase entities
89- IfcEntityList::ptr EntitiesByType (IfcSchema::Type::Enum t);
91+ IfcEntityList::ptr entitiesByType (IfcSchema::Type::Enum t);
9092
9193 // / Returns all entities in the file that match the positional argument.
9294 // / NOTE: This also returns subtypes of the requested type, for example:
9395 // / IfcWall will also return IfcWallStandardCase entities
94- IfcEntityList::ptr EntitiesByType (const std::string& t);
96+ IfcEntityList::ptr entitiesByType (const std::string& t);
9597
9698 // / Returns all entities in the file that reference the id
97- IfcEntityList::ptr EntitiesByReference (int id);
99+ IfcEntityList::ptr entitiesByReference (int id);
98100
99101 // / Returns the entity with the specified id
100- IfcUtil::IfcBaseClass* EntityById (int id);
102+ IfcUtil::IfcBaseClass* entityById (int id);
101103
102104 // / Returns the entity with the specified GlobalId
103- IfcSchema::IfcRoot* EntityByGuid (const std::string& guid);
105+ IfcSchema::IfcRoot* entityByGuid (const std::string& guid);
104106
105107 // / Performs a depth-first traversal, returning all entity instance
106108 // / attributes as a flat list. NB: includes the root instance specified
@@ -117,7 +119,7 @@ class IfcFile {
117119 unsigned int FreshId () { return ++MaxId; }
118120
119121 IfcUtil::IfcBaseClass* addEntity (IfcUtil::IfcBaseClass* entity);
120- void AddEntities (IfcEntityList::ptr es);
122+ void addEntities (IfcEntityList::ptr es);
121123
122124 void removeEntity (IfcUtil::IfcBaseClass* entity);
123125
0 commit comments