SlideIO 2.0.0
Open-source library for reading of medical images
Loading...
Searching...
No Matches
slideio.hpp
1// This file is part of slideio project.
2// It is subject to the license terms in the LICENSE file found in the top-level directory
3// of this distribution and at http://slideio.org/license.html.
4#pragma once
5#include "slideio/slideio/slideio_def.hpp"
6#include "slideio/slideio/slide.hpp"
7#include <string>
8#include <vector>
9
84namespace slideio
85{
91 SLIDEIO_EXPORTS std::shared_ptr<Slide> openSlide(const std::string& path, const std::string& driver= "");
93 SLIDEIO_EXPORTS std::vector<std::string> getDriverIDs();
94}
Definition: exceptions.hpp:12
SLIDEIO_EXPORTS std::shared_ptr< Slide > openSlide(const std::string &path, const std::string &driver="")
The function returns a smart pointer to an object of Slide class.
Definition: slideio.cpp:10
SLIDEIO_EXPORTS std::vector< std::string > getDriverIDs()
Returns a list of available driver ids.
Definition: slideio.cpp:17