parameters: (self)
return_statement: return result
docstring: Retrieve the number of elements in this type.
  
          Returns an int.
  
          If the Type is not an array or vector, this raises.
docstring_summary: Retrieve the number of elements in this type.
docstring_tokens: Retrieve the number of elements in this type .
function: def element_count(self):
          """Retrieve the number of elements in this type.
  
          Returns an int.
  
          If the Type is not an array or vector, this raises.
          """
          result = conf.lib.clang_getNumElements(self)
          if result < 0:
              raise Exception('Type does not have elements.')
  
          return result
function_tokens: def element_count ( self ) : result = conf . lib . clang_getNumElements ( self ) if result < 0 : raise Exception ( 'Type does not have elements.' ) return result