From 33613a85afc4b1481367fbe92a17ee59c240250b Mon Sep 17 00:00:00 2001 From: Sven Eisenhauer Date: Fri, 10 Nov 2023 15:11:48 +0100 Subject: add new repo --- .../Verteilte Systeme/Praktikum3/IPBook_impl.h | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 Bachelor/Verteilte Systeme/Praktikum3/IPBook_impl.h (limited to 'Bachelor/Verteilte Systeme/Praktikum3/IPBook_impl.h') diff --git a/Bachelor/Verteilte Systeme/Praktikum3/IPBook_impl.h b/Bachelor/Verteilte Systeme/Praktikum3/IPBook_impl.h new file mode 100644 index 0000000..a42daea --- /dev/null +++ b/Bachelor/Verteilte Systeme/Praktikum3/IPBook_impl.h @@ -0,0 +1,22 @@ +#ifndef IPBook_impl_h +#define IPBook_impl_h 1 + +#include "IPBook.h" + +#include +#include +using namespace std; + +class IPBook_impl : virtual public POA_IPBook +{ +public: + // implement pure virtual functions from POA_IPBook + virtual void addEntry( const char* name, const char* number ); + virtual char* searchEntry( const char* name ); + virtual CORBA::Long count( ); + +private: + map > _numbers; +}; + +#endif -- cgit v1.2.3