| 76 | }; |
| 77 | |
| 78 | class LongObject |
| 79 | { |
| 80 | public: |
| 81 | // Constructors |
| 82 | LongObject( |
| 83 | const std::shared_ptr<const AbstractProcessManager>& manager, |
| 84 | remote_addr_t addr, |
| 85 | bool is_bool = false); |
| 86 | |
| 87 | // Methods |
| 88 | std::string toString(ssize_t max_size) const; |
| 89 | |
| 90 | private: |
| 91 | // Data members |
| 92 | long long d_value{0}; |
| 93 | bool d_overflowed{false}; |
| 94 | bool d_is_bool{false}; |
| 95 | |
| 96 | public: |
| 97 | long long int Value() const; |
| 98 | bool Overflowed() const; |
| 99 | }; |
| 100 | |
| 101 | class GenericObject |
| 102 | { |