OmniSciDB  cde582ebc3
 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 5216 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 5226 of file ttypes.py.

5227  def __init__(self, width=None, height=None, render_pass_map=None,):
5228  self.width = width
5229  self.height = height
5230  self.render_pass_map = render_pass_map

Member Function Documentation

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

Definition at line 5299 of file ttypes.py.

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

Definition at line 5302 of file ttypes.py.

5303  def __ne__(self, other):
5304  return not (self == other)
5305 
def heavydb.thrift.ttypes.TRawPixelData.__repr__ (   self)

Definition at line 5294 of file ttypes.py.

5295  def __repr__(self):
5296  L = ['%s=%r' % (key, value)
5297  for key, value in self.__dict__.items()]
5298  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 5231 of file ttypes.py.

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

5232  def read(self, iprot):
5233  if iprot._fast_decode is not None and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None:
5234  iprot._fast_decode(self, iprot, [self.__class__, self.thrift_spec])
5235  return
5236  iprot.readStructBegin()
5237  while True:
5238  (fname, ftype, fid) = iprot.readFieldBegin()
5239  if ftype == TType.STOP:
5240  break
5241  if fid == 1:
5242  if ftype == TType.I32:
5243  self.width = iprot.readI32()
5244  else:
5245  iprot.skip(ftype)
5246  elif fid == 2:
5247  if ftype == TType.I32:
5248  self.height = iprot.readI32()
5249  else:
5250  iprot.skip(ftype)
5251  elif fid == 3:
5252  if ftype == TType.MAP:
5253  self.render_pass_map = {}
5254  (_ktype211, _vtype212, _size210) = iprot.readMapBegin()
5255  for _i214 in range(_size210):
5256  _key215 = iprot.readI32()
5257  _val216 = TRawRenderPassDataResult()
5258  _val216.read(iprot)
5259  self.render_pass_map[_key215] = _val216
5260  iprot.readMapEnd()
5261  else:
5262  iprot.skip(ftype)
5263  else:
5264  iprot.skip(ftype)
5265  iprot.readFieldEnd()
5266  iprot.readStructEnd()
def heavydb.thrift.ttypes.TRawPixelData.validate (   self)

Definition at line 5291 of file ttypes.py.

5292  def validate(self):
5293  return
def heavydb.thrift.ttypes.TRawPixelData.write (   self,
  oprot 
)

Definition at line 5267 of file ttypes.py.

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

5268  def write(self, oprot):
5269  if oprot._fast_encode is not None and self.thrift_spec is not None:
5270  oprot.trans.write(oprot._fast_encode(self, [self.__class__, self.thrift_spec]))
5271  return
5272  oprot.writeStructBegin('TRawPixelData')
5273  if self.width is not None:
5274  oprot.writeFieldBegin('width', TType.I32, 1)
5275  oprot.writeI32(self.width)
5276  oprot.writeFieldEnd()
5277  if self.height is not None:
5278  oprot.writeFieldBegin('height', TType.I32, 2)
5279  oprot.writeI32(self.height)
5280  oprot.writeFieldEnd()
5281  if self.render_pass_map is not None:
5282  oprot.writeFieldBegin('render_pass_map', TType.MAP, 3)
5283  oprot.writeMapBegin(TType.I32, TType.STRUCT, len(self.render_pass_map))
5284  for kiter217, viter218 in self.render_pass_map.items():
5285  oprot.writeI32(kiter217)
5286  viter218.write(oprot)
5287  oprot.writeMapEnd()
5288  oprot.writeFieldEnd()
5289  oprot.writeFieldStop()
5290  oprot.writeStructEnd()

Member Data Documentation

heavydb.thrift.ttypes.TRawPixelData.__dict__
private

Definition at line 5300 of file ttypes.py.

Referenced by generate_TableFunctionsFactory_init.Node.copy().

heavydb.thrift.ttypes.TRawPixelData.height

Definition at line 5228 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 5229 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 5227 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: