Home

api.hxx File Reference

#include <stdio.h>
#include "dcl_kern.h"
#include "logical.h"
#include <setjmp.h>
#include "bullsmal.hxx"
#include "debugmsc.hxx"
#include "errorsys.hxx"
#include "acis_options.hxx"
#include "vers.hxx"
#include "err_info.hxx"
#include "err_info_list.hxx"
#include "problems_list.hxx"

Classes

class  outcome
 Defines a class for holding the results of API calls. More...

Defines

#define API_BEGIN
 Protects the contained logic block with ACIS exception handling and provides rollback behavior in the event a modeling operation fails.
#define API_END
 Protects the contained logic block with ACIS exception handling and provides rollback behavior in the event a modeling operation fails.
#define API_NOP_BEGIN   API_SYS_BEGIN_INTERNAL(api_bb_save make_bulletin_board(result,api_bb_save::nop));
 Provides a way to use the bulletin mechanism to make changes to an ENTITY, then throw away the changes when done.
#define API_NOP_END
 Provides a way to use the bulletin mechanism to make changes to an ENTITY, then throw away the changes when done.
#define API_SYS_BEGIN   API_SYS_BEGIN_INTERNAL(nested_state_check())
 Protects the contained logic block with ACIS exception handling without rollback behavior.
#define API_SYS_END
 Protects the contained logic block with ACIS exception handling without rollback behavior.
#define API_TRIAL_BEGIN
 Brackets code that may or may not have results you want to keep.
#define API_TRIAL_END
 Brackets code that may or may not have results you want to keep.
#define API_VERS_BEGIN(opts)
 API_VERS_BEGIN is a way to combine an API_BEGIN and ALGORITHMIC_VERSION_BLOCK in a single statement.

Functions

void api_bb_begin (logical linear=TRUE)
 Starts the API bulletin board.
void api_bb_delete ()
 Deletes bulletin boards.
void api_bb_end (outcome &result, logical linear=TRUE, logical delete_stacked_bb=FALSE)
 Terminates the API bulletin board.
logical api_check_on ()
 Determines the status of checking and returns TRUE if it is on, otherwise FALSE.

Detailed Description