Struct EntityPathInfo

Struct Documentation

struct EntityPathInfo

Parsed entity path information from HTTP request URL.

Contains all extracted information from an entity-related HTTP request path, supporting both top-level entities (apps, components, areas, functions) and nested entities (subareas, subcomponents).

Public Members

SovdEntityType type

APP, COMPONENT, AREA, FUNCTION, or UNKNOWN.

std::string entity_id

Entity identifier (e.g., “motor_controller”)

std::string resource_path

Remainder after entity (e.g., “/faults/MOTOR_ERR”)

std::string entity_path

Full entity path (e.g., “/apps/motor_controller”)

std::string parent_id

For nested entities: parent entity ID (e.g., “perception” for subarea)

bool is_nested = {false}

True if this is a nested entity (subarea/subcomponent)