This file contains a definition of the class "word" which is used to store a string and has some additional properties. More...
#include "chomp/system/config.h"#include "chomp/struct/integer.h"#include "chomp/system/textfile.h"#include "chomp/struct/hashsets.h"#include <cstdlib>#include <cstring>#include <iostream>#include <fstream>#include <sstream>Go to the source code of this file.
Classes | |
| class | chomp::homology::word |
| A word, that is, a string with very few properties. More... | |
Namespaces | |
| namespace | chomp |
This namespace contains the entire CHomP library interface. | |
| namespace | chomp::homology |
This namespace contains the core of the homology computation procedures and related classes and templates contained in the CHomP C++ library. | |
Typedefs | |
| typedef hashedset< word > | chomp::homology::words |
| The default type of a set of words. | |
Functions | |
| int_t | chomp::homology::hashkey1 (const word &w) |
| int_t | chomp::homology::hashkey2 (const word &w) |
| int | chomp::homology::operator== (const word &w1, const word &w2) |
| Compares two words. Returns 1 if they are the same, 0 otherwise. | |
| int | chomp::homology::operator!= (const word &w1, const word &w2) |
| Compares two words. Returns 0 if they are the same, 1 otherwise. | |
| int | chomp::homology::operator== (const word &w, const char *c) |
| Compares a word with a C-style string. | |
| int | chomp::homology::operator!= (const word &w, const char *c) |
| Compares a word with a C-style string. | |
| int | chomp::homology::operator== (const char *c, const word &w) |
| Compares a C-style string with a word. | |
| int | chomp::homology::operator!= (const char *c, const word &w) |
| Compares a C-style string with a word. | |
| int | chomp::homology::operator< (const word &w1, const word &w2) |
| Compares two words in an alphabetical way (by ASCII codes). | |
| int | chomp::homology::operator> (const word &w1, const word &w2) |
| Compares two words in an alphabetical way (by ASCII codes). | |
| int | chomp::homology::operator<= (const word &w1, const word &w2) |
| Compares two words in an alphabetical way (by ASCII codes). | |
| int | chomp::homology::operator>= (const word &w1, const word &w2) |
| Compares two words in an alphabetical way (by ASCII codes). | |
| template<class type > | |
| word & | chomp::homology::operator<< (word &w, const type &elem) |
| Appends the string value of a given element to a word. | |
| std::ostream & | chomp::homology::operator<< (std::ostream &out, const word &w) |
| Writes the given word to an output stream. | |
| std::istream & | chomp::homology::operator>> (std::istream &in, word &w) |
| Reads a word from an input stream. | |
This file contains a definition of the class "word" which is used to store a string and has some additional properties.
Definition in file words.h.
1.7.1