Skip to content

Commit

Permalink
added master header to make inclusion easier
Browse files Browse the repository at this point in the history
  • Loading branch information
drexlerd committed Apr 13, 2024
1 parent 696697f commit 4956e73
Show file tree
Hide file tree
Showing 157 changed files with 503 additions and 448 deletions.
4 changes: 2 additions & 2 deletions benchmarks/construct_atoms.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,8 @@

#include <benchmark/benchmark.h>
#include <iostream>
#include <loki/pddl/factories.hpp>
#include <loki/utils/memory.hpp>
#include <loki/details/pddl/factories.hpp>
#include <loki/details/utils/memory.hpp>
#include <random>

namespace loki::benchmarks
Expand Down
4 changes: 2 additions & 2 deletions benchmarks/iterate_atoms.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,8 @@

#include <benchmark/benchmark.h>
#include <iostream>
#include <loki/pddl/factories.hpp>
#include <loki/utils/memory.hpp>
#include <loki/details/pddl/factories.hpp>
#include <loki/details/utils/memory.hpp>
#include <random>

namespace loki::benchmarks
Expand Down
4 changes: 2 additions & 2 deletions benchmarks/utils.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,8 @@
#ifndef LOKI_BENCHMARKS_UTILS_HPP_
#define LOKI_BENCHMARKS_UTILS_HPP_

#include <loki/pddl/factories.hpp>
#include <loki/utils/memory.hpp>
#include <loki/details/pddl/factories.hpp>
#include <loki/details/utils/memory.hpp>

