ifcReader::IfcFile Class Reference

List of all members.

Public Member Functions

def __init__
def getEntitiesByName
def getEntityById
def nextString
def parseAttribute
def parseAttributes
def parseLine
def read

Public Attributes

 file
 filename
 header
 schema

Static Public Attributes

dictionary entsById = {}
dictionary entsByName = {}

Detailed Description

Parses an ifc file given by filename, entities can be retrieved by name and id
The whole file is stored in a dictionary (in memory)

Definition at line 148 of file ifcReader.py.


Member Function Documentation

def ifcReader::IfcFile::__init__ (   self,
  filename,
  schema 
)

Definition at line 157 of file ifcReader.py.

def ifcReader::IfcFile::getEntitiesByName (   self,
  name 
)

Definition at line 168 of file ifcReader.py.

def ifcReader::IfcFile::getEntityById (   self,
  id 
)

Definition at line 165 of file ifcReader.py.

def ifcReader::IfcFile::nextString (   self,
  s,
  start 
)
Parse the data part of a line

Definition at line 260 of file ifcReader.py.

def ifcReader::IfcFile::parseAttribute (   self,
  attr_str 
)
Map a single attribute to a python type (recursively)

Definition at line 233 of file ifcReader.py.

def ifcReader::IfcFile::parseAttributes (   self,
  ent_name,
  attrs_str 
)
Parse the attributes of a line

Definition at line 211 of file ifcReader.py.

def ifcReader::IfcFile::parseLine (   self,
  line 
)
Parse a line 

Definition at line 196 of file ifcReader.py.

def ifcReader::IfcFile::read (   self  ) 
Returns 2 dictionaries, entById and entsByName

Definition at line 171 of file ifcReader.py.


Member Data Documentation

dictionary ifcReader::IfcFile::entsById = {} [static]

Definition at line 154 of file ifcReader.py.

dictionary ifcReader::IfcFile::entsByName = {} [static]

Definition at line 155 of file ifcReader.py.

Definition at line 160 of file ifcReader.py.

Definition at line 158 of file ifcReader.py.

Definition at line 161 of file ifcReader.py.

Definition at line 159 of file ifcReader.py.


The documentation for this class was generated from the following file:

Generated on Wed Nov 23 19:02:12 2011 for FreeCAD by  doxygen 1.6.1