ome-xml
5.6.0
|
Metadata for a schema transform between two schema versions. More...
#include <ome/xml/OMETransformResolver.h>
Public Member Functions | |
Transform () | |
Default constructor. | |
Transform (const boost::filesystem::path &file) | |
Construct transform from path. More... | |
Transform (const boost::filesystem::path &file, Quality quality) | |
Construct transform from path with specified quality. More... | |
bool | operator< (const Transform &rhs) const |
Compare with other Transform. More... | |
Public Attributes | |
boost::filesystem::path | file |
The XSL transform. | |
std::pair< std::string, std::string > | schemas |
The source and target schema versions. | |
uint32_t | weight |
The quality metric for the transform (less is better). | |
Metadata for a schema transform between two schema versions.
Internally, this is attached to each graph edge, with the transformation quality used for determining the optimal set of transformations to apply.
ome::xml::OMETransformResolver::Transform::Transform | ( | const boost::filesystem::path & | file | ) |
Construct transform from path.
The quality of the transform will be determined automatically from the filename.
file | the XSL transform. |
ome::xml::OMETransformResolver::Transform::Transform | ( | const boost::filesystem::path & | file, |
Quality | quality | ||
) |
Construct transform from path with specified quality.
file | the XSL transform. |
quality | the quality of the XSL transform. |
|
inline |