callout.hpp (86ccc45d33ba1540b047e257c801aca192ae19c8) | callout.hpp (a4134770850077cbe7171b8852a1fa1b3c1c6525) |
---|---|
1#pragma once 2 3#include <string> 4 5namespace analyzer 6{ 7 8namespace callout --- 167 unchanged lines hidden (view full) --- 176 { 177 return iv_string; 178 } 179}; 180 181inline const ClockType ClockType::OSC_REF_CLOCK_0{"OSC_REF_CLOCK_0"}; 182inline const ClockType ClockType::OSC_REF_CLOCK_1{"OSC_REF_CLOCK_1"}; 183 | 1#pragma once 2 3#include <string> 4 5namespace analyzer 6{ 7 8namespace callout --- 167 unchanged lines hidden (view full) --- 176 { 177 return iv_string; 178 } 179}; 180 181inline const ClockType ClockType::OSC_REF_CLOCK_0{"OSC_REF_CLOCK_0"}; 182inline const ClockType ClockType::OSC_REF_CLOCK_1{"OSC_REF_CLOCK_1"}; 183 |
184/** @brief Container class for part callout service actions. */ 185class PartType 186{ 187 public: 188 /** The part containing the PNOR. */ 189 static const PartType PNOR; 190 191 private: 192 /** 193 * @brief Constructor from components. 194 * @param i_string The string representation of the part callout. 195 */ 196 explicit PartType(const std::string& i_string) : iv_string(i_string) {} 197 198 private: 199 /** The string representation of the part callout. */ 200 const std::string iv_string; 201 202 public: 203 bool operator==(const PartType& r) const 204 { 205 return this->iv_string == r.iv_string; 206 } 207 208 /** iv_string accessor */ 209 std::string getString() const 210 { 211 return iv_string; 212 } 213}; 214 215inline const PartType PartType::PNOR{"PNOR"}; 216 |
|
184/** @brief Container class for guard service actions. */ 185class GuardType 186{ 187 public: 188 /** Do not guard. */ 189 static const GuardType NONE; 190 191 /** Guard on fatal error (cannot recover resource). */ --- 37 unchanged lines hidden --- | 217/** @brief Container class for guard service actions. */ 218class GuardType 219{ 220 public: 221 /** Do not guard. */ 222 static const GuardType NONE; 223 224 /** Guard on fatal error (cannot recover resource). */ --- 37 unchanged lines hidden --- |