typeUnitsType< Type > Struct Template Reference

Get the units type for a given type. This returns the unit set for. More...

Public Types

typedef unitSet type
 

Detailed Description

template<class Type>
struct Foam::typeUnitsType< Type >

Get the units type for a given type. This returns the unit set for.

everything except label, for which it returns nil. This can be used to modify the type of the units passed to dictionary, such that a single template instantiation can be used for label as well as the field types. The label specialisation checks the unit set provided to make sure it is both dimensionless and standard.

Definition at line 333 of file unitSet.H.

Member Typedef Documentation

◆ type

typedef unitSet type

Definition at line 333 of file unitSet.H.


The documentation for this struct was generated from the following file: