ó
‚™xTc        	   @   s}   d  d l  m Z e d ƒ \	 Z Z Z Z Z Z Z	 Z
 Z d e f d „  ƒ  YZ d e f d „  ƒ  YZ d e f d „  ƒ  YZ d	 S(
   iÿÿÿÿ(   t   divisioni	   t   atomname_tokenc           B   s/   e  Z d  Z d Z d d d d „ Z d „  Z RS(	   sB   
  An atomname token that can be passed to a SHELXL instruction
  t   namet   symmetryt   residue_numbert
   plus_minusc         C   s(   | |  _  | |  _ | |  _ | |  _ d  S(   N(   R   R   R   R   (   t   selfR   R   R   R   (    (    s@   /public2/ftp/pub/ccp4/6.5/ccp4-6.5/lib/py2/iotbx/shelx/tokens.pyt   __init__   s    			c         C   sF   |  j  | j  k oE |  j | j k oE |  j | j k oE |  j | j k S(   N(   R   R   R   R   (   R   t   other(    (    s@   /public2/ftp/pub/ccp4/6.5/ccp4-6.5/lib/py2/iotbx/shelx/tokens.pyt   __eq__   s    (   s   names   symmetrys   residue_numbers
   plus_minusN(   t   __name__t
   __module__t   __doc__t	   __slots__t   NoneR   R	   (    (    (    s@   /public2/ftp/pub/ccp4/6.5/ccp4-6.5/lib/py2/iotbx/shelx/tokens.pyR      s   t   element_tokenc           B   s,   e  Z d  Z d Z d d d „ Z d „  Z RS(   s[   
  An element name may also be passed to a SHELXL instruction in place of
  an atom name
  t   elementR   R   c         C   s   | |  _  | |  _ | |  _ d  S(   N(   R   R   R   (   R   R   R   R   (    (    s@   /public2/ftp/pub/ccp4/6.5/ccp4-6.5/lib/py2/iotbx/shelx/tokens.pyR   (   s    		c         C   s4   |  j  | j  k o3 |  j | j k o3 |  j | j k S(   N(   R   R   R   (   R   R   (    (    s@   /public2/ftp/pub/ccp4/6.5/ccp4-6.5/lib/py2/iotbx/shelx/tokens.pyR	   -   s    (   s   elements   residue_numbers
   plus_minusN(   R
   R   R   R   R   R   R	   (    (    (    s@   /public2/ftp/pub/ccp4/6.5/ccp4-6.5/lib/py2/iotbx/shelx/tokens.pyR   !   s   t   residue_tokenc           B   s&   e  Z d Z d d d „ Z d „  Z RS(   t   class_t   numberc         C   s   | |  _  | |  _ d  S(   N(   R   R   (   R   R   R   (    (    s@   /public2/ftp/pub/ccp4/6.5/ccp4-6.5/lib/py2/iotbx/shelx/tokens.pyR   6   s    	c         C   s"   |  j  | j  k o! |  j | j k S(   N(   R   R   (   R   R   (    (    s@   /public2/ftp/pub/ccp4/6.5/ccp4-6.5/lib/py2/iotbx/shelx/tokens.pyR	   :   s    (   s   class_s   numberN(   R
   R   R   R   R   R	   (    (    (    s@   /public2/ftp/pub/ccp4/6.5/ccp4-6.5/lib/py2/iotbx/shelx/tokens.pyR   3   s   N(   t
   __future__R    t   xranget   atom_tokt   element_tokt   forward_range_tokt   backward_range_tokt   residue_class_tokt   residue_number_tokt   all_residues_tokt   plus_tokt	   minus_tokt   objectR   R   R   (    (    (    s@   /public2/ftp/pub/ccp4/6.5/ccp4-6.5/lib/py2/iotbx/shelx/tokens.pyt   <module>   s   
'