parameters: (name: str)
docstring: Get the type corresponding to the provided C primitive type name.
docstring_summary: Get the type corresponding to the provided C primitive type name.
docstring_tokens: Get the type corresponding to the provided C primitive type name .
function: def GetCType(name: str) -> Optional["itkCType"]:
          # import locally to facilitate dynamic loading in itk/__init__.py
          from typing import Dict
  
          """Get the type corresponding to the provided C primitive type name."""
          aliases: Dict[str, str] = {
              "short": "signed short",
              "int": "signed int",
              "long": "signed long",
              "long long": "signed long long",
          }
          # Remove potential white space around types
          name = name.strip()
          desired_name: str = aliases.get(name, name)
          try:
              return itkCType.__c_types__[desired_name]
          except KeyError:
              return None
function_tokens: def GetCType ( name : str ) -> Optional [ "itkCType" ] : # import locally to facilitate dynamic loading in itk/__init__.py from typing import Dict aliases : Dict [ str , str ] = { "short" : "signed short" , "int" : "signed int" , "long" : "signed long" , "long long" : "signed long long" , } # Remove potential white space around types name = name . strip ( ) desired_name : str = aliases . get ( name , name ) try : return itkCType . __c_types__ [ desired_name ] except KeyError : return None