Browse Source

Added a ton of ifndefs, because MSVC does not yet support defaulting move constructors/assignments.

Former-commit-id: 105792abac
tempestpy_adaptions
dehnert 11 years ago
parent
commit
cc625a2e00
  1. 5
      src/storage/expressions/BaseExpression.h
  2. 3
      src/storage/expressions/BinaryBooleanFunctionExpression.h
  3. 3
      src/storage/expressions/BinaryExpression.h
  4. 3
      src/storage/expressions/BinaryNumericalFunctionExpression.h
  5. 3
      src/storage/expressions/BinaryRelationExpression.h
  6. 3
      src/storage/expressions/BooleanConstantExpression.h
  7. 3
      src/storage/expressions/BooleanLiteralExpression.h
  8. 3
      src/storage/expressions/ConstantExpression.h
  9. 3
      src/storage/expressions/DoubleConstantExpression.h
  10. 3
      src/storage/expressions/DoubleLiteralExpression.h
  11. 3
      src/storage/expressions/Expression.h
  12. 1
      src/storage/expressions/Expressions.h
  13. 3
      src/storage/expressions/IfThenElseExpression.h
  14. 3
      src/storage/expressions/IntegerConstantExpression.h
  15. 3
      src/storage/expressions/IntegerLiteralExpression.h
  16. 3
      src/storage/expressions/UnaryBooleanFunctionExpression.h
  17. 3
      src/storage/expressions/UnaryExpression.h
  18. 3
      src/storage/expressions/UnaryNumericalFunctionExpression.h
  19. 5
      src/storage/expressions/VariableExpression.h
  20. 3
      src/storage/prism/Assignment.h
  21. 3
      src/storage/prism/BooleanVariable.h
  22. 3
      src/storage/prism/Command.h
  23. 3
      src/storage/prism/Constant.h
  24. 3
      src/storage/prism/Formula.h
  25. 3
      src/storage/prism/IntegerVariable.h
  26. 3
      src/storage/prism/Label.h
  27. 4
      src/storage/prism/LocatedInformation.h
  28. 3
      src/storage/prism/Module.h
  29. 3
      src/storage/prism/Program.h
  30. 3
      src/storage/prism/RewardModel.h
  31. 3
      src/storage/prism/StateReward.h
  32. 3
      src/storage/prism/TransitionReward.h
  33. 3
      src/storage/prism/Update.h
  34. 3
      src/storage/prism/Variable.h

5
src/storage/expressions/BaseExpression.h

