#NEWLINE# def get_all_primitive_params( key ) : #NEWLINE# #INDENT# '\n    Simple utility method used to give back a list of all possible primitive data sample types.\n    ' #NEWLINE# params = [ params ] #NEWLINE# for datatype in PRIMITIVE_DATATYPES : #NEWLINE# #INDENT# if ( ( key == 1 ) and ( datatype == 'ascii' ) ) : #NEWLINE# #INDENT# params . append ( '' ) #NEWLINE# #UNINDENT# else : #NEWLINE# #INDENT# params . append ( get_sample ( datatype ) ) #NEWLINE# #UNINDENT# #UNINDENT# return params