Porytiles
Loading...
Searching...
No Matches
porytiles::RolePinDefinition Struct Reference

A user request to emit a trailing pin column for one schema role in attributes.csv. More...

#include <role_pin_definition.hpp>

Public Member Functions

bool operator== (const RolePinDefinition &) const =default
 

Public Attributes

FieldRole role
 

Detailed Description

A user request to emit a trailing pin column for one schema role in attributes.csv.

A role pin says "give this role its own trailing column in attributes.csv so its per-metatile values can be pinned rather than inferred". Currently, the only role is layer_type, so a role pin activates a trailing layer-type column, which is handled by the loader and writer. The column's header is not configurable: it is always pin_column_name(role), i.e. "pin::layer_type". A fixed name is what lets the loader classify a header column from its name alone, with no dependence on the schema or pin config that happens to be resolved at the time.

Definition at line 20 of file role_pin_definition.hpp.

Member Function Documentation

◆ operator==()

bool porytiles::RolePinDefinition::operator== ( const RolePinDefinition ) const
default

Member Data Documentation

◆ role

FieldRole porytiles::RolePinDefinition::role

Definition at line 21 of file role_pin_definition.hpp.


The documentation for this struct was generated from the following file: