Package tp :: Package netlib :: Package objects :: Module Design :: Class Design
[show private | hide private]
[frames | no frames]

Type Design

object --+        
         |        
    Header --+    
             |    
     Processed --+
                 |
                Design

Known Subclasses:
Design_Add, Design_Modify

The Design packet consists of:
* a SInt32, design ID
* a SInt64, the last modified time
* a list of,
        * a UInt32, category this design is in
* a String, name of the design
* a String, description of the design
* a SInt32, number of times in use
* a SInt32, owner of the design
* a list of,
        * a UInt32, the ID of the component
        * a UInt32, the number of this component
* a String, design feedback
* a list of,
        * a UInt32, property id
        * a String, property display string

Method Summary
  __init__(self, sequence, id, modify_time, categories, name, desc, used, owner, components, feedback, properties)
  __str__(self)
Produce a string suitable to be send over the wire.
    Inherited from Processed
  __process__(self, data)
    Inherited from Header
  __eq__(self, other)
  __repr__(self)
Return a reconisable string.
  data_set(self, data)
Processes the data of the packet.
  fromstr(cls, data)
Look at the packet type and morph this object into the correct type. (Class method)
    Inherited from object
  __delattr__(...)
x.__delattr__('name') <==> del x.name...
  __getattribute__(...)
x.__getattribute__('name') <==> x.name...
  __hash__(x)
x.__hash__() <==> hash(x)...
  __new__(T, S, ...)
T.__new__(S, ...) -> a new object with type S, a subtype of T...
  __reduce__(...)
helper for pickle...
  __reduce_ex__(...)
helper for pickle...
  __setattr__(...)
x.__setattr__('name', value) <==> x.name = value...

Class Variable Summary
int no = 48                                                                    
str struct = 'jT[I]SSjj[II]S[IS]'
    Inherited from Header
int size = 16                                                                    

Instance Method Details

__str__(self)
(Informal representation operator)

Produce a string suitable to be send over the wire.
Overrides:
tp.netlib.objects.Header.Header.__str__ (inherited documentation)

Class Variable Details

no

Type:
int
Value:
48                                                                    

struct

Type:
str
Value:
'jT[I]SSjj[II]S[IS]'                                                   

Generated by Epydoc 2.1 on Fri Jan 1 08:00:27 2010 http://epydoc.sf.net