CoCoALib-0.9905 date: 23 May 2007


CoCoA::symbol Class Reference

#include <symbol.H>

Collaboration diagram for CoCoA::symbol:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 symbol (const std::string &head)
 symbol (const std::string &head, int index)
 symbol (const std::string &head, const std::vector< int > &indices)
void myOutputSelf (std::ostream &out) const
void myInput (std::istream &in)
int myCmp (const symbol &sym2) const

Static Public Member Functions

static bool IsValidHead (const std::string &head)

Private Attributes

std::string myHead
std::vector< int > myIndices

Friends

const std::string & head (const symbol &sym)
std::size_t NumIndices (const symbol &sym)
int index (const symbol &sym, size_t n)

Detailed Description

Definition at line 38 of file symbol.H.


Constructor & Destructor Documentation

CoCoA::symbol::symbol const std::string &  head  )  [explicit]
 

CoCoA::symbol::symbol const std::string &  head,
int  index
 

CoCoA::symbol::symbol const std::string &  head,
const std::vector< int > &  indices
 


Member Function Documentation

void CoCoA::symbol::myOutputSelf std::ostream &  out  )  const
 

void CoCoA::symbol::myInput std::istream &  in  ) 
 

int CoCoA::symbol::myCmp const symbol sym2  )  const
 

Referenced by CoCoA::cmp(), CoCoA::operator!=(), CoCoA::operator<(), CoCoA::operator<=(), CoCoA::operator==(), CoCoA::operator>(), and CoCoA::operator>=().

static bool CoCoA::symbol::IsValidHead const std::string &  head  )  [static]
 


Friends And Related Function Documentation

const std::string& head const symbol sym  )  [friend]
 

std::size_t NumIndices const symbol sym  )  [friend]
 

int index const symbol sym,
size_t  n
[friend]
 


Member Data Documentation

std::string CoCoA::symbol::myHead [private]
 

Definition at line 53 of file symbol.H.

Referenced by CoCoA::head().

std::vector<int> CoCoA::symbol::myIndices [private]
 

Definition at line 54 of file symbol.H.

Referenced by CoCoA::NumIndices().


The documentation for this class was generated from the following file:
Generated on Wed May 23 13:44:56 2007 for CoCoALib by  doxygen 1.4.6