#include "infoton.h"
#include "tentacle.h"
#include <basis/byte_array.h>
Include dependency graph for tentacle_helper.h:

This graph shows which files directly or indirectly include this file:

Go to the source code of this file.
Classes | |
| class | tentacle_helper< contents > |
| provides prefab implementations for parts of the tentacle object. More... | |
Functions | |
| template<class contents> | |
| outcome | reconstituter (const string_array &classifier, byte_array &packed_form, infoton *&reformed, contents *formal(junk)) |
| < reconstituter should work for most infotons to restore flattened infotons. | |
Definition in file tentacle_helper.h.
| outcome reconstituter | ( | const string_array & | classifier, | |
| byte_array & | packed_form, | |||
| infoton *& | reformed, | |||
| contents * | formal(junk) | |||
| ) |
< reconstituter should work for most infotons to restore flattened infotons.
< the infotons that can be used here just need valid default constructor and unpack methods. the "junk" parameter is needed to allow the template to be disambiguated on some compilers--it is unused and should just be NIL.
Definition at line 40 of file tentacle_helper.h.
References tentacle::GARBAGE, tentacle::OKAY, infoton::set_classifier(), and WHACK().
Referenced by login_tentacle::reconstitute(), file_transfer_tentacle::reconstitute(), unwrapping_tentacle::reconstitute(), encryption_tentacle::reconstitute(), tentacle_helper< unhandled_request >::reconstitute(), and identity_tentacle::reconstitute().
1.5.1