# class Locator

###

Module | soprano
Namespace | Soprano::Error
Class | Locator
Inherits |

\class Locator locator.h Soprano/Error/Locator

Details of a parser Error

A Locator object provides additional information about parsing errors.

### methods

- Locator ( )

  returns ctor

- Locator (line, column, byte, filename)

  returns ctor

  Argument | Type | Default
  --- | --- | ---
  line | int |
  column | int |
  byte | int | -1
  filename | QString | QString()

- Locator (other)

  returns ctor

  Argument | Type | Default
  --- | --- | ---
  other | Soprano.Error.Locator |

- byte ( )

  returns int

- column ( )

  returns int

- fileName ( )

  returns QString

- line ( )

  returns int

- setByte (byte)

  returns Nothing

  Argument | Type | Default
  --- | --- | ---
  byte | int |

- setColumn (column)

  returns Nothing

  Argument | Type | Default
  --- | --- | ---
  column | int |

- setFileName (fileName)

  returns Nothing

  Argument | Type | Default
  --- | --- | ---
  fileName | QString |

- setLine (line)

  returns Nothing

  Argument | Type | Default
  --- | --- | ---
  line | int |