10#ifndef SEEN_COLORS_MANAGER_H
11#define SEEN_COLORS_MANAGER_H
46 std::shared_ptr<Space::AnySpace>
find(std::string
const &
name)
const;
53 bool removeSpace(std::shared_ptr<Space::AnySpace> space);
56 std::vector<std::shared_ptr<Space::AnySpace>>
_spaces;
void operator=(Manager const &)=delete
std::shared_ptr< Space::AnySpace > find(Space::Type type) const
Finds the first global color space matching the given type.
std::shared_ptr< Space::AnySpace > addSpace(Space::AnySpace *space)
Add the given space and assume ownership over it.
Manager(Manager const &)=delete
std::vector< std::shared_ptr< Space::AnySpace > > _spaces
bool removeSpace(std::shared_ptr< Space::AnySpace > space)
Removes the given space from the list of available spaces.
std::vector< std::shared_ptr< Space::AnySpace > > spaces(Space::Traits traits)
A set of useful color modifying functions which do not fit as generic methods on the color class itse...