41 #ifndef _GLS_RESOURCES_H
42 #define _GLS_RESOURCES_H
63 GLS_EXPORT GlsResourceFilter(GlsResourceFilter* source);
64 GLS_EXPORT GlsResourceFilter(GlsResourceFilter &source);
66 virtual GLS_EXPORT ~GlsResourceFilter();
80 inline void LevelsUp(
int value) { _levelsUp = value; }
104 inline void NamesOnly(
bool value) { _namesOnly = value; }
118 GLS_EXPORT
const char*
GetExclude(
unsigned int index)
const;
143 GLS_EXPORT
const char*
GetInclude(
unsigned int index)
const;
155 static GLS_EXPORT std::string
BuildHierarchyName(DisplayFrame* frame, GlsResourceFilter* filter);
157 static GLS_EXPORT std::string
BuildHierarchyName(DisplayObject* obj, GlsResourceFilter* filter);
160 virtual GLS_EXPORT
bool PassFilter(
const char* name);
173 GLS_EXPORT
const char *
GetParentName(
unsigned int index)
const;
182 GLS_EXPORT GlsResourceFilter&
operator=(
const GlsResourceFilter &rhs );
const char * GetParentName(unsigned int index) const
void ClearExcludes()
Removes all entries from the exclude list.
const char * GetInclude(unsigned int index) const
unsigned int ExcludeCount() const
Returns the number of exclude entries in the filter.
bool NamesOnly()
Definition: gls_resources.h:103
unsigned int ParentNameCount() const
void RemoveInclude(unsigned int index)
GlsResourceFilter & operator=(const GlsResourceFilter &rhs)
assignment operator
void AddInclude(const char *name)
static std::string BuildHierarchyName(DisplayFrame *frame, GlsResourceFilter *filter)
virtual bool PassFilter(const char *name)
Test a resource name against the filter.
unsigned int IncludeCount() const
Returns the number of includes in the filter.
void AddExclude(const char *name)
void ClearIncludes()
Removes all entries from the include list.
int LevelsUp()
Definition: gls_resources.h:79
int GroupLevelsDown()
Definition: gls_resources.h:96
The disti::DisplayFrame class.
void RemoveExclude(unsigned int index)
Definition: gls_resources.h:50
const char * GetExclude(unsigned int index) const
Definition: bmpimage.h:46
void PushParentName(const char *parent)