|
From: Joseph M. <joe...@gm...> - 2006-03-15 10:27:39
|
Here is the complete file: <http://news.gmane.org/find-root.php?message_id=%3c44178DFA.5010807%40gmail.com%3e>/************************************************************************** File: ptl_interfaces.h Author: Joseph L. McCay Date: 03/14/2006 Copywrite 2006 All rights reserved Purpose: This file contains all the interfaces for the Persistence Template Library. //TODO: Decide on license and place it here. **************************************************************************/ //TODO decide on how to declare includes!!! //namespace ptl { // #include <string> #include <string> #include <utility> #include <map> using namespace std; typedef map<std::string,int> objPropsMap; /** CLASS: IPerData PURPOSE: This interface is used to pass the properties map to the object requirng persistence services. */ /* class IPerData { bool setData(std::map<char,int>& rdata)=0; std::map<int,int>& getData()=0; }; */ /** CLASS: IMapper PURPOSE: All mapper objects must implement this interface! */ /* class IMapper { bool connect(int num, boost::any *pAny = NULL)=0; bool disconnect()=0; bool write()=0; bool Write(IPerData *)=0; std::map<int,int>& read()=0; bool read(IPerData*)=0; bool Bind()=0; }; */ //} I commented everything else out. It is strange because if I create a new file with just that information I gave you. it compiles for me too. What's different? joe mccay |