Edinburgh Speech Tools  2.1-release
EST_Content_Data Class Reference

A class for containing some other (arbitrary) class. Not general enough to call itself a run-time type system Is designed to solve the problem of holding user specified information. Keeps reference count to know when to delete contents. More...

#include <include/EST_Contents.h>

Public Member Functions

 EST_Content_Data (void *d, void(*f)(void *d))
 
 ~EST_Content_Data ()
 
int unref ()
 
int ref ()
 
int the_refs ()
 
void * contents ()
 
EST_Content_Dataoperator= (const EST_Content_Data &c)
 

Detailed Description

A class for containing some other (arbitrary) class. Not general enough to call itself a run-time type system Is designed to solve the problem of holding user specified information. Keeps reference count to know when to delete contents.

This is done on two levels EST_Contents and Contents_Data

Definition at line 51 of file EST_Contents.h.

Constructor & Destructor Documentation

EST_Content_Data::EST_Content_Data ( void *  d,
void(*)(void *d)  f 
)
inline

Definition at line 57 of file EST_Contents.h.

EST_Content_Data::~EST_Content_Data ( )
inline

Definition at line 58 of file EST_Contents.h.

Member Function Documentation

int EST_Content_Data::unref ( )
inline

Definition at line 60 of file EST_Contents.h.

int EST_Content_Data::ref ( )
inline

Definition at line 62 of file EST_Contents.h.

int EST_Content_Data::the_refs ( )
inline

Definition at line 64 of file EST_Contents.h.

void* EST_Content_Data::contents ( )
inline

Definition at line 65 of file EST_Contents.h.

EST_Content_Data& EST_Content_Data::operator= ( const EST_Content_Data c)
inline

Definition at line 66 of file EST_Contents.h.


The documentation for this class was generated from the following file: