parameters: (self, type_code)
return_statement: return cases.get(self.m_inv_types[type_code], None)
docstring: If type_code is an vector value, return its (element type, size) pair else None.
docstring_summary: If type_code is an vector value, return its (element type, size) pair else None.
docstring_tokens: If type_code is an vector value return its ( element type size ) pair else None .
function: def get_vector_type_and_size(self, type_code):
  		"""If type_code is an vector value, return its (element type, size) pair else None."""
  		cases = {
  			"bool2":   ("bool",   2),
  			"bool3":   ("bool",   3),
  			"bool4":   ("bool",   4),
  			"int2":    ("int",    2),
  			"int3":    ("int",    3),
  			"int4":    ("int",    4),
  			"float2":  ("float",  2),
  			"float3":  ("float",  3),
  			"float4":  ("float",  4),
  			"double2": ("double", 2),
  			"double3": ("double", 3),
  			"double4": ("double", 4),
  			"color":   ("float",  3)
  		}
  		return cases.get(self.m_inv_types[type_code], None)
function_tokens: def get_vector_type_and_size ( self , type_code ) : cases = { "bool2" : ( "bool" , 2 ) , "bool3" : ( "bool" , 3 ) , "bool4" : ( "bool" , 4 ) , "int2" : ( "int" , 2 ) , "int3" : ( "int" , 3 ) , "int4" : ( "int" , 4 ) , "float2" : ( "float" , 2 ) , "float3" : ( "float" , 3 ) , "float4" : ( "float" , 4 ) , "double2" : ( "double" , 2 ) , "double3" : ( "double" , 3 ) , "double4" : ( "double" , 4 ) , "color" : ( "float" , 3 ) } return cases . get ( self . m_inv_types [ type_code ] , None )