@ -9,6 +9,7 @@
#include "src/storage/expressions/Valuation.h"
#include "src/storage/expressions/ExpressionVisitor.h"
#include "src/exceptions/InvalidArgumentException.h"
#include "src/utility/OsDetection.h"
namespace storm {
namespace expressions {
@ -33,9 +34,11 @@ namespace storm {
// Create default versions of constructors and assignments.
BaseExpression(BaseExpression const&) = default;
BaseExpression(BaseExpression&&) = default;
BaseExpression& operator=(BaseExpression const&) = default;
#ifndef WINDOWS
BaseExpression(BaseExpression&&) = default;
BaseExpression& operator=(BaseExpression&&) = default;
#endif
// Make the destructor virtual (to allow destruction via base class pointer) and default it.
virtual ~BaseExpression() = default;

3
src/storage/expressions/BinaryBooleanFunctionExpression.h

@ -2,6 +2,7 @@
#define STORM_STORAGE_EXPRESSIONS_BINARYBOOLEANFUNCTIONEXPRESSION_H_
#include "src/storage/expressions/BinaryExpression.h"
#include "src/utility/OsDetection.h"
namespace storm {
namespace expressions {
@ -25,8 +26,10 @@ namespace storm {
// Instantiate constructors and assignments with their default implementations.
BinaryBooleanFunctionExpression(BinaryBooleanFunctionExpression const& other) = default;
BinaryBooleanFunctionExpression& operator=(BinaryBooleanFunctionExpression const& other) = default;
#ifndef WINDOWS
BinaryBooleanFunctionExpression(BinaryBooleanFunctionExpression&&) = default;
BinaryBooleanFunctionExpression& operator=(BinaryBooleanFunctionExpression&&) = default;
#endif
virtual ~BinaryBooleanFunctionExpression() = default;
// Override base class methods.

3
src/storage/expressions/BinaryExpression.h

@ -2,6 +2,7 @@
#define STORM_STORAGE_EXPRESSIONS_BINARYEXPRESSION_H_
#include "src/storage/expressions/BaseExpression.h"
#include "src/utility/OsDetection.h"
namespace storm {
namespace expressions {
@ -22,8 +23,10 @@ namespace storm {
// Instantiate constructors and assignments with their default implementations.
BinaryExpression(BinaryExpression const& other) = default;
BinaryExpression& operator=(BinaryExpression const& other) = default;
#ifndef WINDOWS
BinaryExpression(BinaryExpression&&) = default;
BinaryExpression& operator=(BinaryExpression&&) = default;
#endif
virtual ~BinaryExpression() = default;
// Override base class methods.

3
src/storage/expressions/BinaryNumericalFunctionExpression.h

@ -2,6 +2,7 @@
#define STORM_STORAGE_EXPRESSIONS_BINARYNUMERICALFUNCTIONEXPRESSION_H_
#include "src/storage/expressions/BinaryExpression.h"
#include "src/utility/OsDetection.h"
namespace storm {
namespace expressions {
@ -25,8 +26,10 @@ namespace storm {
// Instantiate constructors and assignments with their default implementations.
BinaryNumericalFunctionExpression(BinaryNumericalFunctionExpression const& other) = default;
BinaryNumericalFunctionExpression& operator=(BinaryNumericalFunctionExpression const& other) = default;
#ifndef WINDOWS
BinaryNumericalFunctionExpression(BinaryNumericalFunctionExpression&&) = default;
BinaryNumericalFunctionExpression& operator=(BinaryNumericalFunctionExpression&&) = default;
#endif
virtual ~BinaryNumericalFunctionExpression() = default;
// Override base class methods.

3
src/storage/expressions/BinaryRelationExpression.h

@ -2,6 +2,7 @@
#define STORM_STORAGE_EXPRESSIONS_BINARYRELATIONEXPRESSION_H_
#include "src/storage/expressions/BinaryExpression.h"
#include "src/utility/OsDetection.h"
namespace storm {
namespace expressions {
@ -25,8 +26,10 @@ namespace storm {
// Instantiate constructors and assignments with their default implementations.
BinaryRelationExpression(BinaryRelationExpression const& other) = default;
BinaryRelationExpression& operator=(BinaryRelationExpression const& other) = default;
#ifndef WINDOWS
BinaryRelationExpression(BinaryRelationExpression&&) = default;
BinaryRelationExpression& operator=(BinaryRelationExpression&&) = default;
#endif
virtual ~BinaryRelationExpression() = default;
// Override base class methods.

3
src/storage/expressions/BooleanConstantExpression.h

@ -2,6 +2,7 @@
#define STORM_STORAGE_EXPRESSIONS_BOOLEANCONSTANTEXPRESSION_H_
#include "src/storage/expressions/ConstantExpression.h"
#include "src/utility/OsDetection.h"
namespace storm {
namespace expressions {
@ -17,8 +18,10 @@ namespace storm {
// Instantiate constructors and assignments with their default implementations.
BooleanConstantExpression(BooleanConstantExpression const& other) = default;
BooleanConstantExpression& operator=(BooleanConstantExpression const& other) = default;
#ifndef WINDOWS
BooleanConstantExpression(BooleanConstantExpression&&) = default;
BooleanConstantExpression& operator=(BooleanConstantExpression&&) = default;
#endif
virtual ~BooleanConstantExpression() = default;
// Override base class methods.

3
src/storage/expressions/BooleanLiteralExpression.h

@ -2,6 +2,7 @@
#define STORM_STORAGE_EXPRESSIONS_BOOLEANLITERALEXPRESSION_H_
#include "src/storage/expressions/BaseExpression.h"
#include "src/utility/OsDetection.h"
namespace storm {
namespace expressions {
@ -17,8 +18,10 @@ namespace storm {
// Instantiate constructors and assignments with their default implementations.
BooleanLiteralExpression(BooleanLiteralExpression const& other) = default;
BooleanLiteralExpression& operator=(BooleanLiteralExpression const& other) = default;
#ifndef WINDOWS
BooleanLiteralExpression(BooleanLiteralExpression&&) = default;
BooleanLiteralExpression& operator=(BooleanLiteralExpression&&) = default;
#endif
virtual ~BooleanLiteralExpression() = default;
// Override base class methods.

3
src/storage/expressions/ConstantExpression.h

@ -2,6 +2,7 @@
#define STORM_STORAGE_EXPRESSIONS_CONSTANTEXPRESSION_H_
#include "src/storage/expressions/BaseExpression.h"
#include "src/utility/OsDetection.h"
namespace storm {
namespace expressions {
@ -18,8 +19,10 @@ namespace storm {
// Instantiate constructors and assignments with their default implementations.
ConstantExpression(ConstantExpression const& other) = default;
ConstantExpression& operator=(ConstantExpression const& other) = default;
#ifndef WINDOWS
ConstantExpression(ConstantExpression&&) = default;
ConstantExpression& operator=(ConstantExpression&&) = default;
#endif
virtual ~ConstantExpression() = default;
// Override base class methods.

3
src/storage/expressions/DoubleConstantExpression.h

@ -2,6 +2,7 @@
#define STORM_STORAGE_EXPRESSIONS_DOUBLECONSTANTEXPRESSION_H_
#include "src/storage/expressions/ConstantExpression.h"
#include "src/utility/OsDetection.h"
namespace storm {
namespace expressions {
@ -17,8 +18,10 @@ namespace storm {
// Instantiate constructors and assignments with their default implementations.
DoubleConstantExpression(DoubleConstantExpression const& other) = default;
DoubleConstantExpression& operator=(DoubleConstantExpression const& other) = default;
#ifndef WINDOWS
DoubleConstantExpression(DoubleConstantExpression&&) = default;
DoubleConstantExpression& operator=(DoubleConstantExpression&&) = default;
#endif
virtual ~DoubleConstantExpression() = default;
// Override base class methods.

3
src/storage/expressions/DoubleLiteralExpression.h

@ -2,6 +2,7 @@
#define STORM_STORAGE_EXPRESSIONS_DOUBLELITERALEXPRESSION_H_
#include "src/storage/expressions/BaseExpression.h"
#include "src/utility/OsDetection.h"
namespace storm {
namespace expressions {
@ -17,8 +18,10 @@ namespace storm {
// Instantiate constructors and assignments with their default implementations.
DoubleLiteralExpression(DoubleLiteralExpression const& other) = default;
DoubleLiteralExpression& operator=(DoubleLiteralExpression const& other) = default;
#ifndef WINDOWS
DoubleLiteralExpression(DoubleLiteralExpression&&) = default;
DoubleLiteralExpression& operator=(DoubleLiteralExpression&&) = default;
#endif
virtual ~DoubleLiteralExpression() = default;
// Override base class methods.

3
src/storage/expressions/Expression.h

@ -4,6 +4,7 @@
#include <memory>
#include "src/storage/expressions/BaseExpression.h"
#include "src/utility/OsDetection.h"
namespace storm {
namespace expressions {
@ -21,8 +22,10 @@ namespace storm {
// Instantiate constructors and assignments with their default implementations.
Expression(Expression const& other) = default;
Expression& operator=(Expression const& other) = default;
#ifndef WINDOWS
Expression(Expression&&) = default;
Expression& operator=(Expression&&) = default;
#endif
// Static factory methods to create atomic expression parts.
static Expression createBooleanLiteral(bool value);

1
src/storage/expressions/Expressions.h

@ -1,3 +1,4 @@
#include "src/storage/expressions/IfThenElseExpression.h"
#include "src/storage/expressions/BinaryBooleanFunctionExpression.h"
#include "src/storage/expressions/BinaryNumericalFunctionExpression.h"
#include "src/storage/expressions/BinaryRelationExpression.h"

3
src/storage/expressions/IfThenElseExpression.h

@ -2,6 +2,7 @@
#define STORM_STORAGE_EXPRESSIONS_IFTHENELSEEXPRESSION_H_
#include "src/storage/expressions/BaseExpression.h"
#include "src/utility/OsDetection.h"
namespace storm {
namespace expressions {
@ -19,8 +20,10 @@ namespace storm {
// Instantiate constructors and assignments with their default implementations.
IfThenElseExpression(IfThenElseExpression const& other) = default;
IfThenElseExpression& operator=(IfThenElseExpression const& other) = default;
#ifndef WINDOWS
IfThenElseExpression(IfThenElseExpression&&) = default;
IfThenElseExpression& operator=(IfThenElseExpression&&) = default;
#endif
virtual ~IfThenElseExpression() = default;
// Override base class methods.

3
src/storage/expressions/IntegerConstantExpression.h

@ -2,6 +2,7 @@
#define STORM_STORAGE_EXPRESSIONS_INTEGERCONSTANTEXPRESSION_H_
#include "src/storage/expressions/ConstantExpression.h"
#include "src/utility/OsDetection.h"
namespace storm {
namespace expressions {
@ -17,8 +18,10 @@ namespace storm {
// Instantiate constructors and assignments with their default implementations.
IntegerConstantExpression(IntegerConstantExpression const& other) = default;
IntegerConstantExpression& operator=(IntegerConstantExpression const& other) = default;
#ifndef WINDOWS
IntegerConstantExpression(IntegerConstantExpression&&) = default;
IntegerConstantExpression& operator=(IntegerConstantExpression&&) = default;
#endif
virtual ~IntegerConstantExpression() = default;
// Override base class methods.

3
src/storage/expressions/IntegerLiteralExpression.h

@ -2,6 +2,7 @@
#define STORM_STORAGE_EXPRESSIONS_INTEGERLITERALEXPRESSION_H_
#include "src/storage/expressions/BaseExpression.h"
#include "src/utility/OsDetection.h"
namespace storm {
namespace expressions {
@ -17,8 +18,10 @@ namespace storm {
// Instantiate constructors and assignments with their default implementations.
IntegerLiteralExpression(IntegerLiteralExpression const& other) = default;
IntegerLiteralExpression& operator=(IntegerLiteralExpression const& other) = default;
#ifndef
IntegerLiteralExpression(IntegerLiteralExpression&&) = default;
IntegerLiteralExpression& operator=(IntegerLiteralExpression&&) = default;
#endif
virtual ~IntegerLiteralExpression() = default;
// Override base class methods.

3
src/storage/expressions/UnaryBooleanFunctionExpression.h

@ -2,6 +2,7 @@
#define STORM_STORAGE_EXPRESSIONS_UNARYBOOLEANFUNCTIONEXPRESSION_H_
#include "src/storage/expressions/UnaryExpression.h"
#include "src/utility/OsDetection.h"
namespace storm {
namespace expressions {
@ -24,8 +25,10 @@ namespace storm {
// Instantiate constructors and assignments with their default implementations.
UnaryBooleanFunctionExpression(UnaryBooleanFunctionExpression const& other) = default;
UnaryBooleanFunctionExpression& operator=(UnaryBooleanFunctionExpression const& other) = default;
#ifndef WINDOWS
UnaryBooleanFunctionExpression(UnaryBooleanFunctionExpression&&) = default;
UnaryBooleanFunctionExpression& operator=(UnaryBooleanFunctionExpression&&) = default;
#endif
virtual ~UnaryBooleanFunctionExpression() = default;
// Override base class methods.

3
src/storage/expressions/UnaryExpression.h

@ -2,6 +2,7 @@
#define STORM_STORAGE_EXPRESSIONS_UNARYEXPRESSION_H_
#include "src/storage/expressions/BaseExpression.h"
#include "src/utility/OsDetection.h"
namespace storm {
namespace expressions {
@ -18,8 +19,10 @@ namespace storm {
// Instantiate constructors and assignments with their default implementations.
UnaryExpression(UnaryExpression const& other);
UnaryExpression& operator=(UnaryExpression const& other);
#ifndef WINDOWS
UnaryExpression(UnaryExpression&&) = default;
UnaryExpression& operator=(UnaryExpression&&) = default;
#endif
virtual ~UnaryExpression() = default;
// Override base class methods.

3
src/storage/expressions/UnaryNumericalFunctionExpression.h

@ -2,6 +2,7 @@
#define STORM_STORAGE_EXPRESSIONS_UNARYNUMERICALFUNCTIONEXPRESSION_H_
#include "src/storage/expressions/UnaryExpression.h"
#include "src/utility/OsDetection.h"
namespace storm {
namespace expressions {
@ -24,8 +25,10 @@ namespace storm {
// Instantiate constructors and assignments with their default implementations.
UnaryNumericalFunctionExpression(UnaryNumericalFunctionExpression const& other) = default;
UnaryNumericalFunctionExpression& operator=(UnaryNumericalFunctionExpression const& other) = default;
#ifndef WINDOWS
UnaryNumericalFunctionExpression(UnaryNumericalFunctionExpression&&) = default;
UnaryNumericalFunctionExpression& operator=(UnaryNumericalFunctionExpression&&) = default;
#endif
virtual ~UnaryNumericalFunctionExpression() = default;
// Override base class methods.

5
src/storage/expressions/VariableExpression.h

@ -2,6 +2,7 @@
#define STORM_STORAGE_EXPRESSIONS_VARIABLEEXPRESSION_H_
#include "src/storage/expressions/BaseExpression.h"
#include "src/utility/OsDetection.h"
namespace storm {
namespace expressions {
@ -17,9 +18,11 @@ namespace storm {
// Instantiate constructors and assignments with their default implementations.
VariableExpression(VariableExpression const&) = default;
VariableExpression(VariableExpression&&) = default;
VariableExpression& operator=(VariableExpression const&) = default;
#ifndef WINDOWS
VariableExpression(VariableExpression&&) = default;
VariableExpression& operator=(VariableExpression&&) = default;
#endif
virtual ~VariableExpression() = default;
// Override base class methods.

3
src/storage/prism/Assignment.h

@ -5,6 +5,7 @@
#include "src/storage/prism/LocatedInformation.h"
#include "src/storage/expressions/Expression.h"
#include "src/utility/OsDetection.h"
namespace storm {
namespace prism {
@ -24,8 +25,10 @@ namespace storm {
Assignment() = default;
Assignment(Assignment const& other) = default;
Assignment& operator=(Assignment const& other)= default;
#ifndef WINDOWS
Assignment(Assignment&& other) = default;
Assignment& operator=(Assignment&& other) = default;
#endif
/*!
* Retrieves the name of the variable that this assignment targets.

3
src/storage/prism/BooleanVariable.h

@ -4,6 +4,7 @@
#include <map>
#include "src/storage/prism/Variable.h"
#include "src/utility/OsDetection.h"
namespace storm {
namespace prism {
@ -13,8 +14,10 @@ namespace storm {
BooleanVariable() = default;
BooleanVariable(BooleanVariable const& other) = default;
BooleanVariable& operator=(BooleanVariable const& other)= default;
#ifndef WINDOWS
BooleanVariable(BooleanVariable&& other) = default;
BooleanVariable& operator=(BooleanVariable&& other) = default;
#endif
/*!
* Creates a boolean variable with the given name and the default initial value expression.

3
src/storage/prism/Command.h

@ -7,6 +7,7 @@
#include "src/storage/expressions/Expression.h"
#include "src/storage/prism/Update.h"
#include "src/utility/OsDetection.h"
namespace storm {
namespace prism {
@ -28,8 +29,10 @@ namespace storm {
Command() = default;
Command(Command const& other) = default;
Command& operator=(Command const& other)= default;
#ifndef WINDOWS
Command(Command&& other) = default;
Command& operator=(Command&& other) = default;
#endif
/*!
* Retrieves the action name of this command.

3
src/storage/prism/Constant.h

@ -5,6 +5,7 @@
#include "src/storage/prism/LocatedInformation.h"
#include "src/storage/expressions/Expression.h"
#include "src/utility/OsDetection.h"
namespace storm {
namespace prism {
@ -35,8 +36,10 @@ namespace storm {
Constant() = default;
Constant(Constant const& other) = default;
Constant& operator=(Constant const& other)= default;
#ifndef WINDOWS
Constant(Constant&& other) = default;
Constant& operator=(Constant&& other) = default;
#endif
/*!
* Retrieves the name of the constant.

3
src/storage/prism/Formula.h

@ -5,6 +5,7 @@
#include "src/storage/prism/LocatedInformation.h"
#include "src/storage/expressions/Expression.h"
#include "src/utility/OsDetection.h"
namespace storm {
namespace prism {
@ -25,8 +26,10 @@ namespace storm {
Formula() = default;
Formula(Formula const& other) = default;
Formula& operator=(Formula const& other)= default;
#ifndef WINDOWS
Formula(Formula&& other) = default;
Formula& operator=(Formula&& other) = default;
#endif
/*!
* Retrieves the name that is associated with this formula.

3
src/storage/prism/IntegerVariable.h

@ -4,6 +4,7 @@
#include <map>
#include "src/storage/prism/Variable.h"
#include "src/utility/OsDetection.h"
namespace storm {
namespace prism {
@ -13,8 +14,10 @@ namespace storm {
IntegerVariable() = default;
IntegerVariable(IntegerVariable const& other) = default;
IntegerVariable& operator=(IntegerVariable const& other)= default;
#ifndef WINDOWS
IntegerVariable(IntegerVariable&& other) = default;
IntegerVariable& operator=(IntegerVariable&& other) = default;
#endif
/*!
* Creates an integer variable with the given name and a default initial value.

3
src/storage/prism/Label.h

@ -5,6 +5,7 @@
#include "src/storage/prism/LocatedInformation.h"
#include "src/storage/expressions/Expression.h"
#include "src/utility/OsDetection.h"
namespace storm {
namespace prism {
@ -25,8 +26,10 @@ namespace storm {
Label() = default;
Label(Label const& other) = default;
Label& operator=(Label const& other)= default;
#ifndef WINDOWS
Label(Label&& other) = default;
Label& operator=(Label&& other) = default;
#endif
/*!
* Retrieves the name that is associated with this label.

4
src/storage/prism/LocatedInformation.h

@ -3,6 +3,8 @@
#include <string>
#include "src/utility/OsDetection.h"
namespace storm {
namespace prism {
class LocatedInformation {
@ -19,8 +21,10 @@ namespace storm {
LocatedInformation() = default;
LocatedInformation(LocatedInformation const& other) = default;
LocatedInformation& operator=(LocatedInformation const& other)= default;
#ifndef WINDOWS
LocatedInformation(LocatedInformation&& other) = default;
LocatedInformation& operator=(LocatedInformation&& other) = default;
#endif
/*!
* Retrieves the name of the file in which the information was found.

3
src/storage/prism/Module.h

@ -11,6 +11,7 @@
#include "src/storage/prism/IntegerVariable.h"
#include "src/storage/prism/Command.h"
#include "src/storage/expressions/VariableExpression.h"
#include "src/utility/OsDetection.h"
namespace storm {
namespace prism {
@ -32,8 +33,10 @@ namespace storm {
Module() = default;
Module(Module const& other) = default;
Module& operator=(Module const& other)= default;
#ifndef WINDOWS
Module(Module&& other) = default;
Module& operator=(Module&& other) = default;
#endif
/*!
* Retrieves the number of boolean variables in the module.

3
src/storage/prism/Program.h

@ -12,6 +12,7 @@
#include "src/storage/prism/Label.h"
#include "src/storage/prism/Module.h"
#include "src/storage/prism/RewardModel.h"
#include "src/utility/OsDetection.h"
namespace storm {
namespace prism {
@ -48,8 +49,10 @@ namespace storm {
Program() = default;
Program(Program const& other) = default;
Program& operator=(Program const& other) = default;
#ifndef WINDOWS
Program(Program&& other) = default;
Program& operator=(Program&& other) = default;
#endif
/*!
* Retrieves the model type of the model.

3
src/storage/prism/RewardModel.h

@ -7,6 +7,7 @@
#include "src/storage/prism/StateReward.h"
#include "src/storage/prism/TransitionReward.h"
#include "src/utility/OsDetection.h"
namespace storm {
namespace prism {
@ -27,8 +28,10 @@ namespace storm {
RewardModel() = default;
RewardModel(RewardModel const& other) = default;
RewardModel& operator=(RewardModel const& other)= default;
#ifndef WINDOWS
RewardModel(RewardModel&& other) = default;
RewardModel& operator=(RewardModel&& other) = default;
#endif
/*!
* Retrieves the name of the reward model.

3
src/storage/prism/StateReward.h

@ -5,6 +5,7 @@
#include "src/storage/prism/LocatedInformation.h"
#include "src/storage/expressions/Expression.h"
#include "src/utility/OsDetection.h"
namespace storm {
namespace prism {
@ -25,8 +26,10 @@ namespace storm {
StateReward() = default;
StateReward(StateReward const& other) = default;
StateReward& operator=(StateReward const& other)= default;
#ifndef WINDOWS
StateReward(StateReward&& other) = default;
StateReward& operator=(StateReward&& other) = default;
#endif
/*!
* Retrieves the state predicate that is associated with this state reward.

3
src/storage/prism/TransitionReward.h

@ -5,6 +5,7 @@
#include "src/storage/prism/LocatedInformation.h"
#include "src/storage/expressions/Expression.h"
#include "src/utility/OsDetection.h"
namespace storm {
namespace prism {
@ -27,8 +28,10 @@ namespace storm {
TransitionReward() = default;
TransitionReward(TransitionReward const& other) = default;
TransitionReward& operator=(TransitionReward const& other)= default;
#ifndef WINDOWS
TransitionReward(TransitionReward&& other) = default;
TransitionReward& operator=(TransitionReward&& other) = default;
#endif
/*!
* Retrieves the action name that is associated with this transition reward.

3
src/storage/prism/Update.h

@ -5,6 +5,7 @@
#include "src/storage/prism/LocatedInformation.h"
#include "src/storage/prism/Assignment.h"
#include "src/utility/OsDetection.h"
namespace storm {
namespace prism {
@ -25,8 +26,10 @@ namespace storm {
Update() = default;
Update(Update const& other) = default;
Update& operator=(Update const& other)= default;
#ifndef WINDOWS
Update(Update&& other) = default;
Update& operator=(Update&& other) = default;
#endif
/*!
* Retrieves the expression for the likelihood of this update.

3
src/storage/prism/Variable.h

@ -5,6 +5,7 @@
#include "src/storage/prism/LocatedInformation.h"
#include "src/storage/expressions/Expression.h"
#include "src/utility/OsDetection.h"
namespace storm {
namespace prism {
@ -13,8 +14,10 @@ namespace storm {
// Create default implementations of constructors/assignment.
Variable(Variable const& otherVariable) = default;
Variable& operator=(Variable const& otherVariable)= default;
#ifndef WINDOWS
Variable(Variable&& otherVariable) = default;
Variable& operator=(Variable&& otherVariable) = default;
#endif
/*!
* Retrieves the name of the variable.

Loading…
Cancel
Save