OmniSciDB  a575cb28ea
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
omnisci.thrift.ttypes.TRawPixelData Class Reference
+ Inheritance diagram for omnisci.thrift.ttypes.TRawPixelData:
+ Collaboration diagram for omnisci.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 4538 of file ttypes.py.

Constructor & Destructor Documentation

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

Definition at line 4548 of file ttypes.py.

4549  def __init__(self, width=None, height=None, render_pass_map=None,):
4550  self.width = width
4551  self.height = height
4552  self.render_pass_map = render_pass_map

Member Function Documentation

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

Definition at line 4621 of file ttypes.py.

4622  def __eq__(self, other):
4623  return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
def omnisci.thrift.ttypes.TRawPixelData.__ne__ (   self,
  other 
)

Definition at line 4624 of file ttypes.py.

4625  def __ne__(self, other):
4626  return not (self == other)
4627 
def omnisci.thrift.ttypes.TRawPixelData.__repr__ (   self)

Definition at line 4616 of file ttypes.py.

4617  def __repr__(self):
4618  L = ['%s=%r' % (key, value)
4619  for key, value in self.__dict__.items()]
4620  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 omnisci.thrift.ttypes.TRawPixelData.read (   self,
  iprot 
)

Definition at line 4553 of file ttypes.py.

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

4554  def read(self, iprot):
4555  if iprot._fast_decode is not None and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None:
4556  iprot._fast_decode(self, iprot, [self.__class__, self.thrift_spec])
4557  return
4558  iprot.readStructBegin()
4559  while True:
4560  (fname, ftype, fid) = iprot.readFieldBegin()
4561  if ftype == TType.STOP:
4562  break
4563  if fid == 1:
4564  if ftype == TType.I32:
4565  self.width = iprot.readI32()
4566  else:
4567  iprot.skip(ftype)
4568  elif fid == 2:
4569  if ftype == TType.I32:
4570  self.height = iprot.readI32()
4571  else:
4572  iprot.skip(ftype)
4573  elif fid == 3:
4574  if ftype == TType.MAP:
4575  self.render_pass_map = {}
4576  (_ktype190, _vtype191, _size189) = iprot.readMapBegin()
4577  for _i193 in range(_size189):
4578  _key194 = iprot.readI32()
4579  _val195 = TRawRenderPassDataResult()
4580  _val195.read(iprot)
4581  self.render_pass_map[_key194] = _val195
4582  iprot.readMapEnd()
4583  else:
4584  iprot.skip(ftype)
4585  else:
4586  iprot.skip(ftype)
4587  iprot.readFieldEnd()
4588  iprot.readStructEnd()
def omnisci.thrift.ttypes.TRawPixelData.validate (   self)

Definition at line 4613 of file ttypes.py.

4614  def validate(self):
4615  return
def omnisci.thrift.ttypes.TRawPixelData.write (   self,
  oprot 
)

Definition at line 4589 of file ttypes.py.

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

4590  def write(self, oprot):
4591  if oprot._fast_encode is not None and self.thrift_spec is not None:
4592  oprot.trans.write(oprot._fast_encode(self, [self.__class__, self.thrift_spec]))
4593  return
4594  oprot.writeStructBegin('TRawPixelData')
4595  if self.width is not None:
4596  oprot.writeFieldBegin('width', TType.I32, 1)
4597  oprot.writeI32(self.width)
4598  oprot.writeFieldEnd()
4599  if self.height is not None:
4600  oprot.writeFieldBegin('height', TType.I32, 2)
4601  oprot.writeI32(self.height)
4602  oprot.writeFieldEnd()
4603  if self.render_pass_map is not None:
4604  oprot.writeFieldBegin('render_pass_map', TType.MAP, 3)
4605  oprot.writeMapBegin(TType.I32, TType.STRUCT, len(self.render_pass_map))
4606  for kiter196, viter197 in self.render_pass_map.items():
4607  oprot.writeI32(kiter196)
4608  viter197.write(oprot)
4609  oprot.writeMapEnd()
4610  oprot.writeFieldEnd()
4611  oprot.writeFieldStop()
4612  oprot.writeStructEnd()

Member Data Documentation

omnisci.thrift.ttypes.TRawPixelData.__dict__
private

Definition at line 4622 of file ttypes.py.

omnisci.thrift.ttypes.TRawPixelData.height

Definition at line 4550 of file ttypes.py.

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

omnisci.thrift.ttypes.TRawPixelData.render_pass_map

Definition at line 4551 of file ttypes.py.

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

omnisci.thrift.ttypes.TRawPixelData.width

Definition at line 4549 of file ttypes.py.

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


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