namespace loki::benchmarks
{
Expand Down
2 changes: 1 addition & 1 deletion examples/multiple_problems.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
*/

#include <iostream>
#include <loki/parser.hpp>
#include <loki/loki.hpp>

int main()
{
Expand Down
2 changes: 1 addition & 1 deletion examples/position_cache.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@

#include <cassert>
#include <iostream>
#include <loki/parser.hpp>
#include <loki/loki.hpp>

/// @brief Prints an error message when encourtering an And-Condition.
struct TestUnsupportedAndConditionVisitor
Expand Down
2 changes: 1 addition & 1 deletion examples/single_problem.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
*/

#include <iostream>
#include <loki/parser.hpp>
#include <loki/loki.hpp>

int main()
{
Expand Down
2 changes: 1 addition & 1 deletion examples/undefined_behavior.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
*/

#include <iostream>
#include <loki/parser.hpp>
#include <loki/loki.hpp>

/// @brief This example illustrates incorrect ownership handling
int main()
Expand Down
2 changes: 1 addition & 1 deletion exe/domain.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
*/

#include <iostream>
#include <loki/parser.hpp>
#include <loki/loki.hpp>

int main(int argc, char** argv)
{
Expand Down
2 changes: 1 addition & 1 deletion exe/problem.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
*/

#include <iostream>
#include <loki/parser.hpp>
#include <loki/loki.hpp>

int main(int argc, char** argv)
{
Expand Down
File renamed without changes.
File renamed without changes.
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
#ifndef LOKI_INCLUDE_LOKI_AST_ERROR_HANDLER_HPP_
#define LOKI_INCLUDE_LOKI_AST_ERROR_HANDLER_HPP_

#include "loki/ast/config.hpp"
#include "loki/details/ast/config.hpp"

#include <string>
#include <unordered_map>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
#ifndef LOKI_INCLUDE_LOKI_AST_ERROR_REPORTING_HPP_
#define LOKI_INCLUDE_LOKI_AST_ERROR_REPORTING_HPP_

#include "loki/ast/config.hpp"
#include "loki/details/ast/config.hpp"

#include <sstream>

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
#ifndef LOKI_INCLUDE_LOKI_AST_PARSER_HPP_
#define LOKI_INCLUDE_LOKI_AST_PARSER_HPP_

#include "loki/ast/ast.hpp"
#include "loki/details/ast/ast.hpp"

#include <boost/spirit/home/x3.hpp>

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
#ifndef LOKI_INCLUDE_AST_PARSER_WRAPPER_HPP_
#define LOKI_INCLUDE_AST_PARSER_WRAPPER_HPP_

#include "loki/ast/config.hpp"
#include "loki/details/ast/config.hpp"

#include <iostream>

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,8 @@
#ifndef LOKI_INCLUDE_LOKI_AST_PRINTER_HPP_
#define LOKI_INCLUDE_LOKI_AST_PRINTER_HPP_

#include "loki/ast/ast.hpp"
#include "loki/utils/printer.hpp"
#include "loki/details/ast/ast.hpp"
#include "loki/details/utils/printer.hpp"

namespace loki
{
Expand Down
File renamed without changes.
6 changes: 3 additions & 3 deletions include/loki/parser.hpp → include/loki/details/parser.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -18,9 +18,9 @@
#ifndef LOKI_INCLUDE_LOKI_PARSER_HPP_
#define LOKI_INCLUDE_LOKI_PARSER_HPP_

#include "loki/pddl/context.hpp"
#include "loki/pddl/declarations.hpp"
#include "loki/utils/filesystem.hpp"
#include "loki/details/pddl/context.hpp"
#include "loki/details/pddl/declarations.hpp"
#include "loki/details/utils/filesystem.hpp"

namespace loki
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,9 +18,9 @@
#ifndef LOKI_INCLUDE_LOKI_PDDL_ACTION_HPP_
#define LOKI_INCLUDE_LOKI_PDDL_ACTION_HPP_

#include "loki/pddl/base.hpp"
#include "loki/pddl/declarations.hpp"
#include "loki/pddl/factory.hpp"
#include "loki/details/pddl/base.hpp"
#include "loki/details/pddl/declarations.hpp"
#include "loki/details/pddl/factory.hpp"

#include <optional>
#include <string>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,9 +18,9 @@
#ifndef LOKI_INCLUDE_LOKI_PDDL_ATOM_HPP_
#define LOKI_INCLUDE_LOKI_PDDL_ATOM_HPP_

#include "loki/pddl/base.hpp"
#include "loki/pddl/declarations.hpp"
#include "loki/pddl/factory.hpp"
#include "loki/details/pddl/base.hpp"
#include "loki/details/pddl/declarations.hpp"
#include "loki/details/pddl/factory.hpp"

#include <string>

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,9 +18,9 @@
#ifndef LOKI_INCLUDE_LOKI_PDDL_DERIVED_PREDICATE_HPP_
#define LOKI_INCLUDE_LOKI_PDDL_DERIVED_PREDICATE_HPP_

#include "loki/pddl/base.hpp"
#include "loki/pddl/declarations.hpp"
#include "loki/pddl/factory.hpp"
#include "loki/details/pddl/base.hpp"
#include "loki/details/pddl/declarations.hpp"
#include "loki/details/pddl/factory.hpp"

#include <string>

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
#ifndef LOKI_INCLUDE_LOKI_PDDL_BASE_HPP_
#define LOKI_INCLUDE_LOKI_PDDL_BASE_HPP_

#include "loki/utils/printer.hpp"
#include "loki/details/utils/printer.hpp"

#include <algorithm>
#include <sstream>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,9 +18,9 @@
#ifndef LOKI_INCLUDE_LOKI_PDDL_CONDITIONS_HPP_
#define LOKI_INCLUDE_LOKI_PDDL_CONDITIONS_HPP_

#include "loki/pddl/base.hpp"
#include "loki/pddl/declarations.hpp"
#include "loki/pddl/factory.hpp"
#include "loki/details/pddl/base.hpp"
#include "loki/details/pddl/declarations.hpp"
#include "loki/details/pddl/factory.hpp"

#include <string>

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,10 +18,10 @@
#ifndef LOKI_INCLUDE_LOKI_PDDL_CONTEXT_HPP_
#define LOKI_INCLUDE_LOKI_PDDL_CONTEXT_HPP_

#include "loki/pddl/factories.hpp"
#include "loki/pddl/position.hpp"
#include "loki/pddl/reference.hpp"
#include "loki/pddl/scope.hpp"
#include "loki/details/pddl/factories.hpp"
#include "loki/details/pddl/position.hpp"
#include "loki/details/pddl/reference.hpp"
#include "loki/details/pddl/scope.hpp"

namespace loki
{
Expand Down
File renamed without changes.
Original file line number Diff line number Diff line change
Expand Up @@ -18,10 +18,10 @@
#ifndef LOKI_INCLUDE_LOKI_PDDL_DOMAIN_HPP_
#define LOKI_INCLUDE_LOKI_PDDL_DOMAIN_HPP_

#include "loki/pddl/base.hpp"
#include "loki/pddl/declarations.hpp"
#include "loki/pddl/factory.hpp"
#include "loki/pddl/requirements.hpp"
#include "loki/details/pddl/base.hpp"
#include "loki/details/pddl/declarations.hpp"
#include "loki/details/pddl/factory.hpp"
#include "loki/details/pddl/requirements.hpp"

#include <string>

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,9 +18,9 @@
#ifndef LOKI_INCLUDE_LOKI_PDDL_EFFECTS_HPP_
#define LOKI_INCLUDE_LOKI_PDDL_EFFECTS_HPP_

#include "loki/pddl/base.hpp"
#include "loki/pddl/declarations.hpp"
#include "loki/pddl/factory.hpp"
#include "loki/details/pddl/base.hpp"
#include "loki/details/pddl/declarations.hpp"
#include "loki/details/pddl/factory.hpp"

#include <string>

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
#ifndef LOKI_INCLUDE_LOKI_PDDL_ERROR_REPORTING_HPP_
#define LOKI_INCLUDE_LOKI_PDDL_ERROR_REPORTING_HPP_

#include "loki/utils/filesystem.hpp"
#include "loki/details/utils/filesystem.hpp"

#include <boost/spirit/home/x3/support/utility/error_reporting.hpp>
#include <sstream>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,9 +18,9 @@
#ifndef LOKI_INCLUDE_LOKI_PDDL_EXCEPTIONS_HPP_
#define LOKI_INCLUDE_LOKI_PDDL_EXCEPTIONS_HPP_

#include "loki/exceptions.hpp"
#include "loki/pddl/declarations.hpp"
#include "loki/pddl/requirements.hpp"
#include "loki/details/exceptions.hpp"
#include "loki/details/pddl/declarations.hpp"
#include "loki/details/pddl/requirements.hpp"

#include <stdexcept>

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,31 +18,31 @@
#ifndef LOKI_INCLUDE_LOKI_PDDL_FACTORIES_HPP_
#define LOKI_INCLUDE_LOKI_PDDL_FACTORIES_HPP_

#include "loki/pddl/action.hpp"
#include "loki/pddl/atom.hpp"
#include "loki/pddl/axiom.hpp"
#include "loki/pddl/conditions.hpp"
#include "loki/pddl/declarations.hpp"
#include "loki/pddl/domain.hpp"
#include "loki/pddl/effects.hpp"
#include "loki/pddl/factory.hpp"
#include "loki/pddl/function.hpp"
#include "loki/pddl/function_expressions.hpp"
#include "loki/pddl/function_skeleton.hpp"
#include "loki/pddl/ground_atom.hpp"
#include "loki/pddl/ground_literal.hpp"
#include "loki/pddl/literal.hpp"
#include "loki/pddl/metric.hpp"
#include "loki/pddl/numeric_fluent.hpp"
#include "loki/pddl/object.hpp"
#include "loki/pddl/parameter.hpp"
#include "loki/pddl/position.hpp"
#include "loki/pddl/predicate.hpp"
#include "loki/pddl/problem.hpp"
#include "loki/pddl/requirements.hpp"
#include "loki/pddl/term.hpp"
#include "loki/pddl/type.hpp"
#include "loki/pddl/variable.hpp"
#include "loki/details/pddl/action.hpp"
#include "loki/details/pddl/atom.hpp"
#include "loki/details/pddl/axiom.hpp"
#include "loki/details/pddl/conditions.hpp"
#include "loki/details/pddl/declarations.hpp"
#include "loki/details/pddl/domain.hpp"
#include "loki/details/pddl/effects.hpp"
#include "loki/details/pddl/factory.hpp"
#include "loki/details/pddl/function.hpp"
#include "loki/details/pddl/function_expressions.hpp"
#include "loki/details/pddl/function_skeleton.hpp"
#include "loki/details/pddl/ground_atom.hpp"
#include "loki/details/pddl/ground_literal.hpp"
#include "loki/details/pddl/literal.hpp"
#include "loki/details/pddl/metric.hpp"
#include "loki/details/pddl/numeric_fluent.hpp"
#include "loki/details/pddl/object.hpp"
#include "loki/details/pddl/parameter.hpp"
#include "loki/details/pddl/position.hpp"
#include "loki/details/pddl/predicate.hpp"
#include "loki/details/pddl/problem.hpp"
#include "loki/details/pddl/requirements.hpp"
#include "loki/details/pddl/term.hpp"
#include "loki/details/pddl/type.hpp"
#include "loki/details/pddl/variable.hpp"

namespace loki
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,8 @@
#ifndef LOKI_INCLUDE_LOKI_PDDL_FACTORY_HPP_
#define LOKI_INCLUDE_LOKI_PDDL_FACTORY_HPP_

#include "loki/pddl/utils.hpp"
#include "loki/utils/segmented_vector.hpp"
#include "loki/details/pddl/utils.hpp"
#include "loki/details/utils/segmented_vector.hpp"

#include <memory>
#include <mutex>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,9 +18,9 @@
#ifndef LOKI_INCLUDE_LOKI_PDDL_FUNCTION_HPP_
#define LOKI_INCLUDE_LOKI_PDDL_FUNCTION_HPP_

#include "loki/pddl/base.hpp"
#include "loki/pddl/declarations.hpp"
#include "loki/pddl/factory.hpp"
#include "loki/details/pddl/base.hpp"
#include "loki/details/pddl/declarations.hpp"
#include "loki/details/pddl/factory.hpp"

#include <string>

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,9 +18,9 @@
#ifndef LOKI_INCLUDE_LOKI_PDDL_FUNCTION_EXPRESSIONS_HPP_
#define LOKI_INCLUDE_LOKI_PDDL_FUNCTION_EXPRESSIONS_HPP_

#include "loki/pddl/base.hpp"
#include "loki/pddl/declarations.hpp"
#include "loki/pddl/factory.hpp"
#include "loki/details/pddl/base.hpp"
#include "loki/details/pddl/declarations.hpp"
#include "loki/details/pddl/factory.hpp"

#include <string>

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,9 +18,9 @@
#ifndef LOKI_INCLUDE_LOKI_PDDL_FUNCTION_SKELETON_HPP_
#define LOKI_INCLUDE_LOKI_PDDL_FUNCTION_SKELETON_HPP_

#include "loki/pddl/base.hpp"
#include "loki/pddl/declarations.hpp"
#include "loki/pddl/factory.hpp"
#include "loki/details/pddl/base.hpp"
#include "loki/details/pddl/declarations.hpp"
#include "loki/details/pddl/factory.hpp"

#include <string>

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,9 +18,9 @@
#ifndef LOKI_INCLUDE_LOKI_PDDL_GROUND_ATOM_HPP_
#define LOKI_INCLUDE_LOKI_PDDL_GROUND_ATOM_HPP_

#include "loki/pddl/base.hpp"
#include "loki/pddl/declarations.hpp"
#include "loki/pddl/factory.hpp"
#include "loki/details/pddl/base.hpp"
#include "loki/details/pddl/declarations.hpp"
#include "loki/details/pddl/factory.hpp"

#include <string>

Expand Down
Loading

0 comments on commit 4956e73

Please sign in to comment.