FunctionMarshallable.h

Classes

FunctionMarshallable --

(full description)


class FunctionMarshallable

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()

Description

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

FunctionMarshallable(const String& functype) : ftype(functype)

create a FunctionMarshallable. functype is the name that store() will load into the Record's functype field.

FunctionMarshallable(const FunctionMarshallable& other) : ftype()

virtual ~FunctionMarshallable()

virtual void store(Record& gr) const = 0

store the state of this Function into a Record

Thrown Exceptions

virtual FunctionMarshallable& operator=(const FunctionMarshallable& other)

const String& getFuncType() const

return the name representing the Function type that will be placed in the functype field of Record passed to store().

void loadFuncType(Record& gr) const

load functype field into the given Record

FunctionMarshallable() : ftype()