def getcmap(self, platformID, platEncID):
    for subtable in self.tables:
        if ((subtable.platformID == platformID) and (subtable.platEncID == platEncID)):
            return subtable
    return None
def getcmap(self, platformID, platEncID):
    for subtable in self.tables:
        if ((subtable.platformID == platformID) and (subtable.platEncID == platEncID)):
            return subtable
    return None