code: def from_string(cls, string):
          
          cls.TYPE.setParseAction(cls.make)
          try:
              return cls.TYPE.parseString(string, parseAll=True)[0]
          except ParseException:
              log.error("Failed to parse '{0}'".format(string))
              raise
docs: Parse ``string`` into a CPPType instance