#include <Complex.h>
Inheritance diagram for FD::Complex< T >:
Public Types | |
typedef std::complex< T > | basicType |
You can always get the type of the Complex<T> by using typename Complex<T>::basicType. | |
Public Member Functions | |
Complex () | |
Default constructor. | |
Complex (const std::complex< T > &val) | |
Constructor with a complex<T>. | |
Complex (const Complex< T > &val) | |
Constructor with a Complex<T>. | |
Complex (const NetCType< std::complex< T > > &obj) | |
Constructor with a NetCType<complex<T> >. | |
void | printOn (std::ostream &out) const |
void | readFrom (std::istream &in) |
void | serialize (std::ostream &out) const |
void | unserialize (std::istream &in) |
void | prettyPrint (std::ostream &out) const |
std::complex< T > & | val () const |
void | destroy () |
virtual ObjectRef | clone () |
Static Public Member Functions | |
static Complex< T > * | alloc () |
static Complex< T > * | alloc (const Complex< T > &obj) |
|
Allocat a Complet<T> value from the pool, copying from another Complex<T> value
|
|
Allocate a Complex<T> value from the pool
|
|
clone a Complex<T> Reimplemented from FD::Object. |
|
Destroy any Complex<T> from memory. This function is used by the ObjectPool<Complex<T> > class. Reimplemented from FD::Object. |
|
Standard formatted output for Complex<T>
Reimplemented from FD::Object. |
|
Formatted output in the FlowDesigner format
Implements FD::Object. |
|
Formatted input in the FlowDesigner format
Reimplemented from FD::Object. |
|
Binary output in the FlowDesigner format
Reimplemented from FD::Object. |
|
Binary input in the FlowDesigner format
Reimplemented from FD::Object. |
|
Returns the complex<T> wrapped value
|