CoCoALib-0.9905 date: 23 May 2007

CoCoA::symbol Class Reference

#include <symbol.H>

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)


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

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