63 static inline SP::CORE_Complex
New() {
138 #endif // end of ifndef tComplex mComplex
Definition: CORE_Complex.h:35
static tComplex parseComplex(const tString &str)
return the complex associated to the string
Definition: CORE_Complex.cpp:41
tString toString() const
return the string associated to the real
Definition: CORE_Complex.h:111
#define tComplex
Definition: types.h:120
void setComplex(const tComplex &r)
set the complex to r
Definition: CORE_Complex.h:80
this class describes a complex
Definition: CORE_Complex.h:26
~CORE_Complex()
delete the class
Definition: CORE_Complex.cpp:18
DEFINE_SPTR(CORE_Complex)
const tComplex & getComplex() const
get the complex value
Definition: CORE_Complex.h:89
static const tComplex C_I
describe the i complex
Definition: CORE_Complex.h:32
static SP::CORE_Complex New(const tComplex &r)
copy a complex object
Definition: CORE_Complex.h:71
abstract base class for most classes.
Definition: CORE_Object.h:53
#define tString
Definition: types.h:135
const tReal getImage() const
get the image component
Definition: CORE_Complex.h:99
static SP::CORE_Complex New()
build a complex object
Definition: CORE_Complex.h:63
#define tReal
Definition: types.h:118
const tReal getReal() const
get the real component
Definition: CORE_Complex.h:94
CORE_Complex()
create a complex
Definition: CORE_Complex.cpp:11
class Free introduced for deleting a smart pointer
Definition: CORE_Object.h:141