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

C/C++ API Documentation | 2025.2

# MapApi::GetType( int )

Returns the type of the specified view entry.

Virtual? | No |
Class | `MapApi` |
Arguments | `int i` | the index of the desired entry
Returns | `MapType` | the entry type

## Notes

The entry type is one of `MapInclude`, `MapExclude`, and `MapOverlay`.

`MapExclude` entries negate earlier `MapInclude` and `MapOverlay` entries that map the same paths, and `MapOverlay` entries are not disambiguated if they overlap with earlier `MapInclude` entries.

In human-readable P4 Server view specifications, `MapExclude` lines are indicated with a `-` character, and `MapOverlay` lines are indicated with a `+` character.

## See also

`MapApi::Count()`

## Example

See the example for `MapApi::Count()`.

Your search for returned results