OmniSciDB  340b00dbf6
 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 4658 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 4668 of file ttypes.py.

4669  def __init__(self, width=None, height=None, render_pass_map=None,):
4670  self.width = width
4671  self.height = height
4672  self.render_pass_map = render_pass_map

Member Function Documentation

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

Definition at line 4741 of file ttypes.py.

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

Definition at line 4744 of file ttypes.py.

4745  def __ne__(self, other):
4746  return not (self == other)
4747 
def omnisci.thrift.ttypes.TRawPixelData.__repr__ (   self)

Definition at line 4736 of file ttypes.py.

4737  def __repr__(self):
4738  L = ['%s=%r' % (key, value)
4739  for key, value in self.__dict__.items()]
4740  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 4673 of file ttypes.py.

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

4674  def read(self, iprot):
4675  if iprot._fast_decode is not None and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None:
4676  iprot._fast_decode(self, iprot, [self.__class__, self.thrift_spec])
4677  return
4678  iprot.readStructBegin()
4679  while True:
4680  (fname, ftype, fid) = iprot.readFieldBegin()
4681  if ftype == TType.STOP:
4682  break
4683  if fid == 1:
4684  if ftype == TType.I32:
4685  self.width = iprot.readI32()
4686  else:
4687  iprot.skip(ftype)
4688  elif fid == 2:
4689  if ftype == TType.I32:
4690  self.height = iprot.readI32()
4691  else:
4692  iprot.skip(ftype)
4693  elif fid == 3:
4694  if ftype == TType.MAP:
4695  self.render_pass_map = {}
4696  (_ktype190, _vtype191, _size189) = iprot.readMapBegin()
4697  for _i193 in range(_size189):
4698  _key194 = iprot.readI32()
4699  _val195 = TRawRenderPassDataResult()
4700  _val195.read(iprot)
4701  self.render_pass_map[_key194] = _val195
4702  iprot.readMapEnd()
4703  else:
4704  iprot.skip(ftype)
4705  else:
4706  iprot.skip(ftype)
4707  iprot.readFieldEnd()
4708  iprot.readStructEnd()
def omnisci.thrift.ttypes.TRawPixelData.validate (   self)

Definition at line 4733 of file ttypes.py.

4734  def validate(self):
4735  return
def omnisci.thrift.ttypes.TRawPixelData.write (   self,
  oprot 
)

Definition at line 4709 of file ttypes.py.

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

4710  def write(self, oprot):
4711  if oprot._fast_encode is not None and self.thrift_spec is not None:
4712  oprot.trans.write(oprot._fast_encode(self, [self.__class__, self.thrift_spec]))
4713  return
4714  oprot.writeStructBegin('TRawPixelData')
4715  if self.width is not None:
4716  oprot.writeFieldBegin('width', TType.I32, 1)
4717  oprot.writeI32(self.width)
4718  oprot.writeFieldEnd()
4719  if self.height is not None:
4720  oprot.writeFieldBegin('height', TType.I32, 2)
4721  oprot.writeI32(self.height)
4722  oprot.writeFieldEnd()
4723  if self.render_pass_map is not None:
4724  oprot.writeFieldBegin('render_pass_map', TType.MAP, 3)
4725  oprot.writeMapBegin(TType.I32, TType.STRUCT, len(self.render_pass_map))
4726  for kiter196, viter197 in self.render_pass_map.items():
4727  oprot.writeI32(kiter196)
4728  viter197.write(oprot)
4729  oprot.writeMapEnd()
4730  oprot.writeFieldEnd()
4731  oprot.writeFieldStop()
4732  oprot.writeStructEnd()

Member Data Documentation

omnisci.thrift.ttypes.TRawPixelData.__dict__
private

Definition at line 4742 of file ttypes.py.

omnisci.thrift.ttypes.TRawPixelData.height

Definition at line 4670 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 4671 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 4669 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: