Lolly 1.4.28
|
#include <blackbox.hpp>
Public Member Functions | |
whitebox_rep (const T &data2) | |
Constructor. | |
~whitebox_rep () | |
int | get_type () |
Get the type of the whitebox representation. | |
bool | equal (blackbox_rep *ptr) |
Check if the whitebox representation is equal to another blackbox_rep pointer. | |
tm_ostream & | display (tm_ostream &out) |
Display the whitebox representation. | |
Public Member Functions inherited from blackbox_rep | |
blackbox_rep () | |
virtual | ~blackbox_rep () |
Public Member Functions inherited from abstract_struct | |
abstract_struct () | |
Default constructor for the abstract object. Sets the reference count to 0. | |
virtual | ~abstract_struct () |
Virtual destructor for the abstract object. Decrements the reference count. | |
Public Attributes | |
T | data |
Public Attributes inherited from abstract_struct | |
int | ref_count |
The reference count for the abstract object. | |
Definition at line 31 of file blackbox.hpp.
|
inline |
Constructor.
data2 | The data to be stored in the whitebox. |
Definition at line 40 of file blackbox.hpp.
|
inline |
Definition at line 41 of file blackbox.hpp.
|
inlinevirtual |
Get the type of the whitebox representation.
Implements blackbox_rep.
Definition at line 47 of file blackbox.hpp.
|
inlinevirtual |
Check if the whitebox representation is equal to another blackbox_rep pointer.
ptr | A pointer to another blackbox_rep. |
Implements blackbox_rep.
Definition at line 56 of file blackbox.hpp.
|
inlinevirtual |
Display the whitebox representation.
out | The output stream to display the whitebox representation. |
Implements blackbox_rep.
Definition at line 66 of file blackbox.hpp.
T whitebox_rep< T >::data |
The data stored in the whitebox.
Definition at line 33 of file blackbox.hpp.