Class Change::Add

Nested Relationships

This class is a nested type of Class Change.

Nested Types

Class Documentation

class Add

The API for an Add change.

Public Functions

Add(PlanId plan, std::vector<Item> additions)

Add a set of routes.

const std::vector<Item> &items() const

A reference to the Trajectory that was inserted.

PlanId plan_id() const

The plan ID that these routes are being added for.

struct Item

A description of an addition.

Public Members

RouteId route_id

The ID of the route being added, relative to the plan it belongs to.

StorageId storage_id

The storage ID of the route.

ConstRoutePtr route

The information for the route being added.