

Definition at line 61 of file numberanalyzer01.h.
Declare Ton as a short name for OSB_LIB::NwAddress::Ton.
Definition at line 66 of file numberanalyzer01.h.
Constructor for creating a new number analyzer 01 or an existing number analyzer.
| void OSB_LIB::NumberAnalyzer01::addPrefix | ( | NwAddress & | nwAddress | ) | const [private] |
Add prefix from the original number.
This function will add the prefix to NwAddress::original_. It will write the processed number in NwAddress::analyzed_ and set the NwAddress::analyzedTon_ accordingly.
| const std::string& OSB_LIB::NumberAnalyzer01::addPrefix | ( | ) | const |
Prefix to be added.
All numbers passed into this number analyzer will be added with the specified prefix.
| virtual bool OSB_LIB::NumberAnalyzer01::analyzeCalled | ( | NwAddress & | nwAddress | ) | const [virtual] |
Analyze the called number.
The analysis will be carried out on the NwAddress::original_. Result of the analysis will be written to NwAddress::analyzed_. The TON of the resulting analyzed number will be written to NwAddress::analyzedTon_.
Implements OSB_LIB::NumberAnalyzer.
| virtual bool OSB_LIB::NumberAnalyzer01::analyzeCalling | ( | NwAddress & | nwAddress | ) | const [virtual] |
Analyze the calling number.
The analysis will be carried out on the NwAddress::original_. Result of the analysis will be written to NwAddress::analyzed_. The TON of the resulting analyzed number will be written to NwAddress::analyzedTon_.
Implements OSB_LIB::NumberAnalyzer.
| virtual NumberAnalyzer* OSB_LIB::NumberAnalyzer01::clone_ | ( | ) | const [private, virtual] |
| virtual void OSB_LIB::NumberAnalyzer01::insSpecific | ( | const OSB_DB::Session & | session | ) | [private, virtual] |
Insert derieve class specific data into database.
| session | Database session used. |
Implements OSB_LIB::NumberAnalyzer.
| virtual bool OSB_LIB::NumberAnalyzer01::readSpecific | ( | const OSB_DB::Session & | session | ) | [private, virtual] |
Populate the derieved class data members.
| session | Database session used. |
Implements OSB_LIB::NumberAnalyzer.
| virtual void OSB_LIB::NumberAnalyzer01::removeSpecific | ( | const OSB_DB::Session & | session | ) | [private, virtual] |
Delete derieve class specific data from database.
| session | Database session used. |
Implements OSB_LIB::NumberAnalyzer.
| void OSB_LIB::NumberAnalyzer01::rmPrefix | ( | NwAddress & | nwAddress | ) | const [private] |
Remove prefix from the original number.
This function will remove the prefix from NwAddress::original_. It will write the processed number in NwAddress::analyzed_ and set the NwAddress::analyzedTon_ accordingly.
| const std::string& OSB_LIB::NumberAnalyzer01::rmPrefix | ( | ) | const |
Prefix to be removed.
If the number passed in starts with the prefix specified, the prefix will be removed.
| void OSB_LIB::NumberAnalyzer01::setAddPrefix | ( | const std::string & | addPrefix | ) |
Set the prefix to be added.
| addPrefix | Prefix to be added. |
| void OSB_LIB::NumberAnalyzer01::setRmPrefix | ( | const std::string & | rmPrefix | ) |
Set the prefix to be removed.
| rmPrefix | Prefix to be removed. |
| void OSB_LIB::NumberAnalyzer01::setTon | ( | const NwAddress::Ton & | ton | ) |
Set the TON after the number analysis.
| ton | TON after the number analysis. |
| const NwAddress::Ton& OSB_LIB::NumberAnalyzer01::ton | ( | ) | const |
Type of number after the number analysis.
| virtual void OSB_LIB::NumberAnalyzer01::updSpecific | ( | const OSB_DB::Session & | session | ) | [private, virtual] |
Update derieved class specific data in database.
| session | Database session used. |
Implements OSB_LIB::NumberAnalyzer.
friend class OSB_DB::NumberAnalyzer01Gw [friend] |
std::string OSB_LIB::NumberAnalyzer01::addPrefix_ [private] |
std::string OSB_LIB::NumberAnalyzer01::rmPrefix_ [private] |
1.4.7