Helix Core is now P4. Product user interfaces will be updated soon. Learn more >>

C/C++ API Documentation | 2026.1

# StrDict - field/value manipulation

The `StrDict` class provides a dictionary object of `StrPtr` s with a simple Get/Put interface. This class contains abstract methods and therefore cannot be instantiated, but its subclasses adhere to the basic interface documented here.

`ClientApi` is a descendant of `StrDict`; most notably, the `StrDict::SetArgv()` method is used to set the arguments to a P4 Server command before executing it with `ClientApi::Run()`.

The `ClientUser::OutputStat()` method takes a `StrDict` as an argument; the `StrDict` methods are therefore necessary to process data with `OutputStat()`. Note that pulling information from a `StrDict` is typically easier than trying to parse the text given to `OutputInfo()`.

Your search for returned results