next up previous contents
Next: physical_base Class Instantiation Up: The Physical Base Class Previous: physical_base Class Variables

physical_base Class Methods

Methods Description
physical_base(const long long int a) Constructor to create a physical instance from a long long int a.
physical_base(const physical_base &a) Copy constructor.
&operator=(const physical_base a)
Assignment operator.
static int ld_size() returns log2 of the size (in byte) of a physical instance. Note, this function always returns the same value (usually 3, i.e. 23=8 bytes).
static bool scalar() Always returns true because physical types are scalar.
static void cleanup() Actually does nothing.

Note, no further operators are defined in physical_base.