Orcus
Loading...
Searching...
No Matches
Public Member Functions | List of all members
orcus::spreadsheet::iface::import_reference_resolver Class Referenceabstract

Public Member Functions

virtual src_address_t resolve_address (std::string_view address)=0
 
virtual src_range_t resolve_range (std::string_view range)=0
 

Member Function Documentation

◆ resolve_address()

virtual src_address_t orcus::spreadsheet::iface::import_reference_resolver::resolve_address ( std::string_view  address)
pure virtual

Resolve a textural representation of a single cell address.

Parameters
addresssingle cell address string.
Returns
structure containing the column and row positions of the address.
Exceptions
orcus::invalid_arg_errorthe string is not a valid single cell addreess.

◆ resolve_range()

virtual src_range_t orcus::spreadsheet::iface::import_reference_resolver::resolve_range ( std::string_view  range)
pure virtual

Resolve a textural representation of a range address. Note that a string representing a valid single cell address should be considered a valid range address.

Parameters
rangerange address string.
Returns
structure containing the start and end positions of the range address.
Exceptions
invalid_arg_errorthe string is not a valid range addreess.