class_docstr: This class is a placeholder for the values of the standard lines of a
  DataBase class (from OHLCDateTime)
  
  It inherits from AutoOrderedDict to be able to easily return the values as
  an iterable and address the keys as attributes
  
  Order of definition is important and must match that of the lines
  definition in DataBase (which directly inherits from OHLCDateTime)
docstr: Updates a bar with the values from data
  
  Returns True if the update was the 1st on a bar (just opened)
  
  Returns False otherwise
docstr_tok: ["Updates","a","bar","with","the","values","from","data","Returns","True","if","the","update","was","the","1st","on","a","bar","(","just","opened",")","Returns","False","otherwise"]
code: def bupdate(self, data, reopen=False):
      """Updates a bar with the values from data
  
      Returns True if the update was the 1st on a bar (just opened)
  
      Returns False otherwise
      """
      if reopen:
          self.bstart()
  
      self.datetime = data.datetime[0]
  
      self.high = max(self.high, data.high[0])
      self.low = min(self.low, data.low[0])
      self.close = data.close[0]
  
      self.volume += data.volume[0]
      self.openinterest = data.openinterest[0]
  
      o = self.open
      if reopen or not o == o:
          self.open = data.open[0]
          return True  # just opened the bar
  
      return False
  
imports: from __future__ import absolute_import, division, print_function, unicode_literals
  import datetime
  from datetime import datetime
  import inspect
  from .utils.py3 import range, with_metaclass
  from .lineseries import LineSeries
  from .utils import AutoOrderedDict, OrderedDict, date2num
label_desc: Use image node_id 4 for calling the _Bar obj's underlying member method code with example usage: obj.bupdate(data, reopen) and returns: False, True