ORE Studio 0.0.4
Loading...
Searching...
No Matches
Public Types | Public Member Functions | List of all members
assets_service Class Reference

Service for managing asset images. More...

#include <assets_service.hpp>

Collaboration diagram for assets_service:
Collaboration graph

Public Types

using context = ores::database::context
 

Public Member Functions

 assets_service (context ctx)
 Constructs an assets_service with a database context.
 
std::vector< domain::imageget_images (const std::vector< std::string > &image_ids)
 Retrieves images by their IDs.
 

Detailed Description

Service for managing asset images.

Provides a higher-level interface for image operations, wrapping the underlying repositories.

Constructor & Destructor Documentation

◆ assets_service()

assets_service ( context  ctx)
explicit

Constructs an assets_service with a database context.

Parameters
ctxThe database context for operations.

Member Function Documentation

◆ get_images()

std::vector< domain::image > get_images ( const std::vector< std::string > &  image_ids)

Retrieves images by their IDs.

Parameters
image_idsThe IDs of the images to retrieve.
Returns
Vector of images found for the given IDs.