OESecondaryStructurePacked

int OESecondaryStructurePacked(int ssType,
                               int ssIDNumber,
                               int strandID = 0)

This function packs secondary structure information into an integer suitable for use with the OEResidue::SetSecondaryStructure method. The ‘ssType’ argument specifies a secondary structure type from the OESecondaryStructure namespace. ‘ssIDNumber’ is an ID number for a particular secondary structure element (e.g., helix #2, sheet #7, etc.), and ‘strandID’ is an ID number for individual strands within a beta sheet. The packed integer return value can also be used as an argument to the OEHasSecondaryStructure predicate, to allow identification of all atoms in a specific helix, beta sheet, turn, or strand within a sheet.