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

C/C++ API Documentation | 2026.1

# MapApi - logic for view mappings

The `MapApi` class allows a client application to duplicate the logic used by the server when interpreting and combining view mappings such as branch views, client views, and protections.

Each `MapApi` object represents a single mapping that is built by calling `MapApi::Insert()` to add new lines. A file can be translated through the mapping or tested for inclusion by calling `MapApi::Translate()`. Two `MapApi` objects can be combined into a single new `MapApi` object by calling `MapApi::Join()`. For example, a client view and a protection table can be joined into a single mapping that represents all files in the client view that are included in the protection table.

Your search for returned results