#include <ShareLabel.h>
Inheritance diagram for CODEX_VSS::LabeledShare< _ShareType, _OneWay >:


Public Types | |
| typedef _ShareType | ShareType |
| Export the share type. | |
| typedef _OneWay | OneWay |
| Export the one-way function type. | |
|
typedef ShareLabel< _ShareType, _OneWay > | LabelType |
| Export the label type. | |
| typedef CODEX_ASN1::Base | BaseType |
| Convenient short name. | |
Public Member Functions | |
| LabeledShare () | |
| Default constructor, for creating an object to be unmarshalled. | |
| LabeledShare (const ShareType &share, const LabelType &label) | |
| Constructor taking a share and a label. | |
| LabeledShare (const LabeledShare< ShareType, OneWay > &aOther) | |
| Copy constructor. | |
| ~LabeledShare () | |
| Virtual destructor. | |
| void | operator= (const LabeledShare< ShareType, OneWay > &aOther) |
| Assignment operator. | |
| const ShareType & | share () const |
| The share. | |
| const LabelType & | label () const |
| The label for the sharing. | |
| int | marshal (unsigned char **pp) const |
| This function creates a serialized representation of the object, which is returned through the argument pp. | |
| void * | unmarshal (void *bogus, unsigned char **pp, long length) |
| This function takes a serialized representation of the object and recreates the object representation. | |
| void | toFile (const char *fname) const |
| Store the shares in a file. | |
| void * | fromFile (const char *fname) |
| Read shares from a file. | |
| bool | initialized () const |
Protected Attributes | |
| bool | m_initialized |
| Has this object been initialized yet, or is it still blank? | |
Definition at line 361 of file ShareLabel.h.
|
|
||||||||||
|
This function creates a serialized representation of the object, which is returned through the argument pp. This must be overridden by the concrete derived class.
Implements CODEX_ASN1::Base. Definition at line 410 of file ShareLabel.h. Referenced by CODEX_VSS::LabeledShare< ShareType, OneWay >::toFile(). |
|
||||||||||||||||||||
|
This function takes a serialized representation of the object and recreates the object representation. This must be overridden by the concrete derived class.
Implements CODEX_ASN1::Base. Definition at line 426 of file ShareLabel.h. Referenced by CODEX_VSS::LabeledShare< ShareType, OneWay >::fromFile(). |
1.4.1