Skip to content
Snippets Groups Projects
Commit 919f6730 authored by Sebastien Ponce's avatar Sebastien Ponce
Browse files

small fixes, mainly identation and macro names

parent d80e1692
Branches
Tags
No related merge requests found
......@@ -24,8 +24,8 @@
* @author Sebastien Ponce
*****************************************************************************/
#ifndef CASTOR_IADDRESS_H
#define CASTOR_IADDRESS_H 1
#ifndef CASTOR_IADDRESS_HPP
#define CASTOR_IADDRESS_HPP 1
// Include Files
#include <string>
......@@ -86,4 +86,4 @@ namespace castor {
*/
std::ostream& operator<<(std::ostream& s, const castor::IAddress& addr);
#endif // CASTOR_IADDRESS_H
#endif // CASTOR_IADDRESS_HPP
......@@ -17,15 +17,15 @@
* along with this program; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
*
* @(#)$RCSfile: IConverter.hpp,v $ $Revision: 1.3 $ $Release$ $Date: 2004/05/25 16:26:54 $ $Author: sponcec3 $
* @(#)$RCSfile: IConverter.hpp,v $ $Revision: 1.4 $ $Release$ $Date: 2004/05/26 15:43:38 $ $Author: sponcec3 $
*
*
*
* @author Sebastien Ponce
*****************************************************************************/
#ifndef CASTOR_ICONVERTER_H
#define CASTOR_ICONVERTER_H 1
#ifndef CASTOR_ICONVERTER_HPP
#define CASTOR_ICONVERTER_HPP 1
// Include Files
#include <map>
......@@ -147,4 +147,4 @@ namespace castor {
} // end of namespace castor
#endif // CASTOR_ICONVERTER_H
#endif // CASTOR_ICONVERTER_HPP
......@@ -17,15 +17,15 @@
* along with this program; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
*
* @(#)$RCSfile: IFactory.hpp,v $ $Revision: 1.1.1.1 $ $Release$ $Date: 2004/05/12 12:13:34 $ $Author: sponcec3 $
* @(#)$RCSfile: IFactory.hpp,v $ $Revision: 1.2 $ $Release$ $Date: 2004/05/26 15:43:38 $ $Author: sponcec3 $
*
*
*
* @author Sebastien Ponce
*****************************************************************************/
#ifndef CASTOR_IFACTORY_H
#define CASTOR_IFACTORY_H 1
#ifndef CASTOR_IFACTORY_HPP
#define CASTOR_IFACTORY_HPP 1
// Include Files
#include <string>
......@@ -54,4 +54,4 @@ namespace castor {
} // end of namespace castor
#endif // CASTOR_IFACTORY_H
#endif // CASTOR_IFACTORY_HPP
......@@ -17,15 +17,15 @@
* along with this program; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
*
* @(#)$RCSfile: IService.hpp,v $ $Revision: 1.1.1.1 $ $Release$ $Date: 2004/05/12 12:13:34 $ $Author: sponcec3 $
* @(#)$RCSfile: IService.hpp,v $ $Revision: 1.2 $ $Release$ $Date: 2004/05/26 15:43:39 $ $Author: sponcec3 $
*
*
*
* @author Sebastien Ponce
*****************************************************************************/
#ifndef CASTOR_ISERVICE_H
#define CASTOR_ISERVICE_H 1
#ifndef CASTOR_ISERVICE_HPP
#define CASTOR_ISERVICE_HPP 1
// Include files
#include <string>
......@@ -64,4 +64,4 @@ namespace castor {
} // end of namespace castor
#endif // CASTOR_ISERVICE_H
#endif // CASTOR_ISERVICE_HPP
......@@ -17,15 +17,15 @@
* along with this program; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
*
* @(#)$RCSfile: Services.hpp,v $ $Revision: 1.5 $ $Release$ $Date: 2004/05/25 16:26:54 $ $Author: sponcec3 $
* @(#)$RCSfile: Services.hpp,v $ $Revision: 1.6 $ $Release$ $Date: 2004/05/26 15:43:39 $ $Author: sponcec3 $
*
*
*
* @author Sebastien Ponce
*****************************************************************************/
#ifndef CASTOR_SERVICES_H
#define CASTOR_SERVICES_H 1
#ifndef CASTOR_SERVICES_HPP
#define CASTOR_SERVICES_HPP 1
//Include Files
#include <map>
......@@ -58,7 +58,7 @@ namespace castor {
* is created.
*/
IService* service (const std::string name,
const unsigned int id = 0);
const unsigned int id = 0) throw();
/**
* gets a conversion service by name.
......@@ -66,13 +66,13 @@ namespace castor {
* is created.
*/
ICnvSvc* cnvService (const std::string name,
const unsigned int id = 0);
const unsigned int id = 0) throw();
/**
* removes reference to a service. This means that it will be
* recreated using the factory if ever needed
*/
void removeService(const std::string name);
void removeService(const std::string name) throw();
/**
* create foreign representation from a C++ Object
......@@ -158,4 +158,4 @@ namespace castor {
} // end of namespace castor
#endif // CASTOR_SERVICES_H
#endif // CASTOR_SERVICES_HPP
......@@ -17,15 +17,15 @@
* along with this program; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
*
* @(#)$RCSfile: SvcFactory.hpp,v $ $Revision: 1.1.1.1 $ $Release$ $Date: 2004/05/12 12:13:34 $ $Author: sponcec3 $
* @(#)$RCSfile: SvcFactory.hpp,v $ $Revision: 1.2 $ $Release$ $Date: 2004/05/26 15:43:39 $ $Author: sponcec3 $
*
*
*
* @author Sebastien Ponce
*****************************************************************************/
#ifndef CASTOR_SVCFACTORY_H
#define CASTOR_SVCFACTORY_H 1
#ifndef CASTOR_SVCFACTORY_HPP
#define CASTOR_SVCFACTORY_HPP 1
// Include Files
#include "ISvcFactory.hpp"
......@@ -76,4 +76,4 @@ inline const unsigned int castor::SvcFactory<Service>::id() const {
return Service::ID();
}
#endif // CASTOR_SVCFACTORY_H
#endif // CASTOR_SVCFACTORY_HPP
......@@ -17,7 +17,7 @@
* along with this program; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
*
* @(#)$RCSfile: DbAddress.h,v $ $Revision: 1.2 $ $Release$ $Date: 2004/05/19 06:56:01 $ $Author: sponcec3 $
* @(#)$RCSfile: DbAddress.h,v $ $Revision: 1.3 $ $Release$ $Date: 2004/05/26 15:43:39 $ $Author: sponcec3 $
*
*
*
......@@ -36,9 +36,9 @@ typedef struct Cdb_DbAddress_t Cdb_DbAddress_t;
* constructor
*/
int Cdb_DbAddress_create(const unsigned long id,
const char* cnvSvcName,
const unsigned int cnvSvcType,
Cdb_DbAddress_t** addr);
const char* cnvSvcName,
const unsigned int cnvSvcType,
Cdb_DbAddress_t** addr);
/*
* destructor
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment