parameters: (self, input_file)
return_statement: return False
docstring: Copies the nodes of an input file into the tree
          Input:
              input_file[InputFile]: Input file to copy
          Return:
              bool: True if successfull
docstring_summary: Copies the nodes of an input file into the tree
          Input:
              input_file[InputFile]: Input file to copy
          Return:
              bool: True if successfull
docstring_tokens: Copies the nodes of an input file into the tree Input : input_file [ InputFile ] : Input file to copy Return : bool : True if successfull
function: def _setInputFile(self, input_file):
          """
          Copies the nodes of an input file into the tree
          Input:
              input_file[InputFile]: Input file to copy
          Return:
              bool: True if successfull
          """
          self.input_has_errors = False
          if not input_file.root_node:
              return False
          self.input_file = input_file
          self.input_filename = input_file.filename
  
          if self.app_info.valid():
              self._copyDefaultTree()
              self.root.comments = self._getComments(self.input_file.root_node)
              active = self._readParameters(self.input_file.root_node, "/")
              for root_node in self.input_file.root_node.children(node_type=hit.NodeType.Section):
                  self._addInputFileNode(root_node, root_node.path() in active)
                  if root_node.path() not in self.root.children_write_first:
                      self.root.children_write_first.append(root_node.path())
              return True
          return False
function_tokens: def _setInputFile ( self , input_file ) : self . input_has_errors = False if not input_file . root_node : return False self . input_file = input_file self . input_filename = input_file . filename if self . app_info . valid ( ) : self . _copyDefaultTree ( ) self . root . comments = self . _getComments ( self . input_file . root_node ) active = self . _readParameters ( self . input_file . root_node , "/" ) for root_node in self . input_file . root_node . children ( node_type = hit . NodeType . Section ) : self . _addInputFileNode ( root_node , root_node . path ( ) in active ) if root_node . path ( ) not in self . root . children_write_first : self . root . children_write_first . append ( root_node . path ( ) ) return True return False