takane
Validators for ArtifactDB file formats
Loading...
Searching...
No Matches
takane::string_factor Namespace Reference

Definitions for string factors. More...

Functions

void validate (const std::filesystem::path &path, const ObjectMetadata &metadata, Options &options)
 
size_t height (const std::filesystem::path &path, const ObjectMetadata &metadata, Options &options)
 

Detailed Description

Definitions for string factors.

Function Documentation

◆ height()

size_t takane::string_factor::height ( const std::filesystem::path & path,
const ObjectMetadata & metadata,
Options & options )
inline
Parameters
pathPath to the directory containing the string factor.
metadataMetadata for the object, typically read from its OBJECT file.
optionsValidation options.
Returns
Length of the factor.

◆ validate()

void takane::string_factor::validate ( const std::filesystem::path & path,
const ObjectMetadata & metadata,
Options & options )
inline
Parameters
pathPath to the directory containing the string factor.
metadataMetadata for the object, typically read from its OBJECT file.
optionsValidation options.