Back to index

rabbitmq-server  2.8.4
Public Member Functions | Public Attributes
amqp_codegen.AmqpField Class Reference
Inheritance diagram for amqp_codegen.AmqpField:
Inheritance graph
[legend]
Collaboration diagram for amqp_codegen.AmqpField:
Collaboration graph
[legend]

List of all members.

Public Member Functions

def __init__
def __repr__

Public Attributes

 method
 index
 domain
 defaultvalue
 element
 name

Detailed Description

Definition at line 228 of file amqp_codegen.py.


Constructor & Destructor Documentation

def amqp_codegen.AmqpField.__init__ (   self,
  method,
  element,
  index 
)

Definition at line 229 of file amqp_codegen.py.

00229 
00230     def __init__(self, method, element, index):
00231         AmqpEntity.__init__(self, element)
00232         self.method = method
00233         self.index = index
00234 
00235         if self.element.has_key('type'):
00236             self.domain = self.element['type']
00237         else:
00238             self.domain = self.element['domain']
00239             
00240         if self.element.has_key('default-value'):
00241             self.defaultvalue = self.element['default-value']
00242         else:
00243             self.defaultvalue = None


Member Function Documentation

Definition at line 244 of file amqp_codegen.py.

00244 
00245     def __repr__(self):
00246         return 'AmqpField("' + self.name + '")'


Member Data Documentation

Definition at line 240 of file amqp_codegen.py.

Definition at line 235 of file amqp_codegen.py.

Definition at line 173 of file amqp_codegen.py.

Definition at line 232 of file amqp_codegen.py.

Definition at line 231 of file amqp_codegen.py.

Definition at line 174 of file amqp_codegen.py.


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