#include <cstdlib>
#include <fstream>
#include <iostream>
#include "EST_Handleable.h"
#include "EST_THandle.h"
#include "EST_TBox.h"
#include "EST_String.h"
Go to the source code of this file.
EST_THandle:example | |
Example of using the THandle reference counted pointer type.
| |
typedef EST_THandle< HandleableThing, HandleableThing > | HandleableThingP |
typedef EST_TBox< Thing > | BoxedThing |
typedef EST_THandle< BoxedThing, Thing > | BoxedThingP |
ostream & | operator<< (ostream &st, const HandleableThing &t) |
ostream & | operator<< (ostream &st, const EST_TBox< Thing > &t) |
ostream & | operator<< (ostream &st, const Thing &t) |
void | unboxed (void) |
void | boxed (void) |
int | main (void) |
typedef EST_THandle<HandleableThing,HandleableThing> HandleableThingP |
Definition at line 94 of file handle_example.cc.
typedef EST_TBox<Thing> BoxedThing |
Definition at line 133 of file handle_example.cc.
typedef EST_THandle<BoxedThing,Thing> BoxedThingP |
Definition at line 134 of file handle_example.cc.
ostream& operator<< | ( | ostream & | st, |
const HandleableThing & | t | ||
) |
Definition at line 89 of file handle_example.cc.
ostream& operator<< | ( | ostream & | st, |
const EST_TBox< Thing > & | t | ||
) |
Definition at line 123 of file handle_example.cc.
ostream& operator<< | ( | ostream & | st, |
const Thing & | t | ||
) |
Definition at line 128 of file handle_example.cc.
void unboxed | ( | void | ) |
Definition at line 136 of file handle_example.cc.
void boxed | ( | void | ) |
Definition at line 182 of file handle_example.cc.
int main | ( | void | ) |
Definition at line 228 of file handle_example.cc.