class Prot

class representing the protein

Public Methods

[more] Prot()
[more] Prot(long i_id)
[more] ~Prot()
[more]int read_input(const char* i_pdbfile, const TProt& i_tprot)
[more]void write_output(int i_num_res, TProt &i_tprot, FILE* outfile)
[more]bool swap_at(Atom* i_at1, Atom* i_at2)
methods that act on the atoms,tors,res'
[more]bool swap_tor(Tor* i_tor1, Tor* i_tor2)
[more]bool swap_res(Res* i_res1, Res* i_res2)
[more]bool disable_at(Atom* i_at)
[more]bool disable_tor(Tor* i_tor)
[more]bool disable_res(Res* i_res)
[more]bool enable_at(Atom* i_at)
[more]bool enable_tor(Tor* i_tor)
[more]bool enable_res(Res* i_res)
[more]bool delete_at(Atom* i_at)
[more]bool delete_tor(Tor* i_tor)
[more]bool delete_res(Res* i_res)
[more]long add_at(Atom* i_at)
[more]long add_tor(Tor* i_tor)
[more]int add_res(Res* i_res)
[more]int get_num_res() const
[more]long get_num_at() const
[more]long get_num_tor() const
[more]Tor* get_tor(long i_id)
position in vector is the id of tor
[more]Atom* get_at(long i_id)
position in vector is the id of at
[more]Res* get_res(long i_id)
position in vector is the id of res
[more]const Tor* get_const_tor(long i_id) const
[more]const Atom* get_const_at(long i_id) const
[more]const Res* get_const_res(long i_id) const
[more]bool sync_atoms(Res* i_prev_res, Res* i_res, vector<Atom*>& i_ats, const TProt& i_tprot)
assign all the associated and bonded atoms to each atom in the given residue

Private Fields

[more]long id
[more]vector<Atom*> * at_list
[more]vector<Tor*> * tor_list
[more]vector<Res*> * res_list
[more]int cur_res_id
[more]long cur_at_id
[more]long cur_tor_id

Private Methods

[more]bool check_rel(Res* i_res, vector<Atom*>& i_ats, vector<Tor*>& i_tors, const TProt& i_tprot)
check if all the entities involved in the relationship have been provided in the input


Documentation

class representing the protein
o Prot()

o Prot(long i_id)

o ~Prot()

oint read_input(const char* i_pdbfile, const TProt& i_tprot)

ovoid write_output(int i_num_res, TProt &i_tprot, FILE* outfile)

obool swap_at(Atom* i_at1, Atom* i_at2)
methods that act on the atoms,tors,res'

obool swap_tor(Tor* i_tor1, Tor* i_tor2)

obool swap_res(Res* i_res1, Res* i_res2)

obool disable_at(Atom* i_at)

obool disable_tor(Tor* i_tor)

obool disable_res(Res* i_res)

obool enable_at(Atom* i_at)

obool enable_tor(Tor* i_tor)

obool enable_res(Res* i_res)

obool delete_at(Atom* i_at)

obool delete_tor(Tor* i_tor)

obool delete_res(Res* i_res)

olong add_at(Atom* i_at)

olong add_tor(Tor* i_tor)

oint add_res(Res* i_res)

oint get_num_res() const

olong get_num_at() const

olong get_num_tor() const

oTor* get_tor(long i_id)
position in vector is the id of tor

oAtom* get_at(long i_id)
position in vector is the id of at

oRes* get_res(long i_id)
position in vector is the id of res

oconst Tor* get_const_tor(long i_id) const

oconst Atom* get_const_at(long i_id) const

oconst Res* get_const_res(long i_id) const

obool sync_atoms(Res* i_prev_res, Res* i_res, vector<Atom*>& i_ats, const TProt& i_tprot)
assign all the associated and bonded atoms to each atom in the given residue

obool check_rel(Res* i_res, vector<Atom*>& i_ats, vector<Tor*>& i_tors, const TProt& i_tprot)
check if all the entities involved in the relationship have been provided in the input

olong id

ovector<Atom*> * at_list

ovector<Tor*> * tor_list

ovector<Res*> * res_list

oint cur_res_id

olong cur_at_id

olong cur_tor_id


This class has no child classes.

Alphabetic index HTML hierarchy of classes or Java



This page was generated with the help of DOC++.