class ABA_STRING implements are very simple class for the representation of character strings.
#include <string.h>
Inheritance diagram for ABA_STRING::
|
The destructor.
The assignment operator makes a copy of the right hand side and reallocates memory if required.
The assignment operator is overloaded for character strings.
With the subscript operator a single character of the string can be accessed or modified.
The subscript operator is overloaded for constant use.
The comparison operator is overloaded for character strings on the right hand side.
The not-equal operator is overloaded for character strings on the right hand side.
class ABA_STRING implements are very simple class for the representation of character strings.
Definition at line 45 of file string.h.
The constructor.
A constructor building a string from a string and an integer.
This constructor is especially useful for building variable or constraint names like { con18}.
The copy constructor.
The destructor.
The assignment operator makes a copy of the right hand side and reallocates memory if required.
A reference to the object.
The assignment operator is overloaded for character strings.
char& ABA_STRING::operator[ ] (int i)
With the subscript operator a single character of the string can be accessed or modified.
If the class is compiled with the preprocessor flag -DABACUSSAFE, then a range check is performed.
A reference to the i-th character of the string.
const char& ABA_STRING::operator[ ] (int i) const
The subscript operator is overloaded for constant use.
The comparison operator.
the C-library function strcmp() returns 0 if both strings equal.
0 If both strings are not equal,
1 otherwise.
The comparison operator is overloaded for character strings on the right hand side.
The not-equal operator.
the C-library function strcmp() returns 0 if both strings equal.
0 If both strings are equal,
1 otherwise.
The not-equal operator is overloaded for character strings on the right hand side.
The output operator.
A reference to the output stream.
The documentation for this class was generated from the following file: