FunctionMarshallable.h
Classes
- FunctionMarshallable --
(full description)
Interface
- Public Members
- FunctionMarshallable(const String& functype) : ftype(functype)
- FunctionMarshallable(const FunctionMarshallable& other) : ftype()
- virtual ~FunctionMarshallable()
- virtual void store(Record& gr) const = 0
- virtual FunctionMarshallable& operator=(const FunctionMarshallable& other)
- const String& getFuncType() const
- void loadFuncType(Record& gr) const
- Private Members
- FunctionMarshallable() : ftype()
Review Status
- Date Reviewed:
- yyyy/mm/dd
Prerequisite
Etymology
Marshalling (a.k.a. serialization) is the process of converting the
state of an object into a transmitable form so that an another object with
identical state can be created in another execution context. This class
defines an interface for marshalling Functions.
Synopsis
Example
Motivation
Template Type Argument Requirements (T)
Thrown Exceptions
To Do
Member Description
create a FunctionMarshallable. functype is the name that
store() will load into the Record's functype field.
FunctionMarshallable(const FunctionMarshallable& other) : ftype()
virtual void store(Record& gr) const = 0
store the state of this Function into a Record
Thrown Exceptions
InvalidSerializationError if an error during serialization
virtual FunctionMarshallable& operator=(const FunctionMarshallable& other)
return the name representing the Function type that will be placed
in the functype field of Record passed to store().
load functype field into the given Record