OmniSciDB  fe05a0c208
 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 5804 of file ttypes.py.

Constructor & Destructor Documentation

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

Definition at line 5812 of file ttypes.py.

5813  def __init__(self, claims=None,):
5814  self.claims = claims

Member Function Documentation

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

Definition at line 5862 of file ttypes.py.

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

Definition at line 5865 of file ttypes.py.

5866  def __ne__(self, other):
5867  return not (self == other)
5868 
def omnisci.thrift.ttypes.TLicenseInfo.__repr__ (   self)

Definition at line 5857 of file ttypes.py.

5858  def __repr__(self):
5859  L = ['%s=%r' % (key, value)
5860  for key, value in self.__dict__.items()]
5861  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 5815 of file ttypes.py.

References omnisci.thrift.ttypes.TLicenseInfo.claims.

5816  def read(self, iprot):
5817  if iprot._fast_decode is not None and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None:
5818  iprot._fast_decode(self, iprot, [self.__class__, self.thrift_spec])
5819  return
5820  iprot.readStructBegin()
5821  while True:
5822  (fname, ftype, fid) = iprot.readFieldBegin()
5823  if ftype == TType.STOP:
5824  break
5825  if fid == 1:
5826  if ftype == TType.LIST:
5827  self.claims = []
5828  (_etype251, _size248) = iprot.readListBegin()
5829  for _i252 in range(_size248):
5830  _elem253 = iprot.readString().decode('utf-8') if sys.version_info[0] == 2 else iprot.readString()
5831  self.claims.append(_elem253)
5832  iprot.readListEnd()
5833  else:
5834  iprot.skip(ftype)
5835  else:
5836  iprot.skip(ftype)
5837  iprot.readFieldEnd()
5838  iprot.readStructEnd()
def omnisci.thrift.ttypes.TLicenseInfo.validate (   self)

Definition at line 5854 of file ttypes.py.

5855  def validate(self):
5856  return
def omnisci.thrift.ttypes.TLicenseInfo.write (   self,
  oprot 
)

Definition at line 5839 of file ttypes.py.

References omnisci.thrift.ttypes.TLicenseInfo.claims.

5840  def write(self, oprot):
5841  if oprot._fast_encode is not None and self.thrift_spec is not None:
5842  oprot.trans.write(oprot._fast_encode(self, [self.__class__, self.thrift_spec]))
5843  return
5844  oprot.writeStructBegin('TLicenseInfo')
5845  if self.claims is not None:
5846  oprot.writeFieldBegin('claims', TType.LIST, 1)
5847  oprot.writeListBegin(TType.STRING, len(self.claims))
5848  for iter254 in self.claims:
5849  oprot.writeString(iter254.encode('utf-8') if sys.version_info[0] == 2 else iter254)
5850  oprot.writeListEnd()
5851  oprot.writeFieldEnd()
5852  oprot.writeFieldStop()
5853  oprot.writeStructEnd()

Member Data Documentation

omnisci.thrift.ttypes.TLicenseInfo.__dict__
private

Definition at line 5863 of file ttypes.py.

omnisci.thrift.ttypes.TLicenseInfo.claims

Definition at line 5813 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: