Archive representation More...
#include <archive.hpp>
Public Member Functions | |
Archive (void) | |
Construct empty representation. | |
~Archive (void) | |
Destructor. | |
Archive (const Archive &e) | |
Copy constructor. | |
Archive & | operator= (const Archive &e) |
Assignment operator. | |
void | put (unsigned int i) |
Add i to the contents. | |
int | size (void) const |
Return size. | |
unsigned int | operator[] (int i) const |
Return array element i. | |
unsigned int | get (void) |
Return next element to read. | |
Related Functions | |
(Note that these are not member functions.) | |
Archive & | operator<< (Archive &e, unsigned int i) |
Archive & | operator<< (Archive &e, int i) |
Archive & | operator<< (Archive &e, unsigned short i) |
Archive & | operator<< (Archive &e, short i) |
Archive & | operator<< (Archive &e, unsigned char i) |
Archive & | operator<< (Archive &e, char i) |
Archive & | operator<< (Archive &e, bool i) |
Archive & | operator>> (Archive &e, unsigned int &i) |
Archive & | operator>> (Archive &e, int &i) |
Archive & | operator>> (Archive &e, unsigned short &i) |
Archive & | operator>> (Archive &e, short &i) |
Archive & | operator>> (Archive &e, unsigned char &i) |
Archive & | operator>> (Archive &e, char &i) |
Archive & | operator>> (Archive &e, bool &i) |
Archive representation
An Archive is an array of unsigned integers, used as an external representation of internal data structures (such as Choice objects).
Definition at line 45 of file archive.hpp.
Gecode::Archive::Archive | ( | void | ) | [inline] |
Construct empty representation.
Definition at line 154 of file archive.hpp.
Gecode::Archive::~Archive | ( | void | ) |
Destructor.
Definition at line 64 of file archive.cpp.
Gecode::Archive::Archive | ( | const Archive & | e | ) |
Copy constructor.
Definition at line 49 of file archive.cpp.
Assignment operator.
Definition at line 55 of file archive.cpp.
void Gecode::Archive::put | ( | unsigned int | i | ) | [inline] |
Add i to the contents.
Definition at line 157 of file archive.hpp.
int Gecode::Archive::size | ( | void | ) | const [inline] |
Return size.
Definition at line 164 of file archive.hpp.
unsigned int Gecode::Archive::operator[] | ( | int | i | ) | const [inline] |
Return array element i.
Definition at line 167 of file archive.hpp.
unsigned int Gecode::Archive::get | ( | void | ) | [inline] |
Return next element to read.
Definition at line 173 of file archive.hpp.
Add i to the end of e
Definition at line 179 of file archive.hpp.
Add i to the end of e
Definition at line 184 of file archive.hpp.
Add i to the end of e
Definition at line 189 of file archive.hpp.
Add i to the end of e
Definition at line 194 of file archive.hpp.
Add i to the end of e
Definition at line 199 of file archive.hpp.
Add i to the end of e
Definition at line 204 of file archive.hpp.
Add i to the end of e
Definition at line 209 of file archive.hpp.
Read next element from e into i
Definition at line 215 of file archive.hpp.
Read next element from e into i
Definition at line 220 of file archive.hpp.
Read next element from e into i
Definition at line 225 of file archive.hpp.
Read next element from e into i
Definition at line 230 of file archive.hpp.
Read next element from e into i
Definition at line 235 of file archive.hpp.
Read next element from e into i
Definition at line 240 of file archive.hpp.
Read next element from e into i
Definition at line 245 of file archive.hpp.