ARB
Public Member Functions | List of all members
TypedDatabaseCallback Class Reference

#include <gb_cb.h>

Inheritance diagram for TypedDatabaseCallback:
Inheritance graph
[legend]

Public Member Functions

 TypedDatabaseCallback (const DatabaseCallback &cb, GB_CB_TYPE type_)
 
TypedDatabaseCallback with_type_changed_to (GB_CB_TYPE type_) const
 
GB_CB_TYPE get_type () const
 
void operator() (GBDATA *gbd, GB_CB_TYPE type_) const
 
bool sig_is_equal_to (const TypedDatabaseCallback &other) const
 
bool is_equal_to (const TypedDatabaseCallback &other) const
 
void mark_for_removal ()
 
bool is_marked_for_removal () const
 
charget_info () const
 

Detailed Description

Definition at line 24 of file gb_cb.h.

Constructor & Destructor Documentation

TypedDatabaseCallback::TypedDatabaseCallback ( const DatabaseCallback &  cb,
GB_CB_TYPE  type_ 
)
inline

Definition at line 31 of file gb_cb.h.

Referenced by with_type_changed_to().

Member Function Documentation

TypedDatabaseCallback TypedDatabaseCallback::with_type_changed_to ( GB_CB_TYPE  type_) const
inline

Definition at line 36 of file gb_cb.h.

References TypedDatabaseCallback().

Referenced by GB_MAIN_TYPE::add_hierarchy_cb(), and GB_MAIN_TYPE::remove_hierarchy_cb().

GB_CB_TYPE TypedDatabaseCallback::get_type ( ) const
inline
void TypedDatabaseCallback::operator() ( GBDATA gbd,
GB_CB_TYPE  type_ 
) const
inline

Definition at line 40 of file gb_cb.h.

References gb_assert, and is_marked_for_removal().

bool TypedDatabaseCallback::sig_is_equal_to ( const TypedDatabaseCallback other) const
inline

Definition at line 47 of file gb_cb.h.

Referenced by IsCallback::operator()().

bool TypedDatabaseCallback::is_equal_to ( const TypedDatabaseCallback other) const
inline
void TypedDatabaseCallback::mark_for_removal ( )
inline

Definition at line 54 of file gb_cb.h.

bool TypedDatabaseCallback::is_marked_for_removal ( ) const
inline
char * TypedDatabaseCallback::get_info ( ) const

Definition at line 215 of file ad_cb.cxx.

References cbtype2readable(), GBS_funptr2readable(), GBS_global_string_copy(), and result.


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