Porytiles
Loading...
Searching...
No Matches
role_pin_definition.hpp File Reference
#include <format>
#include <ostream>
#include <string>
#include <vector>
#include "porytiles/domain/models/metatile_attribute_schema.hpp"
Include dependency graph for role_pin_definition.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  porytiles::RolePinDefinition
 A user request to emit a trailing pin column for one schema role in attributes.csv. More...
 
struct  std::formatter< porytiles::RolePinDefinitions >
 

Namespaces

namespace  porytiles
 

Typedefs

using porytiles::RolePinDefinitions = std::vector< RolePinDefinition >
 An ordered list of role pin definitions; order is display/declaration order (also CSV column order).
 

Functions

const RolePinDefinitionporytiles::find_role_pin (const RolePinDefinitions &definitions, FieldRole role)
 Finds the role pin definition for a given role, or nullptr when the role is not pinned.
 
std::string porytiles::to_string (const RolePinDefinition &definition)
 Converts one role pin definition to a human-readable string.
 
std::string porytiles::to_string (const RolePinDefinitions &definitions)
 Converts a role pin definition list to a human-readable string.
 
std::ostream & porytiles::operator<< (std::ostream &os, const RolePinDefinitions &definitions)