Base class that represents the domain of a function.
size_t size() const override
Return the number of points in the domain.
void addDomain(const FunctionDomain_sptr &domain)
Add a new domain.
const FunctionDomain & getDomain(size_t i) const override
Return i-th domain.
size_t getNParts() const override
Return the number of parts in the domain.
std::vector< FunctionDomain_sptr > m_domains
Vector with member domains.