Private and protected interface of class 'PrinterBase'. More...
#include <PrinterBase_private.h>
Public Member Functions | |
INHERITS_FROM (NodeWalker) | |
Data Fields | |
int(* | print_node )(PrinterBase_ptr self, node_ptr n, int priority) |
Related Functions | |
(Note that these are not member functions.) | |
void | printer_base_deinit (PrinterBase_ptr self) |
The PrinterBase class private deinitializer. | |
void | printer_base_init (PrinterBase_ptr self, const NuSMVEnv_ptr env, const char *name, int low, size_t num, boolean can_handle_null) |
The PrinterBase class private initializer. | |
int | printer_base_print_string (PrinterBase_ptr self, const char *str) |
Use this method to print a string to the stream currently set. | |
int | printer_base_throw_print_node (PrinterBase_ptr self, node_ptr n, int priority) |
This method must be called by the virtual method print_node to recursively print sub nodes. | |
PrinterBase_ptr | PrinterBase_create (const NuSMVEnv_ptr env, const char *name, int low, size_t num) |
Creates and initializes a printer. To be usable, the printer will have to be registered to a MasterPrinter. | |
VIRTUAL int | PrinterBase_print_node (PrinterBase_ptr self, node_ptr n, int priority) |
Prints the given node. |
Private and protected interface of class 'PrinterBase'.
Public interface of class 'PrinterBase'.
PrinterBase class definition derived from class NodeWalker
Definition of the public accessor for class PrinterBase
PrinterBase::INHERITS_FROM | ( | NodeWalker | ) |
void printer_base_deinit | ( | PrinterBase_ptr | self | ) | [related] |
The PrinterBase class private deinitializer.
The PrinterBase class private deinitializer
void printer_base_init | ( | PrinterBase_ptr | self, | |
const NuSMVEnv_ptr | env, | |||
const char * | name, | |||
int | low, | |||
size_t | num, | |||
boolean | can_handle_null | |||
) | [related] |
The PrinterBase class private initializer.
The PrinterBase class private initializer
int printer_base_print_string | ( | PrinterBase_ptr | self, | |
const char * | str | |||
) | [related] |
Use this method to print a string to the stream currently set.
int printer_base_throw_print_node | ( | PrinterBase_ptr | self, | |
node_ptr | n, | |||
int | priority | |||
) | [related] |
This method must be called by the virtual method print_node to recursively print sub nodes.
PrinterBase_ptr PrinterBase_create | ( | const NuSMVEnv_ptr | env, | |
const char * | name, | |||
int | low, | |||
size_t | num | |||
) | [related] |
Creates and initializes a printer. To be usable, the printer will have to be registered to a MasterPrinter.
To each printer is associated a partition of consecutive indices over the symbols set. The lowest index of the partition is given through the parameter low, while num is the partition size. Name is used to easily identify printer instances.
This constructor is private, as this class is virtual
VIRTUAL int PrinterBase_print_node | ( | PrinterBase_ptr | self, | |
node_ptr | n, | |||
int | priority | |||
) | [related] |
int(* PrinterBase::print_node)(PrinterBase_ptr self, node_ptr n, int priority) |