GEGELATI

Loading...
Searching...
No Matches
constantHandler.h
1
37#ifndef CONSTANT_HANDLER_H
38#define CONSTANT_HANDLER_H
39
40#include <functional>
41#include <memory>
42#include <typeinfo>
43#include <vector>
44
45#include "data/constant.h"
46#include "data/primitiveTypeArray.h"
47#include "data/untypedSharedPtr.h"
48
49namespace Data {
50
55 class ConstantHandler : public PrimitiveTypeArray<Constant>
56 {
57 public:
61 ConstantHandler(size_t nb_constants)
62 : PrimitiveTypeArray<Constant>{nb_constants} {};
63
65 virtual ~ConstantHandler() = default;
66
70 ConstantHandler(const ConstantHandler& other) = default;
71 };
72} // namespace Data
73
74#endif
Data::ConstantHandler
Data::DataHandler used by Program::Program to handle their set of Constant values.
Definition constantHandler.h:56
Data::ConstantHandler::ConstantHandler
ConstantHandler(const ConstantHandler &other)=default
Default copy constructor.
Data::ConstantHandler::ConstantHandler
ConstantHandler(size_t nb_constants)
Default constructor of the ConstantHandler class.
Definition constantHandler.h:61
Data::ConstantHandler::~ConstantHandler
virtual ~ConstantHandler()=default
Default destructor.
Data::PrimitiveTypeArray2D
DataHandler for 2D arrays of primitive types.
Definition primitiveTypeArray2D.h:69
Data::PrimitiveTypeArray
Definition primitiveTypeArray.h:55
Data
Definition array2DWrapper.h:44
Data::Constant
Data type used in Program::Program to define constant values, accessible to Instructions,...
Definition constant.h:49