#include <hierarchy.h>
Public Member Functions | |
| void | format (char *result, bool add_model=false, bool add_segid=false) const |
| All labels must be defined externally. | |
| void | format (char *result, shared_ptr< chain_data > const &ch_lock, bool add_model, bool add_segid) |
| Extracts chain_id and model_id, then calls format(char*, bool). | |
| void | format (char *result, hierarchy::atom const &atom, bool add_model=false, bool add_segid=false, bool pdbres=false) |
| All labels are extracted from the atom and its parents. | |
| void | format (char *result, hierarchy::residue const &residue) |
| All relevant labels are extracted from the residue and its parents. | |
Public Attributes | |
| const char * | name |
| const char * | segid |
| const char * | altloc |
| const char * | resname |
| const char * | resseq |
| const char * | icode |
| const char * | chain_id |
| const char * | model_id |
| void format | ( | char * | result, | |
| bool | add_model = false, |
|||
| bool | add_segid = false | |||
| ) | const |
All labels must be defined externally.
result must point to an array of size 15 (or greater). On return, result is NOT null-terminated. If add_model or add_segid is true, the size of the result array must be 52 (or greater) and result IS null-terminated.
| void format | ( | char * | result, | |
| hierarchy::atom const & | atom, | |||
| bool | add_model = false, |
|||
| bool | add_segid = false, |
|||
| bool | pdbres = false | |||
| ) |
All labels are extracted from the atom and its parents.
result must point to an array of size 15 (or greater). On return, result is NOT null-terminated. If add_model or add_segid is true, the size of the result array must be 52 (or greater) and result IS null-terminated.
| void format | ( | char * | result, | |
| hierarchy::residue const & | residue | |||
| ) |
All relevant labels are extracted from the residue and its parents.
result must point to an array of size 37 (or greater). On return, result IS null-terminated.
1.5.6