CsvProduct

com.phasmidsoftware.tableparser.core.render.CsvProduct
See theCsvProduct companion trait
object CsvProduct

Companion object for CsvProduct, which renders a case class and generates its column names.

Attributes

Companion
trait
Graph
Supertypes
class Object
trait Matchable
class Any
Self type
CsvProduct.type

Members list

Value members

Concrete methods

inline def derived[T](using m: ProductOf[T], ca: CsvAttributes): CsvProduct[T]

Method to derive a CsvProduct (both a CsvRenderer and a CsvGenerator) for a case class T, so that case class T(...) derives CsvProduct works. This replaces the rendererGenerator1 ... rendererGenerator19 methods of 1.x.

Method to derive a CsvProduct (both a CsvRenderer and a CsvGenerator) for a case class T, so that case class T(...) derives CsvProduct works. This replaces the rendererGenerator1 ... rendererGenerator19 methods of 1.x.

NOTE: for a case class defined inside a method, see the NOTE on CellParser.derived.

Type parameters

T

a case class.

Value parameters

ca

the CsvAttributes.

m

the Mirror of T.

Attributes

Returns

a CsvProduct[T].