MCPcopy Create free account
hub / github.com/Kitware/CMake / integer

Class integer

Utilities/cmcppdap/include/dap/types.h:54–71  ·  view source on GitHub ↗

integer holds a whole signed number. integer defaults to 0.

Source from the content-addressed store, hash-verified

52// integer holds a whole signed number.
53// integer defaults to 0.
54class integer {
55 public:
56 inline integer() : val(0) {}
57 inline integer(int64_t i) : val(i) {}
58 inline operator int64_t() const { return val; }
59 inline integer& operator=(int64_t i) {
60 val = i;
61 return *this;
62 }
63 inline integer operator++(int) {
64 auto copy = *this;
65 val++;
66 return copy;
67 }
68
69 private:
70 int64_t val;
71};
72
73// number holds a 64-bit floating point number.
74// number defaults to 0.

Callers 14

createRequestFunction · 0.85
createResponseFunction · 0.85
createEventFunction · 0.85
TEST_FFunction · 0.85
TESTFunction · 0.85
deserializeMethod · 0.85
deserializeMethod · 0.85
deserializeMethod · 0.85
sendMethod · 0.85
processRequestMethod · 0.85
GetSimpleObjectMethod · 0.85
TEST_FFunction · 0.85

Calls

no outgoing calls

Tested by 8

createRequestFunction · 0.68
createResponseFunction · 0.68
createEventFunction · 0.68
TEST_FFunction · 0.68
TESTFunction · 0.68
GetSimpleObjectMethod · 0.68
TEST_FFunction · 0.68
TESTFunction · 0.68

Used in the wild real call sites across dependent graphs

searching dependent graphs…