Content-Based Networking Simulation Library Documentation (v. 1.2.1) |
#include <cassert>
#include <iostream>
#include <siena/forwarding.h>
#include <siena/ssimp_types.h>
Go to the source code of this file.
Namespaces | |
namespace | cbnsim |
Namespace containing classes and procedures provided by the | |
Defines | |
#define | CBNDEBUG(u) |
#define | CBNINFO(u) if( cbnsim::g_info_on ) { std::cout << "INFO: " << u << endl; } |
#define | CBNERROR(u) if( cbnsim::g_error_on ) { std::cerr << "ERROR: " << u << endl; } |
#define | CBNASSERT(exp, msg) if(!(exp)){CBNERROR(msg);assert(exp);} |
Functions | |
void | cbnsim::sff_print (const SimplifyingPredicate &pred, siena::if_t id=0) |
Function to print a predicate in the format expected by the sff program. | |
void | cbnsim::sff_print (const Message &msg) |
Function to print a message in the format expected by the sff program. | |
Variables | |
bool | cbnsim::g_debug_on |
bool | cbnsim::g_info_on |
bool | cbnsim::g_error_on |
This file contains preprocessor macros and function prototypes for printing generic debugging and error messages and also for printing predicates and messages in the format that the sff program can read in.
Copyright © 2001-2004 University of Colorado.
Permission is granted to copy, distribute and/or modify this document under the terms of the GNU Free Documentation License, Version 1.1 or any later version published by the Free Software Foundation; with no Invariant Sections, no Front-Cover Texts and no Back-Cover Texts. A copy of the license is included in the section entitled "GNU Free Documentation License". This documentation is authored and maintained by Matthew J. Rutherford |