The most notable things defined in this file are probably the SReference class which is the main interface to the S-expression model provided by InteLib; the SExpression abstract class which is the common ancestor of all the S-expressions; and the classes SExpressionInt, SExpressionFloat, SExpressionString, SExpressionLabel and SExpressionCons, which represent basic atomic S-expression types as well as the Cons (from which all lists are built).
Definition in file sexpress.hpp.
#include "refcount.hpp"
Include dependency graph for sexpress.hpp:
This graph shows which files directly or indirectly include this file:
Go to the source code of this file.
Defines | |
#define | INTELIB_INTEGER_T int |
Integer type to be used by InteLib. | |
#define | INTELIB_FLOAT_T float |
Floating point number type to be used by InteLib. | |
#define | INTELIB_SIMPLE_STRING_LIMIT sizeof(char*) |
String has room for this many chars; arrays are allocated for longer. | |
#define | INTELIB_TEXT_REPRESENTATIONS 1 |
Whether InteLib supports text representations of S-expressions. | |
#define | INTELIB_INTEGER_FORMAT "%d" |
How should sprintf() be called to make represetnation of an integer. | |
#define | INTELIB_FLOAT_FORMAT "%f" |
How should sprintf() be called to make represetnation of a float. | |
#define | INTELIB_RUNTIME_CHECKS 1 |
Should InteLib perform some sanity cheks. Should be 1 during debug. | |
#define | INTELIB_DEBUG_COUNTERS 0 |
Enables a global counter of allocated SExpression objects. | |
Typedefs | |
typedef int | intelib_integer_t |
Integer type used by InteLib. | |
typedef float | intelib_float_t |
Floating point number type used by InteLib. | |
Variables | |
const char * | the_intelib_title |
InteLib product name and version. | |
const char * | the_intelib_copyright |
InteLib copyright notice. | |
const int | the_intelib_numberic_version |
An integer identifying the InteLib version. | |
const unsigned int | intelib_simple_string_limit = sizeof(char*) |
"Simple" string max. length | |
SReference * | PTheEmptyList |
Empty List. |
|
Integer type to be used by InteLib.
Definition at line 49 of file sexpress.hpp. |
|
Floating point number type to be used by InteLib.
Definition at line 54 of file sexpress.hpp. |
|
String has room for this many chars; arrays are allocated for longer.
Definition at line 59 of file sexpress.hpp. |
|
Whether InteLib supports text representations of S-expressions.
Definition at line 64 of file sexpress.hpp. |
|
How should sprintf() be called to make represetnation of an integer.
Definition at line 70 of file sexpress.hpp. |
|
How should sprintf() be called to make represetnation of a float.
Definition at line 74 of file sexpress.hpp. |
|
Should InteLib perform some sanity cheks. Should be 1 during debug.
Definition at line 80 of file sexpress.hpp. |
|
Enables a global counter of allocated SExpression objects. Should normally be off, unless to test for memory leaks Definition at line 86 of file sexpress.hpp. |
|
Integer type used by InteLib.
Definition at line 90 of file sexpress.hpp. |
|
Floating point number type used by InteLib.
Definition at line 93 of file sexpress.hpp. |
|
InteLib product name and version.
Definition at line 36 of file sexpress.cpp. |
|
InteLib copyright notice.
Definition at line 39 of file sexpress.cpp. |
|
An integer identifying the InteLib version.
Definition at line 49 of file sexpress.cpp. |
|
"Simple" string max. length Strings of this many chars are stored inside the SExpressionString object, without creating dynamic strings Definition at line 101 of file sexpress.hpp. |
|