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

#include <ad_hcb.h>

Public Member Functions

 gb_hierarchy_location (GBDATA *gbd)
 
 gb_hierarchy_location (GBDATA *gb_main, const char *db_path)
 
bool is_valid () const
 
bool is_submatch () const
 
bool matches (GBDATA *gbd) const
 
bool operator== (const gb_hierarchy_location &other) const
 
charget_db_path (GBDATA *gb_main) const
 

Detailed Description

Stores path to a specific location in DB hierarchy as list of GBQUARKs

Definition at line 31 of file ad_hcb.h.

Constructor & Destructor Documentation

gb_hierarchy_location::gb_hierarchy_location ( GBDATA gbd)
inlineexplicit

Definition at line 39 of file ad_hcb.h.

References gb_assert, GB_KEY_QUARK(), GBDATA::get_father(), and offset.

gb_hierarchy_location::gb_hierarchy_location ( GBDATA gb_main,
const char db_path 
)

Member Function Documentation

bool gb_hierarchy_location::is_valid ( ) const
inline

Definition at line 53 of file ad_hcb.h.

Referenced by gb_hierarchy_location(), is_submatch(), matches(), and operator==().

bool gb_hierarchy_location::is_submatch ( ) const
inline

Definition at line 54 of file ad_hcb.h.

References gb_assert, and is_valid().

Referenced by get_db_path(), matches(), and operator==().

bool gb_hierarchy_location::matches ( GBDATA gbd) const
inline

return true if 'gbd' is at 'this' hierarchy location

Definition at line 56 of file ad_hcb.h.

References gb_assert, GB_KEY_QUARK(), GBDATA::get_father(), is_submatch(), is_valid(), and offset.

Referenced by gb_hierarchy_callback::triggered_by().

bool gb_hierarchy_location::operator== ( const gb_hierarchy_location other) const
inline

Definition at line 75 of file ad_hcb.h.

References implicated, is_submatch(), is_valid(), and offset.

char * gb_hierarchy_location::get_db_path ( GBDATA gb_main) const

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