FdoContext Class Reference

FdoContext is a common base for all FDO context classes. A context class is used in complex operations involving multiple functions. It providers a convenient container for passing information between these functions. This class provides an error list where errors that occur during processing can be logged and reported when the processing completes. Sub-classes can add more specific information to pass around. More...

#include <Context.h>

Inherited by FdoXmlSaxContext.

List of all members.


Classes

class  Errors
 Error Collection definition.

Public Member Functions

FDO_API_COMMON void AddError (FdoException *ex)
 Adds an error to the error list.
virtual FDO_API_COMMON void ThrowErrors ()
 Throws all errors in the error list. The errors are thrown as a chain. The first error is one thrown. The second error is set to be the cause of the first error, the third the cause of the second and so on.

Static Public Member Functions

static FDO_API_COMMON FdoContextCreate ()
 Constructs the context.

Protected Member Functions

FDO_API_COMMON FdoContext ()
virtual FDO_API_COMMON ~FdoContext ()

Detailed Description

FdoContext is a common base for all FDO context classes. A context class is used in complex operations involving multiple functions. It providers a convenient container for passing information between these functions. This class provides an error list where errors that occur during processing can be logged and reported when the processing completes. Sub-classes can add more specific information to pass around.

Definition at line 30 of file Common/Context.h.


The documentation for this class was generated from the following file: