Skip to content

Commit

Permalink
move Jsoncpp within jsoncollector namespace to avoid clash with the n…
Browse files Browse the repository at this point in the history
…ewer version of the library included by tensorflow

several unused files removed
  • Loading branch information
smorovic committed May 16, 2024
1 parent 77c6c38 commit cb2ca12
Show file tree
Hide file tree
Showing 14 changed files with 27 additions and 755 deletions.
8 changes: 4 additions & 4 deletions EventFilter/Utilities/interface/EvFDaqDirector.h
Original file line number Diff line number Diff line change
Expand Up @@ -40,12 +40,12 @@ namespace edm {
class ProcessContext;
} // namespace edm

namespace Json {
class Value;
}

namespace jsoncollector {
class DataPointDefinition;

namespace Json {
class Value;
}
}

namespace edm {
Expand Down
2 changes: 2 additions & 0 deletions EventFilter/Utilities/interface/features.h
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@

#include "forwards.h"

namespace jsoncollector {
namespace Json {

/** \brief Configuration passed to reader and writer.
Expand Down Expand Up @@ -37,5 +38,6 @@ namespace Json {
};

} // namespace Json
} // namespace jsoncollector

#endif // CPPTL_JSON_FEATURES_H_INCLUDED
2 changes: 2 additions & 0 deletions EventFilter/Utilities/interface/forwards.h
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@

#include "config.h"

namespace jsoncollector {
namespace Json {

// writer.h
Expand Down Expand Up @@ -34,5 +35,6 @@ namespace Json {
#endif // #ifdef JSON_VALUE_USE_INTERNAL_MAP

} // namespace Json
} // namespace jsoncollector

#endif // JSON_FORWARDS_H_INCLUDED
2 changes: 2 additions & 0 deletions EventFilter/Utilities/interface/json_batchallocator.h
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@

#ifndef JSONCPP_DOC_EXCLUDE_IMPLEMENTATION

namespace jsoncollector {
namespace Json {

/* Fast memory allocator.
Expand Down Expand Up @@ -106,6 +107,7 @@ namespace Json {
};

} // namespace Json
} //namespace jsoncollector

#endif // ifndef JSONCPP_DOC_INCLUDE_IMPLEMENTATION

Expand Down
3 changes: 2 additions & 1 deletion EventFilter/Utilities/interface/reader.h
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@
#include <string>
#include <iostream>

namespace jsoncollector {
namespace Json {

/** \brief Unserialize a <a HREF="http://www.json.org">JSON</a> document into a Value.
Expand Down Expand Up @@ -167,5 +168,5 @@ namespace Json {
std::istream &operator>>(std::istream &, Value &);

} // namespace Json

} // namespace jsoncollector
#endif // CPPTL_JSON_READER_H_INCLUDED
4 changes: 3 additions & 1 deletion EventFilter/Utilities/interface/value.h
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,8 @@

/** \brief JSON (JavaScript Object Notation).
*/

namespace jsoncollector {
namespace Json {

/** \brief Type of the value held by a Value object.
Expand Down Expand Up @@ -957,5 +959,5 @@ class DefaultValueArrayAllocator : public ValueArrayAllocator
};

} // namespace Json

} // namespace jsoncollector
#endif // CPPTL_JSON_H_INCLUDED
2 changes: 2 additions & 0 deletions EventFilter/Utilities/interface/writer.h
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
#include <string>
#include <iostream>

namespace jsoncollector {
namespace Json {

class Value;
Expand Down Expand Up @@ -164,5 +165,6 @@ namespace Json {
std::ostream &operator<<(std::ostream &, const Value &root);

} // namespace Json
} // namespace jsoncollector

#endif // JSON_WRITER_H_INCLUDED
Loading

0 comments on commit cb2ca12

Please sign in to comment.