code: def ctype_class(self):
          
          def vec_factory(elemType):
              """Summary
  
              Args:
                  elemType (TYPE): Description
  
              Returns:
                  TYPE: Description
              """
              class Vec(Structure):
                  """Summary
                  """
                  _fields_ = [
                      ("ptr", POINTER(elemType.ctype_class)),
                      ("size", c_long),
                  ]
              return Vec
  
          if self.elemType not in WeldVec._singletons:
              WeldVec._singletons[self.elemType] = vec_factory(self.elemType)
          return WeldVec._singletons[self.elemType]
docs: Summary
  
          Returns:
              TYPE: Description