Skip to content
Snippets Groups Projects
Commit d6dd15ac authored by Rainer Kartmann's avatar Rainer Kartmann
Browse files

Remove using namespace std from headers

parent 1d1f2245
No related branches found
No related tags found
1 merge request!98ArMem Update
Showing
with 19 additions and 25 deletions
......@@ -27,7 +27,6 @@
// ArmarX
#include <RobotAPI/interface/aron.h>
using namespace std;
namespace armarx
{
......
......@@ -29,7 +29,7 @@
// ArmarX
#include <RobotAPI/interface/aron.h>
using namespace std;
// TODO: REMOVE!!!
namespace armarx
......
......@@ -36,7 +36,6 @@
#include <RobotAPI/libraries/aron/aroncore/io/AronTypeIO/AronTypeReader.h>
#include <RobotAPI/libraries/aron/aroncore/io/AronTypeIO/AronTypeWriter.h>
using namespace std;
namespace armarx
{
......
......@@ -39,7 +39,6 @@
#include <RobotAPI/libraries/aron/aroncore/navigators/typenavigator/AronAllTypeNavigators.h>
#include <RobotAPI/libraries/aron/aroncore/codegenerator/AronGenerateTypeInfo.h>
using namespace std;
namespace armarx
{
......
......@@ -27,7 +27,6 @@
// Base Class
#include <RobotAPI/libraries/aron/aroncore/io/AronReader.h>
using namespace std;
namespace armarx
{
......@@ -43,7 +42,7 @@ namespace armarx
template <typename T>
class AronClassReader :
virtual public AronReader
virtual public AronReader
{
public:
AronClassReader(const T& input) :
......
......@@ -27,7 +27,6 @@
// ArmarX
#include <RobotAPI/libraries/aron/aroncore/io/AronWriter.h>
using namespace std;
namespace armarx
{
......@@ -43,7 +42,7 @@ namespace armarx
template <typename T>
class AronClassWriter :
virtual public AronWriter
virtual public AronWriter
{
public:
AronClassWriter() = default;
......
......@@ -31,7 +31,6 @@
#include <ArmarXCore/core/exceptions/Exception.h>
#include <RobotAPI/libraries/aron/aroncore/AronConfig.h>
using namespace std;
namespace armarx
{
......
......@@ -32,7 +32,7 @@
#include <RobotAPI/interface/aron.h>
#include <RobotAPI/libraries/aron/aroncore/AronConfig.h>
using namespace std;
namespace armarx
{
......
......@@ -32,7 +32,7 @@
#include <RobotAPI/interface/aron.h>
using namespace std;
namespace armarx
{
......@@ -44,7 +44,7 @@ namespace armarx
typedef std::shared_ptr<LegacyAronDataWriter> LegacyAronDataWriterPtr;
class LegacyAronDataWriter :
virtual public AronDataWriter
virtual public AronDataWriter
{
private:
LegacyAronDataWriter() = delete;
......
......@@ -27,7 +27,7 @@
// Base Class
#include <RobotAPI/libraries/aron/aroncore/io/AronDataIO/AronDataReader.h>
using namespace std;
namespace armarx
{
......@@ -43,7 +43,7 @@ namespace armarx
template <typename T>
class AronDataClassReader :
virtual public AronDataReader
virtual public AronDataReader
{
public:
AronDataClassReader(const T& input) :
......
......@@ -30,7 +30,7 @@
#include <RobotAPI/libraries/aron/aroncore/navigators/datanavigator/AronDictDataNavigator.h>
#include <RobotAPI/libraries/aron/aroncore/navigators/datanavigator/AronNDArrayDataNavigator.h>
using namespace std;
namespace armarx
{
......
......@@ -27,7 +27,7 @@
// BaseClass
#include <RobotAPI/libraries/aron/aroncore/io/AronDataIO/AronDataWriter.h>
using namespace std;
namespace armarx
{
......@@ -43,7 +43,7 @@ namespace armarx
template <typename T>
class AronDataClassWriter :
virtual public AronDataWriter
virtual public AronDataWriter
{
public:
AronDataClassWriter() = default;
......
......@@ -29,7 +29,7 @@
#include <RobotAPI/libraries/aron/aroncore/AronConfig.h>
using namespace std;
namespace armarx
{
......
......@@ -29,7 +29,7 @@
#include <RobotAPI/libraries/aron/aroncore/AronConfig.h>
using namespace std;
namespace armarx
{
......
......@@ -30,7 +30,7 @@
#include <RobotAPI/interface/aron.h>
#include <RobotAPI/libraries/aron/aroncore/AronConfig.h>
using namespace std;
namespace armarx
{
......
......@@ -27,7 +27,7 @@
// ArmarX
#include <RobotAPI/libraries/aron/aroncore/io/AronTypeIO/AronTypeWriter.h>
using namespace std;
namespace armarx
{
......@@ -43,7 +43,7 @@ namespace armarx
template <typename T>
class AronTypeClassWriter :
virtual public AronTypeWriter
virtual public AronTypeWriter
{
public:
AronTypeClassWriter() = default;
......
......@@ -29,7 +29,7 @@
#include <RobotAPI/interface/aron.h>
using namespace std;
namespace armarx
{
......
......@@ -30,7 +30,7 @@
#include <RobotAPI/libraries/aron/aroncore/AronConfig.h>
#include <RobotAPI/libraries/aron/aroncore/AronException.h>
using namespace std;
namespace armarx
{
......@@ -52,7 +52,7 @@ namespace armarx
AronWriterToken(const typename AronNavigatorTypename::PointerType& e) :
element(e), currentIndex(0), currentKey("")
{
if(e == nullptr)
if (e == nullptr)
{
throw exception::AronException("AronWriterToken", "AronWriterToken", "The passed argument is NULL.");
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment