OmniSciDB  a7179b2938
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
omnisci.thrift.ttypes.TLicenseInfo Class Reference
+ Inheritance diagram for omnisci.thrift.ttypes.TLicenseInfo:
+ Collaboration diagram for omnisci.thrift.ttypes.TLicenseInfo:

Public Member Functions

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

Public Attributes

 claims
 

Private Attributes

 __dict__
 

Detailed Description

Attributes:
 - claims

Definition at line 5687 of file ttypes.py.

Constructor & Destructor Documentation

def omnisci.thrift.ttypes.TLicenseInfo.__init__ (   self,
  claims = None 
)

Definition at line 5695 of file ttypes.py.

5696  def __init__(self, claims=None,):
5697  self.claims = claims

Member Function Documentation

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

Definition at line 5745 of file ttypes.py.

5746  def __eq__(self, other):
5747  return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
def omnisci.thrift.ttypes.TLicenseInfo.__ne__ (   self,
  other 
)

Definition at line 5748 of file ttypes.py.

5749  def __ne__(self, other):
5750  return not (self == other)
5751 
def omnisci.thrift.ttypes.TLicenseInfo.__repr__ (   self)

Definition at line 5740 of file ttypes.py.

5741  def __repr__(self):
5742  L = ['%s=%r' % (key, value)
5743  for key, value in self.__dict__.items()]
5744  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.TLicenseInfo.read (   self,
  iprot 
)

Definition at line 5698 of file ttypes.py.

References omnisci.thrift.ttypes.TLicenseInfo.claims.

5699  def read(self, iprot):
5700  if iprot._fast_decode is not None and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None:
5701  iprot._fast_decode(self, iprot, [self.__class__, self.thrift_spec])
5702  return
5703  iprot.readStructBegin()
5704  while True:
5705  (fname, ftype, fid) = iprot.readFieldBegin()
5706  if ftype == TType.STOP:
5707  break
5708  if fid == 1:
5709  if ftype == TType.LIST:
5710  self.claims = []
5711  (_etype251, _size248) = iprot.readListBegin()
5712  for _i252 in range(_size248):
5713  _elem253 = iprot.readString().decode('utf-8') if sys.version_info[0] == 2 else iprot.readString()
5714  self.claims.append(_elem253)
5715  iprot.readListEnd()
5716  else:
5717  iprot.skip(ftype)
5718  else:
5719  iprot.skip(ftype)
5720  iprot.readFieldEnd()
5721  iprot.readStructEnd()
def omnisci.thrift.ttypes.TLicenseInfo.validate (   self)

Definition at line 5737 of file ttypes.py.

5738  def validate(self):
5739  return
def omnisci.thrift.ttypes.TLicenseInfo.write (   self,
  oprot 
)

Definition at line 5722 of file ttypes.py.

References omnisci.thrift.ttypes.TLicenseInfo.claims.

5723  def write(self, oprot):
5724  if oprot._fast_encode is not None and self.thrift_spec is not None:
5725  oprot.trans.write(oprot._fast_encode(self, [self.__class__, self.thrift_spec]))
5726  return
5727  oprot.writeStructBegin('TLicenseInfo')
5728  if self.claims is not None:
5729  oprot.writeFieldBegin('claims', TType.LIST, 1)
5730  oprot.writeListBegin(TType.STRING, len(self.claims))
5731  for iter254 in self.claims:
5732  oprot.writeString(iter254.encode('utf-8') if sys.version_info[0] == 2 else iter254)
5733  oprot.writeListEnd()
5734  oprot.writeFieldEnd()
5735  oprot.writeFieldStop()
5736  oprot.writeStructEnd()

Member Data Documentation

omnisci.thrift.ttypes.TLicenseInfo.__dict__
private

Definition at line 5746 of file ttypes.py.

omnisci.thrift.ttypes.TLicenseInfo.claims

Definition at line 5696 of file ttypes.py.

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


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