39#ifndef DISTI_INCLUDED_GLS_RESOURCES_H
40#define DISTI_INCLUDED_GLS_RESOURCES_H
Definition: display_frame.h:86
Definition: gls_resources.h:49
void LevelsUp(int value)
Definition: gls_resources.h:82
unsigned int IncludeCount() const
void PopParentName()
Removes the top entry on the parent name stack.
const char * GetInclude(unsigned int index) const
int _groupLevelsDown
How many levels to recurse through groups, -1 is fully recursive.
Definition: gls_resources.h:52
int LevelsUp()
Definition: gls_resources.h:85
DynamicArray< char * > _excludeList
List of names to exclude from the filter, takes precedence over includes.
Definition: gls_resources.h:53
GlsResourceFilter & operator=(const GlsResourceFilter &rhs)
void ClearParentNames()
Removes all entries on the parent name stack.
void PushParentName(const char *parent)
void ClearExcludes()
Removes all entries from the exclude list.
void RemoveExclude(unsigned int index)
unsigned int ExcludeCount() const
GlsResourceFilter(GlsResourceFilter &source)
static std::string BuildHierarchyName(DisplayObject *obj, GlsResourceFilter *filter)
DynamicArray< char * > _includeList
List of names to include, if empty all names are acceptable.
Definition: gls_resources.h:54
void ClearIncludes()
Removes all entries from the include list.
static std::string BuildHierarchyName(DisplayFrame *frame, GlsResourceFilter *filter)
bool NamesOnly()
Definition: gls_resources.h:113
GlsResourceFilter(GlsResourceFilter *source)
const char * GetExclude(unsigned int index) const
void NamesOnly(bool value)
Definition: gls_resources.h:110
int _levelsUp
Levels of qualification to show in names, -1 is fully qualified.
Definition: gls_resources.h:51
bool _namesOnly
If true, will return names only, and not names and values.
Definition: gls_resources.h:55
DynamicArray< const char * > _parentNameStack
List of parent names, used to append to the name during traversal.
Definition: gls_resources.h:56
void AddInclude(const char *name)
unsigned int ParentNameCount() const
virtual bool PassFilter(const char *name)
const char * GetParentName(unsigned int index) const
void AddExclude(const char *name)
void RemoveInclude(unsigned int index)
void GroupLevelsDown(int value)
Definition: gls_resources.h:101
int GroupLevelsDown()
Definition: gls_resources.h:104
The disti::DisplayFrame class.
#define GLS_EXPORT
Macro denoting which functions should be visible from the runtime library.
Definition: gls_include.h:50
Definition: bmpimage.h:46