![]() |
![]() |
![]() |
Anjuta Developers Reference Manual | ![]() |
---|---|---|---|---|
#include <libanjuta/interfaces/ianjuta-symbol-manager.h> #define IANJUTA_SYMBOL_MANAGER_ERROR IAnjutaSymbolManager; IAnjutaSymbolManagerIface; GQuark ianjuta_symbol_manager_error_quark (void); IAnjutaIterable* ianjuta_symbol_manager_get_members (IAnjutaSymbolManager *obj, const IAnjutaSymbol *symbol, IAnjutaSymbolField info_fields, gboolean global_search, GError **err); IAnjutaIterable* ianjuta_symbol_manager_search (IAnjutaSymbolManager *obj, IAnjutaSymbolType match_types, gboolean include_types, IAnjutaSymbolField info_fields, const gchar *match_name, gboolean partial_name_match, gboolean global_symbols_search, gboolean global_tags_search, gint results_limit, gint results_offset, GError **err);
#define IANJUTA_SYMBOL_MANAGER_ERROR ianjuta_symbol_manager_error_quark()
typedef struct { GTypeInterface g_iface; IAnjutaIterable* (*get_class_parents) (IAnjutaSymbolManager *obj, const IAnjutaSymbol *symbol, IAnjutaSymbolField info_fields, GError **err); IAnjutaIterable* (*get_members) (IAnjutaSymbolManager *obj, const IAnjutaSymbol *symbol, IAnjutaSymbolField info_fields, gboolean global_search, GError **err); IAnjutaIterable* (*get_parent_scope) (IAnjutaSymbolManager *obj, const IAnjutaSymbol *symbol, const gchar *filename, IAnjutaSymbolField info_fields, GError **err); IAnjutaIterable* (*get_scope) (IAnjutaSymbolManager *obj, const gchar* filename, gulong line, IAnjutaSymbolField info_fields, GError **err); IAnjutaSymbol* (*get_symbol_by_id) (IAnjutaSymbolManager *obj, gint symbol_id, IAnjutaSymbolField info_fields, GError **err); IAnjutaIterable* (*get_symbol_more_info) (IAnjutaSymbolManager *obj, const IAnjutaSymbol *symbol, IAnjutaSymbolField info_fields, GError **err); IAnjutaIterable* (*search) (IAnjutaSymbolManager *obj, IAnjutaSymbolType match_types, gboolean include_types, IAnjutaSymbolField info_fields, const gchar *match_name, gboolean partial_name_match, gboolean global_symbols_search, gboolean global_tags_search, gint results_limit, gint results_offset, GError **err); } IAnjutaSymbolManagerIface;
IAnjutaIterable* ianjuta_symbol_manager_get_members (IAnjutaSymbolManager *obj, const IAnjutaSymbol *symbol, IAnjutaSymbolField info_fields, gboolean global_search, GError **err);
Database query. The returned IAnjutaIterable
object must be unrefed after use.
|
Self |
|
|
|
Kind of infos you would like to have available on the resulting Symbols. |
|
fixme |
|
Error propagation and reporting. |
Returns : |
IAnjutaIterable* ianjuta_symbol_manager_search (IAnjutaSymbolManager *obj, IAnjutaSymbolType match_types, gboolean include_types, IAnjutaSymbolField info_fields, const gchar *match_name, gboolean partial_name_match, gboolean global_symbols_search, gboolean global_tags_search, gint results_limit, gint results_offset, GError **err);
Database query. The returned IAnjutaIterable
object must be unrefed after use.
|
Self |
|
If passed IANJUTA_TYPE_MAX the function will not perfom any filter. |
|
Should the result contain or exclude the match_types? TRUE to include them, FALSE to exclude. For example use may want all symbols but classes. |
|
Kind of infos you would like to have available on the resulting Symbols. |
|
fixme |
|
if TRUE it will search for match_name %, it FALSE for the exact
string match_name.
|
|
if TRUE it will search only for public/extern functions. If FALSE it will search also for static/private functions. |
|
If TRUE it'll search only for system tags, using pkg-config to retrieve installed packages infos. If FALSE only current project's symbols will be searched. |
|
Limit results to an upper bound. -1 If you don't want to use this par. |
|
Skip results_offset results. -1 If you don't want to use this par.
results_limit Limit results to an upper bound. -1 If you don't want to use this par.
results_offset Skip results_offset results. -1 If you don't want to use this par.
|
|
Error propagation and reporting. |
Returns : |