#NEWLINE# def get_flattened_size( self ) : #NEWLINE# #INDENT# 'Return the size of a flattened float array containing\n        all values in the vartree that are flattenable to float\n        arrays.  Any values not flattenable to float arrays will\n        raise a NoFlatError.\n        ' #NEWLINE# size = 0 #NEWLINE# for key in self . list_vars ( ) : #NEWLINE# #INDENT# size += flattened_size ( key , getattr ( self , key ) , scope = self ) #NEWLINE# #UNINDENT# return size