ETISS 0.11.2
ExtendableTranslatingInstructionSetSimulator(version0.11.2)
Loading...
Searching...
No Matches
InjectorAddress.h
Go to the documentation of this file.
1// SPDX-License-Identifier: BSD-3-Clause
2//
3// This file is part of ETISS. It is licensed under the BSD 3-Clause License; you may not use this file except in
4// compliance with the License. You should have received a copy of the license along with this project. If not, see the
5// LICENSE file.
15#ifndef ETISS_FAULT_INJECTORADDRESS_H_
16#define ETISS_FAULT_INJECTORADDRESS_H_
17
18#include <iostream>
19#include <stdint.h>
20#include <string>
21
22#ifndef NO_ETISS
23#include "etiss/Misc.h"
24#include "etiss/fault/Defs.h"
25#else
26#include "fault/Defs.h"
27#endif
28
29namespace etiss
30{
31namespace fault
32{
34{
35 private:
36 std::string path_;
38 public: // ctors
40 InjectorAddress(const std::string &address);
43#if CXX0X_UP_SUPPORTED
46#endif
47
48 public:
49 const std::string &getInjectorPath() const;
50 const Injector_ptr &getInjector() const;
52
53 bool isResolved() const;
54
55 inline std::string toString() const { return getInjectorPath(); }
56};
57
58#if ETISS_FAULT_XML
59
60namespace xml
61{
62
63} // namespace xml
64
65#endif
66
67} // namespace fault
68
69} // namespace etiss
70
71#endif
contains general definitions used by other fault library code
general configuration and logging
Marker interface for toString() support.
Definition Misc.h:95
InjectorAddress & operator=(const InjectorAddress &)
const std::string & getInjectorPath() const
bool isResolved() const
> Calls Injector::get (implemented in VirtualStruct) to resolve path_ and get iptr_
const Injector_ptr & getInjector() const
Injector_ptr iptr_
Contains the pointer to the Injector.
std::string path_
Contains the VirtualStruct as string where the Injector refers to.
std::shared_ptr< Injector > Injector_ptr
Definition Defs.h:48
forwards: include/jit/*
Definition Benchmark.h:17