MCPcopy Create free account
hub / github.com/GoogleCloudPlatform/cpp-samples / ParseResult

Class ParseResult

pubsub-open-telemetry/parse_args.h:25–37  ·  view source on GitHub ↗

Parse the command line arguments.

Source from the content-addressed store, hash-verified

23
24// Parse the command line arguments.
25struct ParseResult {
26 // Required.
27 std::string project_id;
28 std::string topic_id;
29
30 // Optional with defaults set.
31 int message_count;
32 int message_size;
33 int max_queue_size;
34
35 gc::Options otel_options;
36 gc::Options publisher_options;
37};
38
39ParseResult ParseArguments(int argc, char* argv[]);
40

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected