Tao Language for Scripting and Computing

Documentation for Tao C++ Types and Plugin
Home Page
Documents
Downloads
Licensing
MailLists
Forums
FAQ



SourceForge Logo

Support This Project
Tao C++ Types and Plugin: TcComplex class Reference

TcComplex Class Reference

Corresponding to TaoComplex. More...

#include <taoCpptype.h>

Inheritance diagram for TcComplex:

TcBase List of all members.

Public Member Functions

 TcComplex (double rl=0, double ig=0)
void setValue (double rl, double ig)
 Set both the real and imaginary parts.

void setReal (double rl)
 Set real part.

void setImag (double ig)
 Set imaginary part.

double getReal ()
 Get real part.

double getImag ()
 Get imaginary part.

short type () const
 Get object type.

short rtti () const
void print (ostream *out=0, bool reserved=0)
 Print with default format.


Detailed Description

Corresponding to TaoComplex.


Member Function Documentation

short TcComplex::rtti  )  const [inline, virtual]
 

Get object Running Time Type Identification. It is different from type() only for numeric arrays.

Reimplemented from TcBase.


The documentation for this class was generated from the following file:
Generated on Sun Apr 24 23:42:18 2005 for Tao C++ Types and Plugin by doxygen 1.3.6
This website is maintained by Fu Limin.
Copyright(C) 2004-2005, Fu Limin.
Email: fu [dot] limin [dot] tao [at] gmail [dot] com