% Generated by roxygen2: do not edit by hand % Please edit documentation in R/chent.R \docType{class} \name{pp} \alias{pp} \title{R6 class for holding a product with at least one active ingredient} \format{ An \code{\link{R6Class}} generator object. } \description{ An R6 class for holding information about a product with at least one active ingredient } \keyword{data} \section{Public fields}{ \if{html}{\out{
}} \describe{ \item{\code{name}}{The name of the product} \item{\code{ais}}{A list of active ingredients} \item{\code{concentrations}}{The concentration of the ais} \item{\code{concentration_units}}{Defaults to g/L} } \if{html}{\out{
}} } \section{Methods}{ \subsection{Public methods}{ \itemize{ \item \href{#method-new}{\code{pp$new()}} \item \href{#method-print}{\code{pp$print()}} \item \href{#method-clone}{\code{pp$clone()}} } } \if{html}{\out{
}} \if{html}{\out{}} \if{latex}{\out{\hypertarget{method-new}{}}} \subsection{Method \code{new()}}{ \subsection{Usage}{ \if{html}{\out{
}}\preformatted{pp$new( name, ..., concentrations, concentration_units = "g/L", density = 1000, density_units = "g/L" )}\if{html}{\out{
}} } } \if{html}{\out{
}} \if{html}{\out{}} \if{latex}{\out{\hypertarget{method-print}{}}} \subsection{Method \code{print()}}{ \subsection{Usage}{ \if{html}{\out{
}}\preformatted{pp$print()}\if{html}{\out{
}} } } \if{html}{\out{
}} \if{html}{\out{}} \if{latex}{\out{\hypertarget{method-clone}{}}} \subsection{Method \code{clone()}}{ The objects of this class are cloneable with this method. \subsection{Usage}{ \if{html}{\out{
}}\preformatted{pp$clone(deep = FALSE)}\if{html}{\out{
}} } \subsection{Arguments}{ \if{html}{\out{
}} \describe{ \item{\code{deep}}{Whether to make a deep clone.} } \if{html}{\out{
}} } } }