SmSymSet Class Reference

#include <symbol.hxx>

Collaboration diagram for SmSymSet:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 SmSymSet ()
 SmSymSet (const SmSymSet &rSymbolSet)
 SmSymSet (const String &rName)
 ~SmSymSet ()
SmSymSetoperator= (const SmSymSet &rSymbolSet)
const String & GetName () const
void SetName (String &rName)
USHORT GetCount () const
const SmSymGetSymbol (USHORT SymbolNo) const
USHORT AddSymbol (SmSym *pSymbol)
void DeleteSymbol (USHORT SymbolNo)
SmSymRemoveSymbol (USHORT SymbolNo)
USHORT GetSymbolPos (const String &rName)

Private Attributes

SmListSym SymbolList
String Name
SmSymSetManagerpSymSetManager

Friends

class SmSymSetManager

Detailed Description

Definition at line 146 of file symbol.hxx.


Constructor & Destructor Documentation

SmSymSet::SmSymSet (  ) 

Definition at line 184 of file symbol.cxx.

References SymbolList.

SmSymSet::SmSymSet ( const SmSymSet rSymbolSet  ) 

Definition at line 191 of file symbol.cxx.

References pSymSetManager.

SmSymSet::SmSymSet ( const String &  rName  ) 

Definition at line 197 of file symbol.cxx.

References Name, pSymSetManager, and SymbolList.

SmSymSet::~SmSymSet (  ) 

Definition at line 205 of file symbol.cxx.

References GetCount(), and SymbolList.


Member Function Documentation

SmSymSet & SmSymSet::operator= ( const SmSymSet rSymbolSet  ) 

Definition at line 211 of file symbol.cxx.

References AddSymbol(), GetCount(), GetSymbol(), Name, pSymSetManager, SmSymSetManager::SetModified(), and SymbolList.

const String& SmSymSet::GetName (  )  const [inline]

Definition at line 162 of file symbol.hxx.

Referenced by AddSymbol(), SmSymDefineDialog::FillSymbolSets(), and SmSymbolDialog::FillSymbolSets().

void SmSymSet::SetName ( String &  rName  ) 

Definition at line 228 of file symbol.cxx.

References Name, pSymSetManager, and SmSymSetManager::SetModified().

USHORT SmSymSet::GetCount (  )  const [inline]

Definition at line 164 of file symbol.hxx.

Referenced by SmSymSetManager::AddSymbolSet(), SmSymSetManager::EnterHashTable(), SmSymDefineDialog::Execute(), SmSymDefineDialog::FillSymbols(), SmSymSetManager::GetSymbolByPos(), GetSymbolPos(), SmShowSymbolSet::KeyInput(), operator=(), SmShowSymbolSet::Paint(), SmSymSetManager::Save(), SmShowSymbolSet::SelectSymbol(), SmSymbolDialog::SelectSymbolSet(), SmShowSymbolSet::SetSymbolSet(), and ~SmSymSet().

const SmSym& SmSymSet::GetSymbol ( USHORT  SymbolNo  )  const [inline]

Definition at line 166 of file symbol.hxx.

Referenced by SmSymDefineDialog::FillSymbols(), SmSymbolDialog::GetSymbol(), SmSymSetManager::GetSymbolByPos(), operator=(), SmShowSymbolSet::Paint(), and SmSymbolDialog::SelectSymbol().

USHORT SmSymSet::AddSymbol ( SmSym pSymbol  ) 

Definition at line 236 of file symbol.cxx.

References GetName(), pSymSetManager, SmSymSetManager::SetModified(), SmSym::SetSetName(), and SymbolList.

Referenced by SmSymSetManager::AddReplaceSymbol(), IMPL_LINK(), and operator=().

void SmSymSet::DeleteSymbol ( USHORT  SymbolNo  ) 

Definition at line 252 of file symbol.cxx.

References RemoveSymbol().

Referenced by IMPL_LINK().

SmSym * SmSymSet::RemoveSymbol ( USHORT  SymbolNo  ) 

Definition at line 257 of file symbol.cxx.

References pSymSetManager, SmSymSetManager::SetModified(), and SymbolList.

Referenced by DeleteSymbol().

USHORT SmSymSet::GetSymbolPos ( const String &  rName  ) 

Definition at line 270 of file symbol.cxx.

References GetCount(), SYMBOL_NONE, and SymbolList.

Referenced by IMPL_LINK().


Friends And Related Function Documentation

friend class SmSymSetManager [friend]

Definition at line 148 of file symbol.hxx.


Member Data Documentation

SmListSym SmSymSet::SymbolList [private]

Definition at line 150 of file symbol.hxx.

Referenced by AddSymbol(), SmSymSetManager::AddSymbolSet(), SmSymSetManager::EnterHashTable(), GetSymbolPos(), operator=(), RemoveSymbol(), SmSymSet(), and ~SmSymSet().

String SmSymSet::Name [private]

Definition at line 151 of file symbol.hxx.

Referenced by operator=(), SetName(), and SmSymSet().

SmSymSetManager* SmSymSet::pSymSetManager [private]

Definition at line 152 of file symbol.hxx.

Referenced by AddSymbol(), SmSymSetManager::AddSymbolSet(), operator=(), RemoveSymbol(), SetName(), and SmSymSet().


The documentation for this class was generated from the following files:
Generated on Wed Feb 20 17:23:38 2008 for maths by  doxygen 1.5.1