| Home | Libraries | People | FAQ | More

##### PrimitiveGenerator

###### Description

PrimitiveGenerator is the most basic building block that the client uses to build more complex generators.

###### Refinement of

> `Generator`

###### Post-delimit

Before exiting the `generate` member function, a PrimitiveGenerator is required to do a post-delimit. This will generate a single delimiting character/token sequence. Only PrimitiveGenerator's are required to perform this post-delimit. This is typically carried out through a call to `karma::delimit_out`:

    karma::delimit_out(sink, delimit);

###### Type Expressions

Expression | Description
--- | ---
`traits::is_primitive_generator<G>::type` | Metafunction that evaluates to `mpl::true_` if a certain type, `G`, is a PrimitiveGenerator, `mpl::false_` otherwise (See MPL Boolean Constant).

###### Models

The following generators conform to this model:

- `eol`,
- `eps`,
- Numeric generators,
- Character generators.

FIXME Add more links to PrimitiveGenerator models here.