rasdaman complete source
Public Member Functions | List of all members
r_Complex Class Reference

#include <complex.hh>

Inheritance diagram for r_Complex:
r_Primitive r_Scalar

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 ()
 destructor More...
 
virtual bool isComplex () const
 
virtual r_Scalarclone () const
 clone operator More...
 
virtual const r_Complexoperator= (const r_Complex &)
 operator for assigning a primitive More...
 
r_Double get_re () const throw (r_Error)
 
r_Double get_im () const throw (r_Error)
 
void set_re (r_Double) throw (r_Error)
 
void set_im (r_Double) throw (r_Error)
 
- Public Member Functions inherited from r_Primitive
 r_Primitive (const char *newBuffer, const r_Primitive_Type *newType)
 constructs a scalar type value More...
 
 r_Primitive (const r_Primitive &obj)
 copy constructor More...
 
 ~r_Primitive ()
 destructor More...
 
virtual const r_Primitiveoperator= (const r_Primitive &)
 operator for assigning a primitive More...
 
const char * get_buffer () const
 gets the pointer to the buffer More...
 
virtual void print_status (std::ostream &s) const
 debug output More...
 
virtual bool isPrimitive () const
 
r_Boolean get_boolean () const throw ( r_Error )
 
r_Char get_char () const throw ( r_Error )
 
r_Octet get_octet () const throw ( r_Error )
 
r_Short get_short () const throw ( r_Error )
 
r_UShort get_ushort () const throw ( r_Error )
 
r_Long get_long () const throw ( r_Error )
 
r_ULong get_ulong () const throw ( r_Error )
 
r_Float get_float () const throw ( r_Error )
 
r_Double get_double () const throw ( r_Error )
 
void set_boolean (r_Boolean) throw ( r_Error )
 
void set_char (r_Char) throw ( r_Error )
 
void set_octet (r_Octet) throw ( r_Error )
 
void set_short (r_Short) throw ( r_Error )
 
void set_ushort (r_UShort) throw ( r_Error )
 
void set_long (r_Long) throw ( r_Error )
 
void set_ulong (r_ULong) throw ( r_Error )
 
void set_float (r_Float) throw ( r_Error )
 
void set_double (r_Double) throw ( r_Error )
 
- Public Member Functions inherited from r_Scalar
 r_Scalar (const r_Base_Type *newType)
 constructs a scalar value More...
 
 r_Scalar (const r_Scalar &obj)
 copy constructor More...
 
virtual ~r_Scalar ()
 destructor More...
 
virtual const r_Scalaroperator= (const r_Scalar &)
 operator for assigning a scalar More...
 
virtual const r_Base_Typeget_type () const
 get type More...
 
virtual bool isStructure () const
 

Additional Inherited Members

- Protected Attributes inherited from r_Scalar
r_Base_TypevalueType
 type More...
 

Constructor & Destructor Documentation

r_Complex::r_Complex ( const char *  newBuffer,
const r_Complex_Type newType 
)
explicit

constructs a scalar type value

r_Complex::r_Complex ( const r_Complex obj)

copy constructor

r_Complex::~r_Complex ( )

destructor

Member Function Documentation

virtual r_Scalar* r_Complex::clone ( ) const
virtual

clone operator

Reimplemented from r_Primitive.

r_Double r_Complex::get_im ( ) const
throw (r_Error
)
r_Double r_Complex::get_re ( ) const
throw (r_Error
)
virtual bool r_Complex::isComplex ( ) const
virtual

Reimplemented from r_Scalar.

virtual const r_Complex& r_Complex::operator= ( const r_Complex )
virtual

operator for assigning a primitive

void r_Complex::set_im ( r_Double  )
throw (r_Error
)
void r_Complex::set_re ( r_Double  )
throw (r_Error
)

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