CLAM::SpecTypeFlags Struct Reference

This class tells which formats are instantiated in a Spectrum. More...

#include <SpecTypeFlags.hxx>

List of all members.

Public Types

enum  tFlags { eComplex = 0, ePolar = 1, eMagPhase = 2, eMagPhaseBPF = 3 }

Public Member Functions

virtual ComponentSpecies () const
 Returns a new object of the same class than the receiver object.
 SpecTypeFlags ()
 SpecTypeFlags (const SpecTypeFlags &t)

Public Attributes

reference bComplex
reference bPolar
reference bMagPhase
reference bMagPhaseBPF

Static Public Attributes

static tFlagValue sFlagValues []
static tValue sDefault

Detailed Description

This class tells which formats are instantiated in a Spectrum.

It could be:

It can be used as any other class derived from Flags: you can use the std::bit interface and Flags added functionalities.

See also:
Flags

Definition at line 42 of file SpecTypeFlags.hxx.


Member Enumeration Documentation

Enumerator:
eComplex 
ePolar 
eMagPhase 
eMagPhaseBPF 

Definition at line 50 of file SpecTypeFlags.hxx.


Constructor & Destructor Documentation

CLAM::SpecTypeFlags::SpecTypeFlags (  )  [inline]

Definition at line 57 of file SpecTypeFlags.hxx.

References bComplex, bMagPhase, bMagPhaseBPF, and bPolar.

Referenced by Species().

CLAM::SpecTypeFlags::SpecTypeFlags ( const SpecTypeFlags t  )  [inline]

Definition at line 71 of file SpecTypeFlags.hxx.


Member Function Documentation

virtual Component* CLAM::SpecTypeFlags::Species (  )  const [inline, virtual]

Returns a new object of the same class than the receiver object.

To be reimplemented by subclasses.

Returns:
a new allocated component. The pointer belongs to the caller.

Implements CLAM::Flags< 4 >.

Definition at line 47 of file SpecTypeFlags.hxx.

References SpecTypeFlags().


Member Data Documentation

Definition at line 46 of file SpecTypeFlags.hxx.

Initial value:
 {
        {SpecTypeFlags::eComplex, "Complex"},
        {SpecTypeFlags::ePolar, "Polar"},
        {SpecTypeFlags::eMagPhase, "MagPhase"},
        {SpecTypeFlags::eMagPhaseBPF, "MagPhaseBPF"},
        {0,NULL}
}

Definition at line 45 of file SpecTypeFlags.hxx.


The documentation for this struct was generated from the following files:
Generated by  doxygen 1.6.3