ORE Studio 0.0.4
Loading...
Searching...
No Matches
Classes | Functions
ores::assets::repository Namespace Reference

Database persistence layer for asset domain types. More...

Classes

struct  image_entity
 Represents an image in the database. More...
 
class  image_mapper
 Maps domain model entities to data storage layer and vice-versa. More...
 
class  image_repository
 Reads and writes images off of data storage. More...
 
struct  image_tag_entity
 Represents an image-tag association in the database. More...
 
class  image_tag_mapper
 Maps domain model entities to data storage layer and vice-versa. More...
 
class  image_tag_repository
 Reads and writes image-tag associations off of data storage. More...
 
struct  tag_entity
 Represents a tag in the database. More...
 
class  tag_mapper
 Maps domain model entities to data storage layer and vice-versa. More...
 
class  tag_repository
 Reads and writes tags off of data storage. More...
 

Functions

std::ostream & operator<< (std::ostream &s, const image_entity &v)
 
std::ostream & operator<< (std::ostream &s, const image_tag_entity &v)
 
std::ostream & operator<< (std::ostream &s, const tag_entity &v)
 

Detailed Description

Database persistence layer for asset domain types.

Provides ORM support using sqlgen including entities, mappers, and repositories for image, tag, image_tag, and currency_image. Supports temporal versioning with valid_from/valid_to fields.