![]() |
rasdaman client API
10.6.3
The Array Analytics Engine: Datacubes at Your Fingertips
|
Class r_Complex represents a complex type value. More...
#include <complex.hh>
Public Member Functions | |
| r_Complex (const char *newBuffer, const r_Complex_Type *newType) | |
| constructs a scalar type value More... | |
| r_Complex (const r_Complex &obj) | |
| copy constructor More... | |
| ~r_Complex () override=default | |
| destructor More... | |
| virtual bool | isComplex () const override |
| virtual r_Scalar * | clone () const override |
| clone operator More... | |
| const r_Complex & | operator= (const r_Complex &) |
| operator for assigning a primitive More... | |
| r_Double | get_re () const |
| r_Double | get_im () const |
| void | set_re (r_Double) |
| void | set_im (r_Double) |
| r_Long | get_re_long () const |
| r_Long | get_im_long () const |
| void | set_re_long (r_Long) |
| void | set_im_long (r_Long) |
Public Member Functions inherited from r_Primitive | |
| r_Primitive (const char *newBuffer, const r_Primitive_Type *newType) | |
| r_Primitive (const r_Primitive &obj) | |
| ~r_Primitive () override | |
| r_Scalar * | clone () const override |
| clone operator More... | |
| const r_Primitive & | operator= (const r_Primitive &) |
| operator for assigning a primitive More... | |
| const char * | get_buffer () const |
| gets the pointer to the buffer More... | |
| void | print_status (std::ostream &s) const override |
| debug output More... | |
| bool | isPrimitive () const override |
| r_Boolean | get_boolean () const |
| r_Char | get_char () const |
| r_Octet | get_octet () const |
| r_Short | get_short () const |
| r_UShort | get_ushort () const |
| r_Long | get_long () const |
| r_ULong | get_ulong () const |
| r_Float | get_float () const |
| r_Double | get_double () const |
| void | set_boolean (r_Boolean) |
| void | set_char (r_Char) |
| void | set_octet (r_Octet) |
| void | set_short (r_Short) |
| void | set_ushort (r_UShort) |
| void | set_long (r_Long) |
| void | set_ulong (r_ULong) |
| void | set_float (r_Float) |
| void | set_double (r_Double) |
Public Member Functions inherited from r_Scalar | |
| r_Scalar (const r_Base_Type *newType) | |
| r_Scalar (const r_Scalar &obj) | |
| virtual | ~r_Scalar () |
| const r_Scalar & | operator= (const r_Scalar &) |
| virtual const r_Base_Type * | get_type () const |
| virtual bool | isStructure () const |
Additional Inherited Members | |
Protected Member Functions inherited from r_Primitive | |
| void | checkBufferAndType () const |
| void | checkBufferAndType (r_Type::r_Type_Id type) |
Protected Attributes inherited from r_Primitive | |
| char * | valueBuffer {NULL} |
| buffer More... | |
Protected Attributes inherited from r_Scalar | |
| r_Base_Type * | valueType {NULL} |
Class r_Complex represents a complex type value.
|
explicit |
constructs a scalar type value
| r_Complex::r_Complex | ( | const r_Complex & | obj | ) |
copy constructor
|
overridedefault |
destructor
| r_Double r_Complex::get_im | ( | ) | const |
| r_Long r_Complex::get_im_long | ( | ) | const |
| r_Double r_Complex::get_re | ( | ) | const |
| r_Long r_Complex::get_re_long | ( | ) | const |
|
overridevirtual |
Reimplemented from r_Scalar.
| void r_Complex::set_im | ( | r_Double | ) |
| void r_Complex::set_im_long | ( | r_Long | ) |
| void r_Complex::set_re | ( | r_Double | ) |
| void r_Complex::set_re_long | ( | r_Long | ) |