MCPcopy Create free account
hub / github.com/CppMicroServices/CppMicroServices / Event

Method Event

compendium/EM/src/Event.cpp:48–54  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

46 } // namespace
47
48 Event::Event(std::string const& topic, EventProperties const properties) : topic(topic), properties(properties)
49 {
50 if (!ValidateTopic(topic))
51 {
52 throw std::logic_error("The topic does not match the expected format.");
53 }
54 }
55
56 bool
57 Event::operator==(Event const& other) const

Callers

nothing calls this directly

Calls 1

ValidateTopicFunction · 0.85

Tested by

no test coverage detected