e (const employee& pt) name = pt.name; dept = pt.dept; employee& operator= (const employee& ptx) name = ptx.name; dept = ptx.dept; return *this; class Division private: string dept; vector<employee> V; vector<employee>: : iterator itrv; Division (string n) dept = n; Fundamentals of EMS, NMS and OSS/BSS add (string emp) V push_back (employee (emp, dept) ; displayDetails () for (itrv = v.begin(); itry != v.end() ; itrv++) cout<<"Name : "<<itrv->name<<" "<<"Section: "<< itrv->dept<<endl; cout<< " "<<endl; void main ( ) Division *d1 = new Division ("Management") d1->add ("Dan") ; d1->add ("Phil") ; d1->add ("Steve") i d1->displayDetails( ; Division *d2 = new Division ("Techie") ; d2->add("Mary") ; d2->add ("Rick") ; d2->add ("Susan") i d2->displayDetails() ; delete d1,d2; // Output of the iterator program is shown in Figure 33.6. "D:\desktop_08_09\refer\DesignPatterns\Iterator\Debug\Iterator.exe" Name Dan Section Management Name: Phil Section: Management Name: Steve Section: Management Name: Mary Section: Techie Name: Rick Section: Techie Name: Susan Section: Techie Press any key to continue, Figure 33.6 Output obtained on executing iterator program. OSS Design Patterns 33.8 Mediator Design Pattern Overview: This pattern is used to provide a unified interface to a set of interfaces in a subsystem. It is popular in development of Web-based applications. Instead of implementing navigation logic in an individual Web page, with this pattern the navigation logic is moved to a mediator that makes the link between all the Web pages. Example of usage in telecom management programming: Most of the OSS are currently Web based. Web-based implementations makes it possible for OSS solu- tions to be accessed anytime and anywhere. A lot of code reuse is made possible in Web-based application development using mediator design pattern. Implementation: // Mediator Design Pattern // ver0.0 Jithesh Sathyan Aug 08, 2009 #include <iostream.h> class MedInf public: virtual void navigate ( ) {}; class Home private: MedInf *med; public: Home 