OmniSciDB  72c90bc290
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
heavydb.thrift.ttypes.TRawPixelData Class Reference
+ Inheritance diagram for heavydb.thrift.ttypes.TRawPixelData:
+ Collaboration diagram for heavydb.thrift.ttypes.TRawPixelData:

Public Member Functions

def __init__
 
def read
 
def write
 
def validate
 
def __repr__
 
def __eq__
 
def __ne__
 

Public Attributes

 width
 
 height
 
 render_pass_map
 

Private Attributes

 __dict__
 

Detailed Description

Attributes:
 - width
 - height
 - render_pass_map

Definition at line 5403 of file ttypes.py.

Constructor & Destructor Documentation

def heavydb.thrift.ttypes.TRawPixelData.__init__ (   self,
  width = None,
  height = None,
  render_pass_map = None 
)

Definition at line 5413 of file ttypes.py.

5414  def __init__(self, width=None, height=None, render_pass_map=None,):
5415  self.width = width
5416  self.height = height
5417  self.render_pass_map = render_pass_map

Member Function Documentation

def heavydb.thrift.ttypes.TRawPixelData.__eq__ (   self,
  other 
)

Definition at line 5486 of file ttypes.py.

5487  def __eq__(self, other):
5488  return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
def heavydb.thrift.ttypes.TRawPixelData.__ne__ (   self,
  other 
)

Definition at line 5489 of file ttypes.py.

5490  def __ne__(self, other):
5491  return not (self == other)
5492 
def heavydb.thrift.ttypes.TRawPixelData.__repr__ (   self)

Definition at line 5481 of file ttypes.py.

5482  def __repr__(self):
5483  L = ['%s=%r' % (key, value)
5484  for key, value in self.__dict__.items()]
5485  return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
std::string join(T const &container, std::string const &delim)

+ Here is the call graph for this function:

def heavydb.thrift.ttypes.TRawPixelData.read (   self,
  iprot 
)

Definition at line 5418 of file ttypes.py.

References heavydb.thrift.ttypes.TRawPixelData.height, heavydb.thrift.ttypes.TRawPixelData.render_pass_map, and heavydb.thrift.ttypes.TRawPixelData.width.

5419  def read(self, iprot):
5420  if iprot._fast_decode is not None and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None:
5421  iprot._fast_decode(self, iprot, [self.__class__, self.thrift_spec])
5422  return
5423  iprot.readStructBegin()
5424  while True:
5425  (fname, ftype, fid) = iprot.readFieldBegin()
5426  if ftype == TType.STOP:
5427  break
5428  if fid == 1:
5429  if ftype == TType.I32:
5430  self.width = iprot.readI32()
5431  else:
5432  iprot.skip(ftype)
5433  elif fid == 2:
5434  if ftype == TType.I32:
5435  self.height = iprot.readI32()
5436  else:
5437  iprot.skip(ftype)
5438  elif fid == 3:
5439  if ftype == TType.MAP:
5440  self.render_pass_map = {}
5441  (_ktype218, _vtype219, _size217) = iprot.readMapBegin()
5442  for _i221 in range(_size217):
5443  _key222 = iprot.readI32()
5444  _val223 = TRawRenderPassDataResult()
5445  _val223.read(iprot)
5446  self.render_pass_map[_key222] = _val223
5447  iprot.readMapEnd()
5448  else:
5449  iprot.skip(ftype)
5450  else:
5451  iprot.skip(ftype)
5452  iprot.readFieldEnd()
5453  iprot.readStructEnd()
def heavydb.thrift.ttypes.TRawPixelData.validate (   self)

Definition at line 5478 of file ttypes.py.

5479  def validate(self):
5480  return
def heavydb.thrift.ttypes.TRawPixelData.write (   self,
  oprot 
)

Definition at line 5454 of file ttypes.py.

References heavydb.thrift.ttypes.TRawPixelData.height, heavydb.thrift.ttypes.TRawPixelData.render_pass_map, and heavydb.thrift.ttypes.TRawPixelData.width.

5455  def write(self, oprot):
5456  if oprot._fast_encode is not None and self.thrift_spec is not None:
5457  oprot.trans.write(oprot._fast_encode(self, [self.__class__, self.thrift_spec]))
5458  return
5459  oprot.writeStructBegin('TRawPixelData')
5460  if self.width is not None:
5461  oprot.writeFieldBegin('width', TType.I32, 1)
5462  oprot.writeI32(self.width)
5463  oprot.writeFieldEnd()
5464  if self.height is not None:
5465  oprot.writeFieldBegin('height', TType.I32, 2)
5466  oprot.writeI32(self.height)
5467  oprot.writeFieldEnd()
5468  if self.render_pass_map is not None:
5469  oprot.writeFieldBegin('render_pass_map', TType.MAP, 3)
5470  oprot.writeMapBegin(TType.I32, TType.STRUCT, len(self.render_pass_map))
5471  for kiter224, viter225 in self.render_pass_map.items():
5472  oprot.writeI32(kiter224)
5473  viter225.write(oprot)
5474  oprot.writeMapEnd()
5475  oprot.writeFieldEnd()
5476  oprot.writeFieldStop()
5477  oprot.writeStructEnd()

Member Data Documentation

heavydb.thrift.ttypes.TRawPixelData.__dict__
private

Definition at line 5487 of file ttypes.py.

Referenced by TableFunctionsFactory_node.Node.copy().

heavydb.thrift.ttypes.TRawPixelData.height

Definition at line 5415 of file ttypes.py.

Referenced by heavydb.thrift.ttypes.TRawPixelData.read(), and heavydb.thrift.ttypes.TRawPixelData.write().

heavydb.thrift.ttypes.TRawPixelData.render_pass_map

Definition at line 5416 of file ttypes.py.

Referenced by heavydb.thrift.ttypes.TRawPixelData.read(), and heavydb.thrift.ttypes.TRawPixelData.write().

heavydb.thrift.ttypes.TRawPixelData.width

Definition at line 5414 of file ttypes.py.

Referenced by heavydb.thrift.ttypes.TRawPixelData.read(), and heavydb.thrift.ttypes.TRawPixelData.write().


The documentation for this class was generated from the following file: