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

Class SetFormalCharge

 object --+        
          |        
??.instance --+    
              |    
 PatchOperation --+
                  |
                 SetFormalCharge

//////////////////////////////////////////////////////////////////////////// A patch operation for setting the formal charge of a ResidueType's atom. Labonte <JWLabonte@jhu.edu>

Instance Methods [hide private]
 
__init__(...)
__init__( (object)arg1, (str)atom_name_in, (int)charge_in) -> None : core/chemical/PatchOperation.hh:426
 
apply(...)
apply( (SetFormalCharge)arg1, (ResidueType)rsd) -> bool : Apply this patch to the given ResidueType.

Inherited from PatchOperation: __reduce__

Inherited from unreachable.instance: __new__

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

Class Variables [hide private]

Inherited from PatchOperation: __instance_size__

Properties [hide private]

Inherited from object: __class__

Method Details [hide private]

__init__(...)
(Constructor)

 

__init__( (object)arg1, (str)atom_name_in, (int)charge_in) -> None :
    core/chemical/PatchOperation.hh:426

    C++ signature :
        void __init__(_object*,std::string,long)

__init__( (object)arg1, (SetFormalCharge)) -> None :
    ////////////////////////////////////////////////////////////////////////////
     A patch operation for setting the formal charge of a ResidueType's atom.
     Labonte <JWLabonte@jhu.edu>
    

    C++ signature :
        void __init__(_object*,core::chemical::SetFormalCharge)

Overrides: object.__init__

apply(...)

 

apply( (SetFormalCharge)arg1, (ResidueType)rsd) -> bool :
    Apply this patch to the given ResidueType.
    

    C++ signature :
        bool apply(core::chemical::SetFormalCharge {lvalue},core::chemical::ResidueType {lvalue})

apply( (SetFormalCharge)arg1, (ResidueType)rsd) -> bool :

    C++ signature :
        bool apply(SetFormalCharge_exposer_callback {lvalue},core::chemical::ResidueType {lvalue})

Overrides: PatchOperation.apply