geolib.models.dstability.dstability_parserprovider

Classes

DStabilityParser()

DStabilityParserProvider()

DStabilityZipParser()

class geolib.models.dstability.dstability_parserprovider.DStabilityParser
can_parse(filename)

Verifies if a file or directory can be parsed with this instance.

Parameters:

filename (FilePath) – File path to the file or directory to parse.

Returns:

True if it can be parsed, False otherwise.

Return type:

bool

parse(filepath)
Parameters:

filepath (DirectoryPath) –

Return type:

BaseModelStructure

property structure: Type[DStabilityStructure]
property suffix_list: List[str]
class geolib.models.dstability.dstability_parserprovider.DStabilityParserProvider
property input_parsers: Tuple[DStabilityParser, DStabilityZipParser]
property output_parsers: Tuple[DStabilityParser, DStabilityZipParser]
property parser_name: str
class geolib.models.dstability.dstability_parserprovider.DStabilityZipParser
can_parse(filename)

Verifies if a file or directory can be parsed with this instance.

Parameters:

filename (FilePath) – File path to the file or directory to parse.

Returns:

True if it can be parsed, False otherwise.

Return type:

bool

parse(filepath)
Parameters:

filepath (FilePath) –

Return type:

BaseModelStructure

property suffix_list: List[str]