Package rosetta :: Package core :: Package chemical :: Module _core_chemical_ :: Class PatchCase
[hide private]
[frames] | no frames]

Class PatchCase

 object --+    
          |    
??.instance --+
              |
             PatchCase

A single case of a patch, eg proline Nterminus is a case of NtermProteinFull

Instance Methods [hide private]
 
__init__(...)
__init__( (object)arg1) -> None :
 
__reduce__(...)
helper for pickle
 
add_operation(...)
add_operation( (PatchCase)arg1, (__CPP_PatchOperation__)operation) -> None : add one more operation in this PatchCase
 
applies_to(...)
applies_to( (PatchCase)arg1, (ResidueType)rsd) -> bool : whether the PatchCase is applicable to this ResidueType?
 
apply(...)
apply( (PatchCase)arg1, (ResidueType)rsd_in) -> ResidueType : returns patched residue, 0 if patch failed
 
selector(...)
selector( (PatchCase)arg1) -> ResidueSelector : to which ResidueTypes this PatchCase applies to?

Inherited from unreachable.instance: __new__

Inherited from object: __delattr__, __format__, __getattribute__, __hash__, __reduce_ex__, __repr__, __setattr__, __sizeof__, __str__, __subclasshook__

Class Variables [hide private]
  __instance_size__ = 32
Properties [hide private]

Inherited from object: __class__

Method Details [hide private]

__init__(...)
(Constructor)

 

__init__( (object)arg1) -> None :

    C++ signature :
        void __init__(_object*)

Overrides: object.__init__

__reduce__(...)

 

helper for pickle

Overrides: object.__reduce__
(inherited documentation)

add_operation(...)

 

add_operation( (PatchCase)arg1, (__CPP_PatchOperation__)operation) -> None :
    add one more operation in this PatchCase
    

    C++ signature :
        void add_operation(core::chemical::PatchCase {lvalue},boost::shared_ptr<core::chemical::PatchOperation>)

applies_to(...)

 

applies_to( (PatchCase)arg1, (ResidueType)rsd) -> bool :
    whether the PatchCase is applicable to this ResidueType?
    

    C++ signature :
        bool applies_to(core::chemical::PatchCase {lvalue},core::chemical::ResidueType)

apply(...)

 

apply( (PatchCase)arg1, (ResidueType)rsd_in) -> ResidueType :
    returns patched residue, 0 if patch failed
    

    C++ signature :
        boost::shared_ptr<core::chemical::ResidueType> apply(core::chemical::PatchCase {lvalue},core::chemical::ResidueType)

apply( (PatchCase)arg1, (ResidueType)rsd_in) -> ResidueType :

    C++ signature :
        boost::shared_ptr<core::chemical::ResidueType> apply(PatchCase_exposer_callback {lvalue},core::chemical::ResidueType)

selector(...)

 

selector( (PatchCase)arg1) -> ResidueSelector :
    to which ResidueTypes this PatchCase applies to?
    

    C++ signature :
        core::chemical::ResidueSelector {lvalue} selector(core::chemical::PatchCase {lvalue})