My Project
|
#include "kernel/mod2.h"
#include "Singular/tok.h"
#include "Singular/subexpr.h"
#include "Singular/ipshell.h"
#include "Singular/ipid.h"
#include "Singular/blackbox.h"
Go to the source code of this file.
Macros | |
#define | MAX_BB_TYPES 256 |
#define | BLACKBOX_OFFSET (MAX_TOK+1) |
Functions | |
blackbox * | getBlackboxStuff (const int t) |
return the structure to the type given by t More... | |
void | blackbox_default_destroy (blackbox *, void *) |
char * | blackbox_default_String (blackbox *, void *) |
void * | blackbox_default_Copy (blackbox *, void *) |
BOOLEAN | blackbox_default_Assign (leftv l, leftv r) |
void | blackbox_default_Print (blackbox *b, void *d) |
default procedure blackbox_default_Print: print the string More... | |
void * | blackbox_default_Init (blackbox *) |
BOOLEAN | blackbox_default_serialize (blackbox *, void *, si_link) |
BOOLEAN | blackbox_default_deserialize (blackbox **, void **, si_link) |
BOOLEAN | blackboxDefaultOp1 (int op, leftv l, leftv r) |
default procedure blackboxDefaultOp1, to be called as "default:" branch More... | |
BOOLEAN | blackboxDefaultOp2 (int, leftv, leftv, leftv) |
default procedure blackboxDefaultOp2, to be called as "default:" branch More... | |
BOOLEAN | blackboxDefaultOp3 (int, leftv, leftv, leftv, leftv) |
default procedure blackboxDefaultOp3, to be called as "default:" branch More... | |
BOOLEAN | blackboxDefaultOpM (int op, leftv res, leftv args) |
default procedure blackboxDefaultOpM, to be called as "default:" branch More... | |
BOOLEAN | blackbox_default_Check (blackbox *, leftv, leftv) |
int | setBlackboxStuff (blackbox *bb, const char *n) |
define a new type More... | |
void | removeBlackboxStuff (const int rt) |
const char * | getBlackboxName (const int t) |
return the name to the type given by t (r/o) More... | |
int | blackboxIsCmd (const char *n, int &tok) |
used by scanner: returns ROOT_DECL for known types (and the type number in tok ) More... | |
void | printBlackboxTypes () |
list all defined type (for debugging) More... | |
struct blackbox_list * | getBlackboxTypes () |
return array of all define types. More... | |
Variables | |
static GLOBAL_VAR blackbox * | blackboxTable [MAX_BB_TYPES] |
static GLOBAL_VAR char * | blackboxName [MAX_BB_TYPES] |
static GLOBAL_VAR int | blackboxTableCnt =0 |
#define BLACKBOX_OFFSET (MAX_TOK+1) |
Definition at line 16 of file blackbox.cc.
#define MAX_BB_TYPES 256 |
Definition at line 10 of file blackbox.cc.
Definition at line 40 of file blackbox.cc.
Definition at line 138 of file blackbox.cc.
void * blackbox_default_Copy | ( | blackbox * | , |
void * | |||
) |
Definition at line 35 of file blackbox.cc.
Definition at line 72 of file blackbox.cc.
void blackbox_default_destroy | ( | blackbox * | , |
void * | |||
) |
Definition at line 26 of file blackbox.cc.
void * blackbox_default_Init | ( | blackbox * | ) |
Definition at line 61 of file blackbox.cc.
void blackbox_default_Print | ( | blackbox * | b, |
void * | d | ||
) |
default procedure blackbox_default_Print: print the string
Definition at line 55 of file blackbox.cc.
Definition at line 66 of file blackbox.cc.
char * blackbox_default_String | ( | blackbox * | , |
void * | |||
) |
Definition at line 30 of file blackbox.cc.
default procedure blackboxDefaultOp1, to be called as "default:" branch
Definition at line 78 of file blackbox.cc.
default procedure blackboxDefaultOp2, to be called as "default:" branch
Definition at line 97 of file blackbox.cc.
default procedure blackboxDefaultOp3, to be called as "default:" branch
Definition at line 102 of file blackbox.cc.
int blackboxIsCmd | ( | const char * | n, |
int & | tok | ||
) |
used by scanner: returns ROOT_DECL for known types (and the type number in tok
)
Definition at line 218 of file blackbox.cc.
return the name to the type given by t (r/o)
Definition at line 212 of file blackbox.cc.
blackbox * getBlackboxStuff | ( | const int | t | ) |
return the structure to the type given by t
Definition at line 17 of file blackbox.cc.
struct blackbox_list * getBlackboxTypes | ( | ) |
return array of all define types.
Definition at line 244 of file blackbox.cc.
void printBlackboxTypes | ( | ) |
list all defined type (for debugging)
Definition at line 235 of file blackbox.cc.
void removeBlackboxStuff | ( | const int | rt | ) |
Definition at line 205 of file blackbox.cc.
int setBlackboxStuff | ( | blackbox * | bb, |
const char * | n | ||
) |
define a new type
Definition at line 142 of file blackbox.cc.
|
static |
Definition at line 14 of file blackbox.cc.
|
static |
Definition at line 13 of file blackbox.cc.
|
static |
Definition at line 15 of file blackbox.cc.