class TProt

Wrapper & proxy class for the type info also includes the reader function that reads in the type info from the config files

Public Methods

[more] TProt()
[more] ~TProt()
[more]bool read_input(const char* i_at_datfile, const char* i_tor_datfile, const char* i_res_datfile)
[more]const TAtom& get_tat(string i_at_label) const
[more]const TTor& get_ttor(string i_tor_label) const
[more]const TRes& get_tres(char i_code) const
[more]const TAtom& get_tat(int i_index) const
[more]const TTor& get_ttor(int i_index) const
[more]const TRes& get_tres(int i_index) const
[more]int get_num_tat() const
[more]int get_num_ttor() const
[more]int get_num_tres() const
[more]bool check_tat(string i_at_label) const
check whether atom type of given label exists
[more]bool check_ttor(string i_tor_label) const
check whether tor type of given label exists
[more]bool check_tres(char i_code) const
check whether res type of given code exists

Private Fields

[more]vector<TAtom*> tat_list
list of TAtom
[more]vector<TTor*> ttor_list
list of TTor
[more]vector<TRes*> tres_list
list of TRes
[more]map<string,TAtom*> tat_map
maps atom label to atom type
[more]map<string,TTor*> ttor_map
maps tor label to tor type
[more]map<char,TRes*> tres_map
maps res code to res type
[more]typedef map<string,TAtom*>: :value_type tat_map_ele_type
typedef the type of the map elements for easy declaration
[more]typedef map<string,TTor*>: :value_type ttor_map_ele_type
[more]typedef map<char,TRes*>: :value_type tres_map_ele_type
[more]bool read_files_flag
flag indicating whether config files have been successfully read

Private Methods

[more]bool read_at_file(const char* i_at_datfile)
[more]bool read_tor_file(const char* i_tor_datfile)
[more]bool read_res_file(const char* i_res_datfile)
[more]bool check_integer(string i_input)
check that integer read is of the right format
[more]bool check_float(string i_input)
check that real num read is of the right format


Documentation

Wrapper & proxy class for the type info also includes the reader function that reads in the type info from the config files
o TProt()

o ~TProt()

obool read_input(const char* i_at_datfile, const char* i_tor_datfile, const char* i_res_datfile)

oconst TAtom& get_tat(string i_at_label) const

oconst TTor& get_ttor(string i_tor_label) const

oconst TRes& get_tres(char i_code) const

oconst TAtom& get_tat(int i_index) const

oconst TTor& get_ttor(int i_index) const

oconst TRes& get_tres(int i_index) const

oint get_num_tat() const

oint get_num_ttor() const

oint get_num_tres() const

obool check_tat(string i_at_label) const
check whether atom type of given label exists

obool check_ttor(string i_tor_label) const
check whether tor type of given label exists

obool check_tres(char i_code) const
check whether res type of given code exists

obool read_at_file(const char* i_at_datfile)

obool read_tor_file(const char* i_tor_datfile)

obool read_res_file(const char* i_res_datfile)

obool check_integer(string i_input)
check that integer read is of the right format

obool check_float(string i_input)
check that real num read is of the right format

ovector<TAtom*> tat_list
list of TAtom

ovector<TTor*> ttor_list
list of TTor

ovector<TRes*> tres_list
list of TRes

omap<string,TAtom*> tat_map
maps atom label to atom type

omap<string,TTor*> ttor_map
maps tor label to tor type

omap<char,TRes*> tres_map
maps res code to res type

otypedef map<string,TAtom*>: :value_type tat_map_ele_type
typedef the type of the map elements for easy declaration

otypedef map<string,TTor*>: :value_type ttor_map_ele_type

otypedef map<char,TRes*>: :value_type tres_map_ele_type

obool read_files_flag
flag indicating whether config files have been successfully read


This class has no child classes.

Alphabetic index HTML hierarchy of classes or Java



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