IRIS::Fuzzy::Symbol Class Reference

Abstract Base Class for a symbol (operator). More...

#include <Symbol.h>

Inheritance diagram for IRIS::Fuzzy::Symbol:

Inheritance graph
[legend]
List of all members.

Public Member Functions

 Symbol (const string &name="?")
 Symbol (const Symbol &other)
virtual ~Symbol (void)
void setName (const string &name)
Symboloperator= (const Symbol &other)
 overloaded assignment operator
string getName () const
 gets the name of the symbol

Protected Member Functions

void _copy (const Symbol &other)
void _destroy ()

Protected Attributes

string name

Friends

bool operator== (const Symbol &a, const Symbol &b)
 overloaded equality operator
ostream & operator<< (ostream &outs, const Symbol &src)
 overloaded insertion operator

Detailed Description

Abstract Base Class for a symbol (operator).


Constructor & Destructor Documentation

IRIS::Fuzzy::Symbol::Symbol const string &  name = "?"  ) 
 

create and name a symbol

Parameters:
name name to give this symbol

IRIS::Fuzzy::Symbol::Symbol const Symbol other  ) 
 

copy constructor

Parameters:
other source symbol to copy from

IRIS::Fuzzy::Symbol::~Symbol void   )  [virtual]
 


Member Function Documentation

void IRIS::Fuzzy::Symbol::_copy const Symbol other  )  [protected]
 

void IRIS::Fuzzy::Symbol::_destroy  )  [protected]
 

Reimplemented in IRIS::Fuzzy::Tconorm, and IRIS::Fuzzy::Tnorm.

string IRIS::Fuzzy::Symbol::getName  )  const
 

gets the name of the symbol

Symbol & IRIS::Fuzzy::Symbol::operator= const Symbol other  ) 
 

overloaded assignment operator

void IRIS::Fuzzy::Symbol::setName const string &  name  ) 
 

sets the name of the symbol

Parameters:
name name to give this symbol


Friends And Related Function Documentation

ostream& operator<< ostream &  outs,
const Symbol src
[friend]
 

overloaded insertion operator

bool operator== const Symbol a,
const Symbol b
[friend]
 

overloaded equality operator

facilitate call using a member function

Parameters:
a first parameter to t-conorm
b second parameter to t-conorm


Member Data Documentation

string IRIS::Fuzzy::Symbol::name [protected]
 


The documentation for this class was generated from the following files:
Generated on Tue Dec 12 13:42:42 2006 for IRIS Intelligent Systems Tools by  doxygen 1.4.6