Classes | |
struct | remove_pointer |
A template class used to remove the indirection from a pointer type. More... | |
class | reference_wrapper |
A wrapper allowing references to be passed through generic functions. More... | |
class | noncopyable |
A base class that guarantees that derived classes cannot be copied. More... | |
struct | HashPointer |
A hash function used to calculate hash values for arbitrary pointers. More... | |
struct | HashString |
A hash function used to calculate hash values for C++ strings. More... | |
struct | FuncNew |
An adaptable generator used to create objects using default constructors. More... | |
struct | FuncNewCopyPtr |
An adaptable unary function used to create objects using copy constructors. More... | |
struct | FuncNewCopyRef |
An adaptable unary function used to create objects using copy constructors. More... | |
struct | FuncNewClonePtr |
An adaptable unary function used to create objects using the clone() method. More... | |
struct | FuncDelete |
An adaptable unary function used to deallocate objects. More... | |
class | NTriBool |
A three-way extension of the boolean type. More... | |
class | NTriBool_Illegal_Integer_Conversion |
An exception thrown when an illegal integer conversion is attempted with NTriBool. More... | |
class | NBoolSet |
A set of booleans. More... | |
class | NIndexedArray |
A dynamically resizable array of objects of type T with fast random access and fast object-to-index lookup. More... | |
class | NLargeInteger |
Represents an arbitrary precision integer. More... | |
class | StoreValue |
An NProperty storage policy indicating that the property should be held by value. More... | |
class | StoreConstPtr |
An NProperty storage policy indicating that the property should be held by constant pointer. More... | |
class | StoreManagedPtr |
An NProperty storage policy indicating that the property should be held by pointer and that the property wrapper will also take responsibility for memory management. More... | |
class | NPropertyBase |
A base class that provides routines shared by all properties, regardless of their individual NProperty template parameters. More... | |
class | NProperty |
Stores a calculable property of an object. More... | |
class | NRational |
Represents an arbitrary precision rational number. More... | |
class | NMutex |
A mutual exclusion device (mutex) used to ensure that different threads do not interfere when working with the same data. More... | |
class | NThread |
Provides very basic thread handling. More... | |
struct | select1st |
An adaptable unary function used to select the first element of a pair. More... | |
struct | select2nd |
An adaptable unary function used to select the second element of a pair. More... | |
class | unary_compose |
An adaptable unary function used to compose two unary functions. More... | |
class | XMLPropertyDict |
Represents a hashed map from property names to property values. More... | |
class | XMLParserCallback |
Provides the callbacks for an XMLParser. More... | |
class | XMLParser |
Used to parse an entire XML file. More... | |
class | ZBuffer |
A common base class for compression/decompression stream buffers. More... | |
class | CompressionBuffer |
An output stream buffer that compresses data as it is written. More... | |
class | DecompressionBuffer |
An input stream buffer that decompresses data as it is read. More... | |
class | CompressionStream |
An output stream that compresses data as it is written. More... | |
class | DecompressionStream |
An input stream that decompresses data as it is read. More... | |
Typedefs | |
typedef pthread_t | regina::NThreadID |
The type used for a thread identifier. | |
Functions | |
template<class T> reference_wrapper< T > const | regina::boost::ref (T &t) |
Returns a wrapper for the given reference. | |
template<class T> reference_wrapper< T const > const | regina::boost::cref (T const &t) |
Returns a wrapper for the given const reference. | |
template<class T> T | regina::boost::prior (T it) |
Returns the iterator prior to the given iterator. | |
template<class T> T | regina::boost::next (T it) |
Returns the iterator following the given iterator. | |
std::ostream & | regina::operator<< (std::ostream &out, const NTriBool &set) |
Writes the given three-way boolean to the given output stream. | |
std::ostream & | regina::operator<< (std::ostream &out, const NBoolSet &set) |
Writes the given boolean set to the given output stream. | |
template<class Data, class HashFcn, class EqualTo> bool | regina::operator== (const NIndexedArray< Data, HashFcn, EqualTo > &array1, const NIndexedArray< Data, HashFcn, EqualTo > &array2) |
See the C++ standard. | |
template<class Data, class HashFcn, class EqualTo> bool | regina::operator< (const NIndexedArray< Data, HashFcn, EqualTo > &array1, const NIndexedArray< Data, HashFcn, EqualTo > &array2) |
See the C++ standard. | |
std::ostream & | regina::operator<< (std::ostream &out, const NLargeInteger &large) |
Writes the given integer to the given output stream. | |
std::ostream & | regina::operator<< (std::ostream &out, const NRational &rat) |
Writes the given rational to the given output stream. | |
template<class Operation1, class Operation2> unary_compose< Operation1, Operation2 > | regina::stl::compose1 (const Operation1 &func1, const Operation2 &func2) |
Returns an adaptable unary function that is the composition of the two given functions. | |
char * | regina::duplicate (const std::string &str) |
Creates a new C string that is a duplicate of the given C++ string. | |
bool | regina::startsWith (const std::string &str, const std::string &prefix) |
Determines whether the given C++ string begins with the given prefix. | |
std::string | regina::stripWhitespace (const std::string &str) |
Strips all whitespace from the beginning and end of the given C++ string. | |
bool | regina::valueOf (const std::string &str, int &dest) |
Converts the entire given string to an integer and reports whether this conversion was successful. | |
bool | regina::valueOf (const std::string &str, unsigned &dest) |
Converts the entire given string to an unsigned integer and reports whether this conversion was successful. | |
bool | regina::valueOf (const std::string &str, long &dest) |
Converts the entire given string to a long integer and reports whether this conversion was successful. | |
bool | regina::valueOf (const std::string &str, unsigned long &dest) |
Converts the entire given string to an unsigned long integer and reports whether this conversion was successful. | |
bool | regina::valueOf (const std::string &str, NLargeInteger &dest) |
Converts the entire given string to an arbitrary precision integer and reports whether this conversion was successful. | |
bool | regina::valueOf (const std::string &str, double &dest) |
Converts the entire given string to a double precision real number and reports whether this conversion was successful. | |
bool | regina::valueOf (const std::string &str, bool &dest) |
Converts the entire given string to a boolean and reports whether this conversion was successful. | |
bool | regina::valueOf (const std::string &str, NTriBool &dest) |
Converts the entire given string to a three-way boolean (true, false or unknown) and reports whether this conversion was successful. | |
bool | regina::valueOf (const std::string &str, NBoolSet &dest) |
Converts the entire given string to a set of booleans and reports whether this conversion was successful. | |
template<class OutputIterator> unsigned | regina::basicTokenise (OutputIterator results, const std::string &str) |
Decomposes the given string into tokens. | |
std::string | regina::xml::xmlEncodeSpecialChars (const std::string &original) |
Returns the given string with special characters converted to XML entities. | |
std::string | regina::xml::xmlEncodeComment (const std::string &comment) |
Returns the given string encoded so it is suitable for use inside an XML comment. | |
template<class T> std::string | regina::xml::xmlValueTag (const std::string &tagName, const T &value) |
Returns an XML tag with a single property containing the given value. |
|
The type used for a thread identifier.
|
|
Decomposes the given string into tokens. This is an extremely simple tokeniser; tokens are defined to be separated by whitespace.
|
|
Returns an adaptable unary function that is the composition of the two given functions. This class is for use with the Standard Template Library.
The composition of functions
|
|
Returns a wrapper for the given const reference. See reference_wrapper for further details.
|
|
Creates a new C string that is a duplicate of the given C++ string. The deallocation of the new C string is the responsibility of the caller of this routine.
|
|
Returns the iterator following the given iterator. This function avoids having to explicitly create a temporary to increment.
Only the increment operator
|
|
See the C++ standard.
|
|
Writes the given rational to the given output stream.
Infinity will be written as
|
|
Writes the given integer to the given output stream.
|
|
Writes the given boolean set to the given output stream.
The set will be written in the form
|
|
Writes the given three-way boolean to the given output stream.
The value will be written in the form
|
|
See the C++ standard.
|
|
Returns the iterator prior to the given iterator. This function avoids having to explicitly create a temporary to decrement.
Only the decrement operator
|
|
Returns a wrapper for the given reference. See reference_wrapper for further details.
|
|
Determines whether the given C++ string begins with the given prefix.
|
|
Strips all whitespace from the beginning and end of the given C++ string. The new stripped string is returned; the original string is not altered.
|
|
Converts the entire given string to a set of booleans and reports whether this conversion was successful.
A set of booleans is represented by one of the four strings
|
|
Converts the entire given string to a three-way boolean (true, false or unknown) and reports whether this conversion was successful.
If the given string begins with
|
|
Converts the entire given string to a boolean and reports whether this conversion was successful.
If the given string begins with
|
|
Converts the entire given string to a double precision real number and reports whether this conversion was successful.
The given string should contain no whitespace or other characters that are not a part of the real number that the string represents. If any unexpected characters are encountered, the routine will convert the string as best it can but
|
|
Converts the entire given string to an arbitrary precision integer and reports whether this conversion was successful.
The given string should contain no whitespace or other characters that are not a part of the integer that the string represents. If any unexpected characters are encountered, the routine will convert the string as best it can but
|
|
Converts the entire given string to an unsigned long integer and reports whether this conversion was successful.
The given string should contain no whitespace or other characters that are not a part of the integer that the string represents. If any unexpected characters are encountered, the routine will convert the string as best it can but
|
|
Converts the entire given string to a long integer and reports whether this conversion was successful.
The given string should contain no whitespace or other characters that are not a part of the integer that the string represents. If any unexpected characters are encountered, the routine will convert the string as best it can but
|
|
Converts the entire given string to an unsigned integer and reports whether this conversion was successful.
The given string should contain no whitespace or other characters that are not a part of the integer that the string represents. If any unexpected characters are encountered, the routine will convert the string as best it can but
|
|
Converts the entire given string to an integer and reports whether this conversion was successful.
The given string should contain no whitespace or other characters that are not a part of the integer that the string represents. If any unexpected characters are encountered, the routine will convert the string as best it can but
|
|
Returns the given string encoded so it is suitable for use inside an XML comment. As well as converting special characters to XML entities, this routine will replace dashes with underscores to avoid double-hyphens (which are illegal in XML comments).
|
|
Returns the given string with special characters converted to XML entities.
For instance, the string
|
|
Returns an XML tag with a single property containing the given value.
The tag will be of the form The value itself will be written to the tag string using the standard output stream operator <<.
|